Template:Distinguish/doc

From Space Station 14 Wiki
Revision as of 18:51, 12 April 2024 by defaultloadout-wikigg>Karmaworks

Summary

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
Unknownoptional
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|Page One}}
Not to be confused with Page One.
{{Distinguish|Page One|Page Two}}
Not to be confused with Page One or Page Two.
{{Distinguish|Page One|Page Two|Page Three}}
Not to be confused with Page One, Page Two or Page Three.
{{Distinguish|Page One{{!}}Page 1}}
Not to be confused with Page 1.
{{Distinguish|text = Page 1, another name for [[Page One]]}}
Not to be confused with Page 1, another name for Page One.

Dependencies

This template requires the {{Hatnote}} metatemplate.

Source

Base code adapted from Wikipedia's Distinguish Template.