Difference between revisions of "Template:distinguish"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(added usage note)
(improved template and documentation)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
''Not to be confused with [[{{{1}}}]].''
+
<onlyinclude>''Not to be confused with [[{{{1}}}]]{{#if:{{{2|}}}|&#32;or [[{{{2}}}]]|}}.''</onlyinclude>
  
<noinclude>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:
  
{{distinguish|Template:disambig}}</noinclude>
+
<code><nowiki>{{distinguish|Template:disambig}}</nowiki></code>
 +
 
 +
{{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.