Template:Plain name: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#switch:{{{1|_NULL_}}}| plural={{#invoke:HTMLParse| pluralize |html={{#var:plainname|{{PAGENAME}}}} }} | possessive={{#invoke:HTMLParse| make_possessive |html={...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1|_NULL_}}}| plural={{#invoke:HTMLParse| pluralize |html={{#var:plainname|{{PAGENAME}}}} }} | possessive={{#invoke:HTMLParse| make_possessive |html={{#var:plainname|{{PAGENAME}}}} }}|{{#var:plainname|{{PAGENAME}}}} }}</includeonly><noinclude>[[Category:Shorthand Templates]]
<includeonly>{{#switch:{{{1|_NULL_}}}| plural={{#invoke:HTMLParse| pluralize |html={{#var:plainname|{{#titleparts:{{ROOTPAGENAME}}}}}} }} | possessive={{#invoke:HTMLParse| make_possessive |html={{#var:plainname|{{#titleparts:{{ROOTPAGENAME}}}}}} }}|{{#var:plainname|{{#titleparts:{{ROOTPAGENAME}}}}}} }}</includeonly><noinclude>[[Category:Shorthand Templates]]
For use in conjuction with QBE. After defining a name variable, call this template to return the plain name of the item/character.
For use in conjuction with QBE. After defining a name variable, call this template to return the plain name of the item/character.



Latest revision as of 23:59, 11 April 2021

For use in conjuction with QBE. After defining a name variable, call this template to return the plain name of the item/character.

This also takes one argument:

plural makes plural
possessive makes possessive