Template:Trimd: Difference between revisions
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... |
ROWiki>Onteron mNo edit summary |
||
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> |
Revision as of 16:29, 26 November 2008
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.