2,507
edits
(Add automatic image name generation for relics) |
(Add support for automatic name generation for starting gear) |
||
Line 18: | Line 18: | ||
#vardefine: imagename | {{#if: {{{image|}}} | {{{image}}} | | #vardefine: imagename | {{#if: {{{image|}}} | {{{image}}} | | ||
{{#switch: {{#var: cardtype}} | {{#switch: {{#var: cardtype}} | ||
|Item = Act_{{#var: act}}_Item - {{#var: cardname}}.png | |Item = {{#if: {{#var: heroclass}} | {{#var: heroclass}} - {{#var: cardname}}.png | Act_{{#var: act}}_Item - {{#var: cardname}}.png}} | ||
|Skill = {{#var: heroclass}} - {{#var: cardname}}.png | |Skill = {{#var: heroclass}} - {{#var: cardname}}.png | ||
|Overlord Card = Overlord Card - {{#var: cardname}}.png | |Overlord Card = Overlord Card - {{#var: cardname}}.png |