Template:Disambiguation/doc: Difference between revisions
From Space Station 14 Wiki
defaultloadout-wikigg>Karmaworks No edit summary |
defaultloadout-wikigg>MrBot5 →Source: +Category:Template documentation |
||
Line 49: | Line 49: | ||
Roughly based on [https://en.wikipedia.org/wiki/Template:About Wikipedia's About Template]. | Roughly based on [https://en.wikipedia.org/wiki/Template:About Wikipedia's About Template]. | ||
__NOTOC__ | __NOTOC__ | ||
<noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 23:30, 17 April 2024
Summary
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 |
Examples
Code | Result |
---|---|
{{Disambiguation}} |
![]() |
{{Disambiguation|Disambig Page}} |
![]() |
{{Disambiguation|Disambig Page|Page Label|topic=this particular topic}} |
![]() |
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 About Template.