Template:Plural: Difference between revisions
From A KoL Wiki
imported>Quietust m backwards |
imported>Quietust mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[{{{1}}}|{{plural:{{{2}}}|{{:{{{1}}}/data|name|UNKNOWN}}|{{#switch:{{:{{{1}}}/data|plural|UNKNOWN}}|?= | <includeonly>[[{{{1}}}|{{plural:{{{2}}}|{{:{{{1}}}/data|name|UNKNOWN}}|{{#switch:{{:{{{1}}}/data|plural|UNKNOWN}}|?={{{1}}}{{!!!}}{{{1}}}/data|(s)|!={{{1}}}(s)|{{#switch:{{:{{{1}}}/data|plural|UNKNOWN}}|{{:{{{1}}}/data|plural|UNKNOWN}}]]}}}}]]</includeonly><noinclude> | ||
{{prot_high-use}} | {{prot_high-use}} | ||
{{Code2}} | {{Code2}} |
Revision as of 03:55, 7 November 2006
[edit]
{{Plural}}
[[{{{1}}}|{{plural:{{{2}}}|{{:{{{1}}}/data|name|UNKNOWN}}|{{#switch:{{:{{{1}}}/data|plural|UNKNOWN}}|?={{{1}}}{{!!!}}{{{1}}}/data|(s)|!={{{1}}}(s)|{{#switch:{{:{{{1}}}/data|plural|UNKNOWN}}|{{:{{{1}}}/data|plural|UNKNOWN}}]]}}}}]]
Usage
- Returns the plural of an Item, as a link to the Item:
- {{plural|ITEMNAME}}
- Example:
{{plural|seal tooth}}
→ [[seal tooth|{{plural:{{{2}}}|Seal tooth/data|Seal tooth/data]]]]