Template:Disambiguation/doc: Difference between revisions

From Space Station 14 Wiki
defaultloadout-wikigg>Mr Pie 5
Examples: Removed two redlinks. Not sure what to do about the first one yet though.
defaultloadout-wikigg>Mr Pie 5
Line 38: Line 38:
| <code><nowiki>{{Disambiguation}}</nowiki></code> || {{Disambiguation|topic=Example}}
| <code><nowiki>{{Disambiguation}}</nowiki></code> || {{Disambiguation|topic=Example}}
|-
|-
| <code><nowiki>{{Disambiguation|Disambig Page}}</nowiki></code> || {{Disambiguation|Special:Random|topic=Example}}
| <code><nowiki>{{Disambiguation|Special:Random|topic=Example}}</nowiki></code> || {{Disambiguation|Special:Random|topic=Example}}
|-
|-
| <code><nowiki>{{Disambiguation|Disambig Page|Page Label|topic=this particular topic}}</nowiki></code> || {{Disambiguation|Special:Random|Page Label|topic=this particular topic}}
| <code><nowiki>{{Disambiguation|Special:Random|Page Label|topic=this particular topic}}</nowiki></code> || {{Disambiguation|Special:Random|Page Label|topic=this particular topic}}
|}
|}



Revision as of 19:23, 10 May 2024

This hatnote template is meant to be used at the top of an article to indicate the existence of a disambiguation page.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Disambiguation Page1

A custom disambiguation page name.

Example
Disambiguation Page
Page nameoptional
Link Label2

A label for the custom disambiguation page.

Example
Alternative Page Name
Lineoptional
Custom Topictopic

In case {{PAGENAME}} does not describe the topic, this can be used to display a custom topic

Default
{{PAGENAME}}
Example
a custom topic
Lineoptional

Examples

Code Result
{{Disambiguation}}
This page is about Example. For other uses, see Example (disambiguation).
{{Disambiguation|Special:Random|topic=Example}}
This page is about Example. For other uses, see Special:Random.
{{Disambiguation|Special:Random|Page Label|topic=this particular topic}}
This page is about this particular topic. For other uses, see Page Label.

Dependencies

For this template to work properly, you need the following:

Source

Roughly based on Wikipedia's About Template.