Template:Distinguish/doc: Difference between revisions
From Space Station 14 Wiki
defaultloadout-wikigg>Karmaworks |
defaultloadout-wikigg>Karmaworks No edit summary |
||
Line 49: | Line 49: | ||
| <code><nowiki>{{Distinguish|Page One|Page Two|Page Three}}</nowiki></code> || {{Distinguish|Page One|Page Two|Page Three}} | | <code><nowiki>{{Distinguish|Page One|Page Two|Page Three}}</nowiki></code> || {{Distinguish|Page One|Page Two|Page Three}} | ||
|- | |- | ||
| <code><nowiki>{{Distinguish|Page One{{!}}Page 1}}</nowiki></code> || {{Distinguish|Page One{{!}}Page 1}} | | <code><nowiki>{{Distinguish|Page One{{!}}Page 1}}</nowiki></code> (Custom link label) || {{Distinguish|Page One{{!}}Page 1}} | ||
|- | |- | ||
| <code><nowiki>{{Distinguish|text = Page 1, another name for [[Page One]]}}</nowiki></code> || {{Distinguish|text = Page 1, another name for [[Page One]]}} | | <code><nowiki>{{Distinguish|text = Page 1, another name for [[Page One]]}}</nowiki></code> || {{Distinguish|text = Page 1, another name for [[Page One]]}} |
Revision as of 20:48, 12 April 2024
Summary
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 |
Examples
Code | Result |
---|---|
{{Distinguish|Page One}} |
Not to be confused with Page One.
|
{{Distinguish|Page One|Page Two}} |
|
{{Distinguish|Page One|Page Two|Page Three}} |
|
{{Distinguish|Page One{{!}}Page 1}} (Custom link label) |
Not to be confused with Page 1.
|
{{Distinguish|text = Page 1, another name for [[Page One]]}} |
Not to be confused with Page 1, another name for Page One.
|
Dependencies
This template requires the {{Hatnote}}
metatemplate.
Source
Roughly based on Wikipedia's Distinguish Template.