63
editsAd placeholder
Template:Class/Format: Difference between revisions
Jump to navigation
Jump to search
this forces the extra space to appear only when a :note is used, so parselist can finally stop , rendering , like , this
HiddenDragon (talk | contribs) m (Remove class template usage) |
(this forces the extra space to appear only when a :note is used, so parselist can finally stop , rendering , like , this) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#lvardef: class | {{#explode: {{{1}}}|:|0}}}}{{#lvardef: note | {{#explode: {{{1}}}|:|1|2}}}}[[{{#lvar: class}}]] {{#if: {{#lvar:note}} | ({{#lvar: note}}) |}}</onlyinclude></includeonly><noinclude> | <includeonly><onlyinclude>{{#lvardef: class | {{#explode: {{{1}}}|:|0}}}}{{#lvardef: note | {{#explode: {{{1}}}|:|1|2}}}}[[{{#lvar: class}}]]{{#if: {{#lvar:note}} | <nowiki> </nowiki>({{#lvar: note}}) |}}</onlyinclude></includeonly><noinclude> | ||
Displays the class as [[Template:Class]] but with a note in parenthesis if specified by using a colon ':'. Intended to be used with cargo queries. | Displays the class as [[Template:Class]] but with a note in parenthesis if specified by using a colon ':'. Intended to be used with cargo queries. | ||