Template:Distinguish: Difference between revisions
From Space Station 14 Wiki
defaultloadout-wikigg>Karmaworks No edit summary |
depends on {{hatnote}} |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 9: | Line 9: | ||
-->|, [[{{{2}}}]] or [[{{{3}}}]]<!-- concat two | -->|, [[{{{2}}}]] or [[{{{3}}}]]<!-- concat two | ||
-->| | -->|<nowiki> </nowiki>or [[{{{2}}}]]<!-- else; concat one | ||
-->}}<!-- end concat if | -->}}<!-- end concat if | ||
Line 28: | Line 28: | ||
--></includeonly><!-- | --></includeonly><!-- | ||
--><noinclude>{{doc}}</noinclude> | --><noinclude> | ||
{{doc|bb= | |||
{{depends on template|Hatnote}} | |||
}} | |||
[[Category:Hatnote templates]] | |||
[[Category:Template starter-kit]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Alternative", | |||
"description": "The alternative page.", | |||
"example": "Alternative Page", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
}, | |||
"2": { | |||
"label": "Second Alternative", | |||
"description": "A second alternative page.", | |||
"example": "Second Alternative Page", | |||
"type": "wiki-page-name" | |||
}, | |||
"3": { | |||
"label": "Third Alternative", | |||
"description": "A third alternative page.", | |||
"example": "Third Alternative Page", | |||
"type": "wiki-page-name" | |||
}, | |||
"text": { | |||
"label": "Alternative Text", | |||
"description": "Instead of using pages, you can provide a full alternative text. This parameter overrides other provided parameters.", | |||
"example": "the alternative page, [[Alternative Page]]", | |||
"type": "line" | |||
} | |||
}, | |||
"description": "This hatnote template is meant to be used to indicate possible alternatives to what the reader wants to find.", | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"3", | |||
"text" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 00:33, 20 May 2025
Depends on template
This template depends on template:
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.
|
This hatnote template is meant to be used to indicate possible alternatives to what the reader wants to find.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Alternative | 1 | The alternative page.
| Page name | suggested |
Second Alternative | 2 | A second alternative page.
| Page name | optional |
Third Alternative | 3 | A third alternative page.
| Page name | optional |
Alternative Text | text | Instead of using pages, you can provide a full alternative text. This parameter overrides other provided parameters.
| Line | optional |