Template:Distinguish: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Implementing trimer. Tests in the sandbox look good.)
m (68 revisions imported from wikipedia:Template:Distinguish: All of these templates I am importing to this wiki are from Wikipedia.)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
:<div style="font-style:italic">Not to be confused with [[{{{1}}}]]{{#if:{{{3|}}}|, [[{{{2}}}]], or [[{{{3}}}]]|{{#if:{{{2|}}}|<nowiki/> or [[{{{2}}}]]}}}}{{{end|.}}}</div><noinclude>
{{#if:{{{1|}}}
This template is used to distinguish three things with a similar name. Once the title name is included, the template will automatically provide a link to that article. You can also list two subjects at once. If providing a description about the subject in question, use {{t|Distinguish2}} instead.
|{{Hatnote|Not to be confused with [[:{{trim|{{{1}}}}}]]{{

#if: {{{3|}}}{{{4|}}}
The parameter <code>end</code> controls the ending of the sentence (defaults to a period). Example: <code><nowiki>{{distinguish|T.|end=}}</nowiki></code> (removes extra period)
| , [[:{{trim|{{{2}}}}}]], {{

#if: {{{4|}}}
The original template is from the [https://www.mariowiki.com/Template:Distinguish Super Mario Wiki].
| [[:{{trim|{{{3}}}}}]], or [[:{{trim|{{{4}}}}}]]

| or [[:{{trim|{{{4}}}}}]]
[[Category:Notice templates]]</noinclude>
}}
| {{
#if: {{{2|}}}
| &nbsp;or [[:{{trim|{{{2}}}}}]]
}}
}}.
}}
}}<noinclude><!-- splitting these lines causes {{Documentation}} template to terminate green shading when Distinguish is used in /doc pages. -->
{{Documentation}}
<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! -->
</noinclude>

Latest revision as of 14:29, January 21, 2022

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

This template is used to distinguish three things with a similar name. Once the title name is included, the template will automatically provide a link to that article. You can also list two subjects at once. If providing a description about the subject in question, use {{Distinguish2}} instead.

The parameter end controls the ending of the sentence (defaults to a period). Example: {{distinguish|T.|end=}} (removes extra period)

The original template is from the Super Mario Wiki.