2,507
edits
m (keep the correct aspect ratio of the skill cards) |
(Add automatic image name generation for relics) |
||
Line 18: | Line 18: | ||
#vardefine: imagename | {{#if: {{{image|}}} | {{{image}}} | | #vardefine: imagename | {{#if: {{{image|}}} | {{{image}}} | | ||
{{#switch: {{#var: cardtype}} | {{#switch: {{#var: cardtype}} | ||
|Item | |Item = Act_{{#var: act}}_Item - {{#var: cardname}}.png | ||
|Skill | |Skill = {{#var: heroclass}} - {{#var: cardname}}.png | ||
|Overlord Card = Overlord Card - {{#var: cardname}}.png | |Overlord Card = Overlord Card - {{#var: cardname}}.png | ||
|#default | |Hero Relic = Hero Relic - {{#var: cardname}}.png | ||
|Overlord Relic = Overlord Relic - {{#var: cardname}}.png | |||
|#default = {{#var: cardname}}.png | |||
}} | }} | ||
}} | }} |