From the RuneScape Wiki, the wiki for all things RuneScape
Jump to navigation Jump to search


Template documentation
This documentation is transcluded from Template:Parentitle/doc. [edit] [history] [purge]

This template is used to determine if the no-parenthesis-style class is to be added to a page, in order to suppress the styling applied to parentheses in article titles. See Forum:Two visual changes for more information.


{{parentitle|parameter to check}}

The template checks the parameter against the pagename. If they are the same, or if the parameter is empty, the class is added, otherwise nothing is added.

The most common usage (as implemented in most infoboxes) is

This template should be placed inside of a class attribute and can be combined with other classes, eg:
<span class="{{parentitle|{{{name}}}}}">...</span>
{| class="infobox {{parentitle|{{{name}}}}}" ...

See also