Template:Name: Difference between revisions

Jump to navigation Jump to search
No change in size ,  15:01, 19 September 2019
m
no edit summary
(supports plural and possessive as a second argument)
mNo edit summary
Line 1: Line 1:
<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]]
<includeonly>{{#switch:{{{1|_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.
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.


Navigation menu