Difference between revisions of "Template:distinguish"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(added second option)
(improved template and documentation)
Line 1: Line 1:
<onlyinclude>''Not to be confused with [[{{{1}}}]]{{#if:{{{2|}}}| or {{{2}}}|}}.''</onlyinclude>
+
<onlyinclude>''Not to be confused with [[{{{1}}}]]{{#if:{{{2|}}}|&#32;or [[{{{2}}}]]|}}.''</onlyinclude>
  
 
To use this template to distinguish two similarly-named pages, place <code><nowiki>{{distinguish|page}}</nowiki></code> at the top of a page.
 
To use this template to distinguish two similarly-named pages, place <code><nowiki>{{distinguish|page}}</nowiki></code> at the top of a page.
  
For example, <code><nowiki>{{distinguish|Template:disambig))</nowiki></code> creates
+
For example:
 +
 
 +
<code><nowiki>{{distinguish|Template:disambig}}</nowiki></code>
  
 
{{distinguish|Template:disambig}}
 
{{distinguish|Template:disambig}}
 +
 +
You can also use two parameters to link to two other pages:
 +
 +
<code><nowiki>{{distinguish|Template:disambig|Template:diff}}</nowiki></code>
 +
 +
{{distinguish|Template:disambig|Template:diff}}

Revision as of 23:23, 20 May 2024

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

To use this template to distinguish two similarly-named pages, place {{distinguish|page}} at the top of a page.

For example:

{{distinguish|Template:disambig}}

Not to be confused with Template:disambig.

You can also use two parameters to link to two other pages:

{{distinguish|Template:disambig|Template:diff}}

Not to be confused with Template:disambig or Template:diff.