8,756
edits
mNo edit summary |
(supports plural and possessive as a second argument) |
||
Line 1: | Line 1: | ||
<includeonly>{{#var:name|{{PAGENAME}}}}</includeonly><noinclude>[[Category:Shorthand Templates]] | <includeonly>{{#switch:{{{2|_NULL_}}}| plural={{#invoke:HTMLParse| pluralize |html={{#var:name|{{PAGENAME}}}} }} | possessive={{#invoke:HTMLParse| make_possessive |html={{#var:name|{{PAGENAME}}}} }}|{{#var:name|{{PAGENAME}}}} }}</includeonly><noinclude>[[Category:Shorthand Templates]] | ||
For use in conjuction with QBE. After defining a name variable via <code><nowiki>{{#vardefine:name|{{qud text|(name)}}}}</nowiki></code>, call this template to return the colorized name of the item/character.</noinclude> | For use in conjuction with QBE. After defining a name variable via <code><nowiki>{{#vardefine:name|{{qud text|(name)}}}}</nowiki></code>, call this template to return the colorized name of the item/character. | ||
This also takes one argument: | |||
{|class="wikitable" | |||
! plural | |||
| makes plural | |||
|- | |||
! possessive | |||
| makes possessive | |||
|} | |||
</noinclude> |