Template:Disambiguation/doc

From Welcome to Elderfield Wiki
Jump to navigation Jump to search
{ "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" }

Examples

Code Result
{{Disambiguation|Farmer|topic=Farmer}}
Disambig.svg (image not recovered) This page is about Farmer. For other uses, see Farmer.
{{Disambiguation|Special:Random|topic=Example}}
Disambig.svg (image not recovered) This page is about Example. For other uses, see Special:Random.
{{Disambiguation|Special:Random|Page Label|topic=this particular topic}}
Disambig.svg (image not recovered) 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.