Difference between revisions of "Template:Transient extended infobox"

Jump to navigation Jump to search
Added property for skins
(Added property for skins)
Line 444: Line 444:
{{#vardefine:weight|{{#var:transient weight|{{{weight|}}}}}}}
{{#vardefine:weight|{{#var:transient weight|{{{weight|}}}}}}}
{{#vardefine:summon date|{{#var:transient summon date|{{{summon date|}}}}}}}
{{#vardefine:summon date|{{#var:transient summon date|{{{summon date|}}}}}}}
{{#arraydefine:skin list|{{{cdn skin artwork|}}}|;}}
}}<!--create vars end-->{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | <!--
}}<!--create vars end-->{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | <!--


Line 459: Line 460:
| Has Japanese-English title = {{{jp-en title|}}}
| Has Japanese-English title = {{{jp-en title|}}}
| Has filename = {{{filename|}}}
| Has filename = {{{filename|}}}
| Has skins = {{#arrayprint:skin list|;|@@@@|{{#ifeq:{{#explode:@@@@|:|0}}|utage-name||@@@@}}}}|+sep=;
| Has artwork = {{#ifexist:File:{{{artwork|}}}.png|File:{{{artwork}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|}}}}
| Has artwork = {{#ifexist:File:{{{artwork|}}}.png|File:{{{artwork}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|}}}}
| Has icon = {{#ifexist:File:{{{icon|}}}.png|File:{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|File:Unknown icon.png}}}}
| Has icon = {{#ifexist:File:{{{icon|}}}.png|File:{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|File:Unknown icon.png}}}}
trusted
5,922

edits

Navigation menu