Difference between revisions of "Template:distinguish"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m
Line 16: Line 16:
  
 
{{distinguish|518: Flow Charts|1488: Flowcharts}}
 
{{distinguish|518: Flow Charts|1488: Flowcharts}}
 +
 +
----
 +
 +
To change the display text of the pages given, add <code><nowiki>{{!}}</nowiki></code> between the display text and the page title, as simply adding <code>|</code> would parse the display text as another page.
 +
 +
<nowiki>{{distinguish|1195: Flowchart|a flowchart}} <!-- BAD --></nowiki>
 +
 +
{{distinguish|1195: Flowchart|a flowchart}}
 +
 +
<nowiki>{{distinguish|1195: Flowchart{{!}}a flowchart}} <!-- GOOD --></nowiki>
 +
 +
{{distinguish|1195: Flowchart{{!}}a flowchart}}
  
 
----
 
----

Revision as of 23:43, 14 February 2025

Not to be confused with [[{{{1}}}]].

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

You can specify a common parameter to add the comic to the comics sharing name category with the value of the parameter given included after a bar. If common is defined to a blank value (by doing |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.