Difference between revisions of "Template:distinguish"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Line 30: Line 30:
 
----
 
----
  
You can specify a '''<code>common</code>''' parameter to add the comic to [[:Category:Comics sharing name]] with the value of the parameter given included after a bar. If '''<code>common</code>''' is defined to a blank value (by using '''<code>|common=</code>'''), the bar and the parameter will be omitted from the link. If '''<code>common</code>''' is not specified, the comic is not added to the category.
+
You can specify a '''<code>common</code>''' parameter to add the comic to [[:Category:Comics sharing name]] with the value of the parameter given included after a bar. If '''<code>common</code>''' is defined to a blank value (by using '''<code>|common=</code>'''), the bar and the parameter will be omitted from the link. If '''<code>common</code>''' is not specified, the comic is not added to the category:
[[Category:Templates]]</noinclude>
+
 
 +
<nowiki>{{distinguish|518: Flow Charts|common=Flowcharts}}</nowiki>[[Category:Templates]]

Revision as of 15:41, 29 July 2025

Use this template to distinguish two similarly-named pages, usually comics.

Place {{distinguish|PAGENAME}} at the top of a page. For example:

{{distinguish|518: Flow Charts}}
Not to be confused with 518: Flow Charts.

You can also specify up to 4 more parameters to link to multiple other pages:

{{distinguish|518: Flow Charts|1488: Flowcharts}}
Not to be confused with 518: Flow Charts or 1488: Flowcharts.

To change the display text of the pages given, add {{!}} between the display text and the page title, as simply adding | would parse the display text as another page.

{{distinguish|1195: Flowchart{{!}}a flowchart}} <!-- GOOD -->
Not to be confused with a flowchart.
{{distinguish|1195: Flowchart|a flowchart}} <!-- BAD -->
Not to be confused with 1195: Flowchart or a flowchart.

You can specify a common parameter to add the comic to Category:Comics sharing name with the value of the parameter given included after a bar. If common is defined to a blank value (by using |common=), the bar and the parameter will be omitted from the link. If common is not specified, the comic is not added to the category:

{{distinguish|518: Flow Charts|common=Flowcharts}}