Template:Trimd: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
New page: This template trims any text in brackets from the end of the input text. It's used mainly for displaying a page title without disambiguation information. Eg: <code><nowiki>{{trimd | Train...
 
m 1 revision imported
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
If no parameter is given then the title of the current page is used instead.
If no parameter is given then the title of the current page is used instead.


<onlyinclude><includeonly>{{#sub: {{#explode: {{{1| {{PAGENAME}} }}} }} }}<includeonly></onlyinclude>
<onlyinclude><includeonly>{{#sub: {{#explode: {{{1| {{PAGENAME}} }}} | ( }} }}<includeonly></onlyinclude>

Latest revision as of 17:57, 6 November 2020

This template trims any text in brackets from the end of the input text. It's used mainly for displaying a page title without disambiguation information.

Eg: {{trimd | Training (Hunter Skill) }} produces: Training

If no parameter is given then the title of the current page is used instead.