Template:Distinguish: Difference between revisions

From Sword of Moonlight Wiki
Jump to navigation Jump to search
dlw>Mr Pie 5
No edit summary
 
m 1 revision imported
 
(No difference)

Latest revision as of 18:53, 12 September 2024

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Distinguish/doc to edit this documentation. (How does this work?)

This hatnote template is meant to be used to indicate possible alternatives to what the reader wants to find.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Alternative1

The alternative page.

Example
Alternative Page
Page namesuggested
Second Alternative2

A second alternative page.

Example
Second Alternative Page
Page nameoptional
Third Alternative3

A third alternative page.

Example
Third Alternative Page
Page nameoptional
Alternative Texttext

Instead of using pages, you can provide a full alternative text. This parameter overrides other provided parameters.

Example
the alternative page, [[Alternative Page]]
Lineoptional

Examples

Code Result
{{Distinguish|Special:Uncategorizedpages}}
Not to be confused with Special:Uncategorizedpages.
{{Distinguish|Special:Uncategorizedpages|Special:Uncategorizedfiles}}
{{Distinguish|Special:Uncategorizedpages|Special:Uncategorizedfiles|Special:Uncategorizedcategories}}
{{Distinguish|Special:Uncategorizedpages{{!}}Page 1}} (Custom link label)
Not to be confused with Page 1.
{{Distinguish|text = Page 1, another name for [[Special:Uncategorizedpages]]}}
Not to be confused with 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.