Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.
Template:Distinguish: Difference between revisions
From Super Fantasy Kingdom Official Wiki
wgg>Cadaei removed unintended linking to page itself |
m 4 revisions imported |
||
| (One intermediate revision by one other user not shown) | |||
| 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 | |||
-->|<nowiki> </nowiki>or [[{{{2}}}]]<!-- else; concat one | |||
}} | |||
-->}}<!-- end concat if | |||
{{ | -->|[[{{{1}}}]]<!-- else; one page only | ||
-->}}<!-- end custom disambig if | |||
-->}}<!-- end if | |||
-->}}<!-- end vd | |||
-->{{Hatnote|<!-- | |||
-->Not to be confused with {{#var:text}}.<!-- | |||
-->}}<!-- | |||
--></includeonly><!-- | |||
--><noinclude>{{doc}}[[Category:Hatnote templates]]</noinclude> | |||
Latest revision as of 23:46, 21 October 2025
Examples
| Code | Result |
|---|---|
{{Distinguish|Special:Uncategorizedpages}} |
Not to be confused with Special:Uncategorizedpages.
|
{{Distinguish|Special:Uncategorizedpages|Special:Uncategorizedfiles}} |
Not to be confused with Special:Uncategorizedpages or 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.
|
Dependencies
For this template to work properly, you need the following:
- The
{{Hatnote}}base template. - The
.hatnoteclass, found in MediaWiki:Common.css.
Source
Roughly based on Wikipedia's Distinguish Template.


