Difference between revisions of "Template:Distinguish"

From GodWiki
Jump to: navigation, search
(Creating a distinguish template for convenience (from Wikipedia:Template:Distinguish))
 
m (Adding cross-reference templates category.)
 
Line 1: Line 1:
<includeonly><div style="font-style:italic;padding-left:1.6em;margin-bottom:0.5em;" role="note">Not to be confused with {{#if:{{{text|}}}|{{{text|}}}|{{#if:{{{3|}}}|[[{{{1|}}}]], [[{{{2|}}}]], or [[{{{3|}}}]]|{{#if:{{{2|}}}|[[{{{1|}}}]] or [[{{{2|}}}]]|{{#if:{{{1|}}}|[[{{{1|}}}]]}}}}}}}}.</div></includeonly><noinclude>{{doc}}[[Category:Hatnote templates]][[Category:Templates]]</noinclude>
+
<includeonly><div style="font-style:italic;padding-left:1.6em;margin-bottom:0.5em;" role="note">Not to be confused with {{#if:{{{text|}}}|{{{text|}}}|{{#if:{{{3|}}}|[[{{{1|}}}]], [[{{{2|}}}]], or [[{{{3|}}}]]|{{#if:{{{2|}}}|[[{{{1|}}}]] or [[{{{2|}}}]]|{{#if:{{{1|}}}|[[{{{1|}}}]]}}}}}}}}.</div></includeonly><noinclude>{{doc}}[[Category:Hatnote templates]][[Category:Cross-reference templates]][[Category:Templates]]</noinclude>

Latest revision as of 12:32, 16 November 2019

[view] [edit] [history] [refresh]
📚 Documentation

This template renders a hatnote indended to inform the reader, of the article invoking it, or the existence of one or more articles whose title(s) bear(s) a strong resemblance to the reader's (then-)current article; it is used in the cases where the distinction between the titles is so obvious that the reader needs no further explanation.

This template is based on the template found here.

Parameters

You can either call this template with up to three unnamed parameters such as:

{{Distinguish|Foo|Bar|Gaz}}

Not to be confused with Foo, Bar, or Gaz.

or you may use the text parameter to use custom text:

|text = custom text, and foo, a common example term

Not to be confused with custom text, and foo, a common example term.