Difference between revisions of "Template:Distinguish"
Jump to navigation
Jump to search
Template documentation
Wikpedia>Plastikspork (Wikipedia:Templates for discussion/Log/2018 February 19#Template:Distinguish2 closed as merge (XFDcloser)) |
Joelmartin (talk | contribs) m (Text replacement - "<languages/>" to "") |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#invoke:Distinguish| | + | <noinclude> |
− | {{Documentation}} | + | |
− | + | </noinclude>{{#switch: | |
+ | | = | ||
+ | {{Hatnote|1= Not to be confused with [[:{{{1}}}]]{{ | ||
+ | #if: {{{3|}}}{{{4|}}} | ||
+ | |{{int|comma-separator}}[[:{{{2}}}]]{{int|comma-separator}} {{ | ||
+ | #if: {{{4|}}} | ||
+ | | [[:{{{3}}}]]{{int|comma-separator}} or{{int|word-separator}}[[:{{{4}}}]] | ||
+ | | or{{int|word-separator}}[[:{{{3}}}]] | ||
+ | }} | ||
+ | | {{ | ||
+ | #if: {{{2|}}} | ||
+ | | or{{int|word-separator}}[[:{{{2}}}]] | ||
+ | }} | ||
+ | }}.}} | ||
+ | | #default= | ||
+ | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Distinguish|noshift=1}} | ||
+ | }}<noinclude><!-- splitting these lines causes {{Documentation}} template to terminate green shading when Distinguish is used in /doc pages. --> | ||
+ | {{Documentation|content= | ||
+ | |||
+ | |||
+ | == Examples == | ||
+ | |||
+ | * {{tlx|Distinguish|article1}} | ||
+ | {{Distinguish|article1}} | ||
+ | * {{tlx|Distinguish|article1|article2}} | ||
+ | {{Distinguish|article1|article2}} | ||
+ | * {{tlx|Distinguish|article1|article2|article3}} | ||
+ | {{Distinguish|article1|article2|article3}} | ||
+ | * {{tlx|Distinguish|article1|article2|article3|article4}} | ||
+ | {{Distinguish|article1|article2|article3|article4}} | ||
+ | |||
+ | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 20:45, 21 December 2019
Not to be confused with [[:{{{1}}}]].

Examples
{{Distinguish|article1}}
Not to be confused with article1.
{{Distinguish|article1|article2}}
{{Distinguish|article1|article2|article3}}
{{Distinguish|article1|article2|article3|article4}}