Template:Disambiguation/doc: Difference between revisions

From Space Station 14 Wiki
defaultloadout-wikigg>Karmaworks
No edit summary
defaultloadout-wikigg>Karmaworks
No edit summary
Line 19: Line 19:
"description": "In case {{PAGENAME}} does not describe the topic, this can be used to display a custom topic",
"description": "In case {{PAGENAME}} does not describe the topic, this can be used to display a custom topic",
"example": "a custom topic",
"example": "a custom topic",
"default": "{{PAGENAME}}"
"default": "{{PAGENAME}}",
"type": "line"
}
}
},
},

Revision as of 17:58, 12 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.

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
{{About}} Template:About
{{About|Disambig Page}} Template:About
{{About|Disambig Page|Page Label|topic=this particular topic}} Template:About

Dependencies

This template requires the {{Hatnote}} metatemplate.

Source

Base code adapted from Wikipedia's About Template.