Ad placeholder

Template:Weapon action page: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Updated for image/icon support)
No edit summary
Line 2: Line 2:
#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
}}{{
}}{{
#lvardef: image | {{{image | {{#lvar:name}}.webp }}}
#lvardef: image | {{{image | {{#replace:{{#replace:{{#replace:{{#replace:{{#lvar:name}}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}}.webp }}}
}}{{
}}{{
#lvardef: icon | {{{icon | {{#lvar:name}} Icon.webp }}}
#lvardef: icon | {{{icon | {{#replace:{{#replace:{{#replace:{{#replace:{{#lvar:name}}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}} Icon.webp }}}
}}{{#switch: {{{this is an example|}}}
}}{{#switch: {{{this is an example|}}}
| yes =
| yes =

Navigation menu