Difference between revisions of "Template:distinguish"
(added second option) |
(nowrap links) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <onlyinclude>''Not to be confused with [[{{{1}}}]]{{#if:{{{2|}}}| or {{{2}}}|}}.''</onlyinclude> | + | <onlyinclude>''Not to be confused with {{nowrap|[[{{{1}}}]]}}{{#if:{{{2|}}}| or {{nowrap|[[{{{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 | + | 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}} |
Latest revision as of 15:17, 22 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.