Template:Distinguish/doc

From Welcome to Elderfield Wiki
Jump to navigation Jump to search
{ "params": { "1": { "label": "Alternative", "description": "The alternative page.", "example": "Alternative Page", "type": "wiki-page-name", "suggested": true }, "2": { "label": "Second Alternative", "description": "A second alternative page.", "example": "Second Alternative Page", "type": "wiki-page-name" }, "3": { "label": "Third Alternative", "description": "A third alternative page.", "example": "Third Alternative Page", "type": "wiki-page-name" }, "text": { "label": "Alternative Text", "description": "Instead of using pages, you can provide a full alternative text. This parameter overrides other provided parameters.", "example": "the alternative page, Alternative Page", "type": "line" } }, "description": "This hatnote template is meant to be used to indicate possible alternatives to what the reader wants to find.", "paramOrder": [ "1", "2", "3", "text" ], "format": "inline" }

Examples

Code Result
{{Distinguish|Special:Uncategorizedpages}}
Not to be confused with Special:Uncategorizedpages, [[]] or [[]].
{{Distinguish|Special:Uncategorizedpages|Special:Uncategorizedfiles}}
Not to be confused with Special:Uncategorizedpages, Special:Uncategorizedfiles or [[]].
{{Distinguish|Special:Uncategorizedpages|Special:Uncategorizedfiles|Special:Uncategorizedcategories}}
{{Distinguish|Special:Uncategorizedpages{{!}}Page 1}} (Custom link label)
Not to be confused with Page 1, [[]] or [[]].
{{Distinguish|text = Page 1, another name for Special:Uncategorizedpages}} }}
Not to be confused with {{#if:Page 1, another name for Special:Uncategorizedpages.

Dependencies

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

Source

Roughly based on Wikipedia's Distinguish Template.