Template:Disambiguation: Difference between revisions
From Space Station 14 Wiki
defaultloadout-wikigg>Karmaworks No edit summary |
depends on {{hatnote}} |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 20: | Line 20: | ||
-->This page is about '''{{#var:topic}}'''. For other uses, see [[{{#var:disambig}}]].<!-- | -->This page is about '''{{#var:topic}}'''. For other uses, see [[{{#var:disambig}}]].<!-- | ||
-->|icon=Disambig.svg<!-- | |||
-->}}<!-- | -->}}<!-- | ||
Line 25: | Line 26: | ||
--></includeonly><!-- | --></includeonly><!-- | ||
--><noinclude>{{doc}}</noinclude> | --><noinclude> | ||
{{doc|bb= | |||
{{depends on template|Hatnote}} | |||
}} | |||
[[Category:Hatnote templates]] | |||
[[Category:Template starter-kit]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Disambiguation Page", | |||
"description": "A custom disambiguation page name.", | |||
"example": "Disambiguation Page", | |||
"type": "wiki-page-name" | |||
}, | |||
"2": { | |||
"label": "Link Label", | |||
"description": "A label for the custom disambiguation page.", | |||
"example": "Alternative Page Name", | |||
"type": "line" | |||
}, | |||
"topic": { | |||
"label": "Custom Topic", | |||
"description": "In case {{PAGENAME}} does not describe the topic, this can be used to display a custom topic", | |||
"example": "a custom topic", | |||
"default": "{{PAGENAME}}", | |||
"type": "line" | |||
} | |||
}, | |||
"description": "This hatnote template is meant to be used at the top of an article to indicate the existence of a disambiguation page.", | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"topic" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 00:33, 20 May 2025
Depends on template
This template depends on template:
Examples
Code | Result |
---|---|
{{Disambiguation}} |
![]() |
{{Disambiguation|Special:Random|topic=Example}} |
![]() |
{{Disambiguation|Special:Random|Page Label|topic=this particular topic}} |
![]() |
This hatnote template is meant to be used at the top of an article to indicate the existence of a disambiguation page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Disambiguation Page | 1 | A custom disambiguation page name.
| Page name | optional |
Link Label | 2 | A label for the custom disambiguation page.
| Line | optional |
Custom Topic | topic | In case {{PAGENAME}} does not describe the topic, this can be used to display a custom topic
| Line | optional |