Template:Plural: Difference between revisions

From A KoL Wiki
imported>Quietust
mNo edit summary
imported>Quietust
m missed a }}
Line 1: Line 1:
<includeonly>[[{{{1}}}|{{plural:{{{2}}}|{{#switch:{{:{{{1}}}/data|plural|UNKNOWN}}|?=[[{{{1}}}]][[{{{1}}}/data|(s)]]|!=[[{{{1}}}]](s)|[[{{{1}}}|{{:{{{1}}}/data|plural|UNKNOWN}}]]}}|{{:{{{1}}}/data|name|UNKNOWN}}]]</includeonly><noinclude>
<includeonly>[[{{{1}}}|{{plural:{{{2|}}}|{{#switch:{{:{{{1}}}/data|plural|UNKNOWN}}|?=[[{{{1}}}]][[{{{1}}}/data|(s)]]|!=[[{{{1}}}]](s)|[[{{{1}}}|{{:{{{1}}}/data|plural|UNKNOWN}}]]}}|{{:{{{1}}}/data|name|UNKNOWN}}}}]]</includeonly><noinclude>
{{prot_high-use}}
{{prot_high-use}}
{{Code2}}
{{Code2}}

Revision as of 03:54, 7 November 2006

This high-use template has been protected from editing to prevent inaccurate edits and/or vandalism. Please use the talk page to discuss changes, and/or to ask an administrator to make an edit for you.
{{Plural}}
[[{{{1}}}|{{plural:{{{2|}}}|{{#switch:{{:{{{1}}}/data|plural|UNKNOWN}}|?=[[{{{1}}}]][[{{{1}}}/data|(s)]]|!=[[{{{1}}}]](s)|[[{{{1}}}|{{:{{{1}}}/data|plural|UNKNOWN}}]]}}|{{:{{{1}}}/data|name|UNKNOWN}}}}]]

Usage

  • Returns the plural of an Item, as a link to the Item:
    {{plural|ITEMNAME}}
    Example: {{plural|seal tooth}} → [[seal tooth|Seal tooth/data]]