Template:Distinguish: Difference between revisions
From Space Station 14 Wiki
defaultloadout-wikigg>Karmaworks Created page with "<includeonly>{{Hatnote|<!-- -->{{#vardefine:topic|<!-- start vd -->{{#if:{{{topic|}}} | {{{topic}}} | {{PAGENAME}} }}<!-- end if -->}}<!-- end vd -->{{#vardefine:disambig|<!-- start vd -->{{#if:{{{1|}}}<!-- start custom disambig if -->|{{{1}}}<!-- start label if -->{{#if:{{{2|}}} | {{!}}{{{2}}} }}<!-- end label if -->|{{#var:topic}} (disambiguation)<!-- else; use regular disambig -->}}<!-- en..." |
defaultloadout-wikigg>Karmaworks No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><!-- | ||
-->{{#vardefine:text|<!-- start vd | |||
-->{{#if:{{{text|}}} | {{{text}}} |<!-- start top if | |||
-->{{#if:{{{2|}}}<!-- if more than one page | |||
-->|[[{{{1}}}]]{{#if:{{{3|}}}<!-- start concat if | |||
-->|{{ | -->|, [[{{{2}}}]] or [[{{{3}}}]]<!-- concat two | ||
-->| or [[{{{2}}}]]<!-- else; concat one | |||
-->}}<!-- end concat if | |||
-->}}<!-- end custom disambig if | -->|[[{{{1}}}]]<!-- else; one page only | ||
-->}}<!-- end custom disambig if | |||
-->}}<!-- end vd | -->}}<!-- end if | ||
-->}}<!-- end vd | |||
-->{{Hatnote|<!-- | |||
--> | -->Not to be confused with [[{{#var:text}}]].<!-- | ||
-->}}<!-- | -->}}<!-- |
Revision as of 18:26, 12 April 2024
Examples
Code | Result |
---|---|
{{Distinguish|Special:Uncategorizedpages}} |
Not to be confused with [[Special:Uncategorizedpages]].
|
{{Distinguish|Special:Uncategorizedpages|Special:Uncategorizedfiles}} |
Not to be confused with [[Special:Uncategorizedpagesor Special:Uncategorizedfiles]].
|
{{Distinguish|Special:Uncategorizedpages|Special:Uncategorizedfiles|Special:Uncategorizedcategories}} |
Not to be confused with [[Special:Uncategorizedpages, Special:Uncategorizedfiles or Special:Uncategorizedcategories]].
|
{{Distinguish|Special:Uncategorizedpages{{!}}Page 1}} (Custom link label) |
Not to be confused with [[Page 1]].
|
{{Distinguish|text = Page 1, another name for [[Special:Uncategorizedpages]]}} |
Not to be confused with [[Page 1, another name for Special:Uncategorizedpages]].
|