Template:Distinguish: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(fix extra space between first item and "or" when there are two items (why did I stick an nbsp there? =P ))
m (68 revisions imported from wikipedia:Template:Distinguish: All of these templates I am importing to this wiki are from Wikipedia.)
 
(25 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{Hatnote|Not to be confused with [[:{{{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>
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.
#if: {{{3|}}}{{{4|}}}

| , [[:{{{2}}}]], {{
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)
#if: {{{4|}}}

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

}}
[[Category:Notice templates]]</noinclude>
| {{
#if: {{{2|}}}
| or [[:{{{2}}}]]
}}
}}.}}<noinclude><!-- splitting these lines causes {{Documentation}} template to terminate green shading when Distinguish is used in /doc pages. -->
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, 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.