Difference between revisions of "Template:Distinguish"

From PCGamingWiki, the wiki about fixing PC games
m (removed span of doom)
(updated with new Warnings handling)
 
Line 10: Line 10:
 
       |  or [[{{{2}}}]]
 
       |  or [[{{{2}}}]]
 
       }}
 
       }}
     }}.''<br/>{{#if:{{#var:Top warnings}}|{{#vardefine:Top last|Distinguish}}{{#ifeq:{{#var:Top}}|Distinguish|{{Warnings}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
     }}.''<br/>{{#if:{{#var:Top warnings}}|{{#vardefine:Top last|Distinguish}}{{#ifeq:{{#var:Top}}|Distinguish|<p>'''Warnings'''</p>{{#arraymaptemplate:{{#var:Warnings}}|Warnings|,|\n}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 08:26, 21 October 2021

Documentation for the above template (sometimes hidden from view).

Not to be confused with Disambig.

Description

Use {{Distinguish}} to warn about possible confusion with a small number of other, related, titles at the top of the page or article sections. It is used primarily to distinguish between closely related but not identical sections, titles, or similar. The tag supports up to four other pages.

Usage
{{Distinguish|<FIRST RELATED LINK>|<SECOND RELATED LINK>|<THIRD RELATED LINK>|<FOUR RELATED LINK>}}
Example
Taken from RAGE
{{Distinguish|The Rage}}

Not to be confused with The Rage.

Arguments
  • 1= - First link
  • 2= - Second link
  • 3= - Third link
  • 4= - Fourth link