Template:Distinguish/doc: Difference between revisions
From Space Station 14 Wiki
defaultloadout-wikigg>Mr Pie 5 No edit summary |
defaultloadout-wikigg>Mr Pie 5 |
||
Line 43: | Line 43: | ||
! Code !! Result | ! Code !! Result | ||
|- | |- | ||
| <code><nowiki>{{Distinguish| | | <code><nowiki>{{Distinguish|Special:Uncategorizedpages}}</nowiki></code> || {{Distinguish|Special:Uncategorizedpages}} | ||
|- | |- | ||
| <code><nowiki>{{Distinguish| | | <code><nowiki>{{Distinguish|Special:Uncategorizedpages|Special:Uncategorizedfiles}}</nowiki></code> || {{Distinguish|Special:Uncategorizedpages|Special:Uncategorizedfiles}} | ||
|- | |- | ||
| <code><nowiki>{{Distinguish| | | <code><nowiki>{{Distinguish|Special:Uncategorizedpages|Special:Uncategorizedfiles|Special:Uncategorizedcategories}}</nowiki></code> || {{Distinguish|Special:Uncategorizedpages|Special:Uncategorizedfiles|Special:Uncategorizedcategories}} | ||
|- | |- | ||
| <code><nowiki>{{Distinguish| | | <code><nowiki>{{Distinguish|Special:Uncategorizedpages{{!}}Page 1}}</nowiki></code> (Custom link label) || {{Distinguish|Special:Uncategorizedpages{{!}}Page 1}} | ||
|- | |- | ||
| <code><nowiki>{{Distinguish|text = Page 1, another name for [[ | | <code><nowiki>{{Distinguish|text = Page 1, another name for [[Special:Uncategorizedpages]]}}</nowiki></code> || {{Distinguish|text = Page 1, another name for [[Special:Uncategorizedpages]]}} | ||
|} | |} | ||
Revision as of 22:35, 20 April 2024
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|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
.hatnote
class, found in MediaWiki:Common.css.
Source
Roughly based on Wikipedia's Distinguish Template.