Template:ItemCard: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 11: Line 11:
{{#if:{{{str|}}}|{{#if:{{{dex|}}}|{{#if:{{{int|}}}|{{#if:{{{spr|}}}|{{#if:{{{con|}}}|{{#if:{{{luk|}}}|{{#if:{{{def|}}}|{{#if:{{{spd|}}}|{{#if:{{{jmp|}}}|{{#if:{{{heal_hp|}}}|{{#if:{{{heal_mp|}}}|<span>'''Effect''':</span> {{{effect}}}}}}}}}}}}}}}}}}}}}}}}}
{{#if:{{{str|}}}|{{#if:{{{dex|}}}|{{#if:{{{int|}}}|{{#if:{{{spr|}}}|{{#if:{{{con|}}}|{{#if:{{{luk|}}}|{{#if:{{{def|}}}|{{#if:{{{spd|}}}|{{#if:{{{jmp|}}}|{{#if:{{{heal_hp|}}}|{{#if:{{{heal_mp|}}}|<span>'''Effect''':</span> {{{effect}}}}}}}}}}}}}}}}}}}}}}}}}


<!-- Stat Tags -->
<!-- Stat Tags  
{{#if:{{{str|}}}|<span style="border-radius: 10px; background: #e28080; padding: 3px; white-space: nowrap;">+{{{str}}} STR</span>}}
{{#if:{{{str|}}}|<span style="border-radius: 10px; background: #e28080; padding: 3px; white-space: nowrap;">+{{{str}}} STR</span>}}
{{#if:{{{dex|}}}|<span style="border-radius: 10px; background: #cecd80; padding: 3px; white-space: nowrap;">+{{{dex}}} DEX</span>}}
{{#if:{{{dex|}}}|<span style="border-radius: 10px; background: #cecd80; padding: 3px; white-space: nowrap;">+{{{dex}}} DEX</span>}}
Line 23: Line 23:
{{#if:{{{heal_hp|}}}|<span style="border-radius: 10px; background: #ff5e5e; padding: 3px; white-space: nowrap;">Heals {{{heal_hp}}} HP</span>}}
{{#if:{{{heal_hp|}}}|<span style="border-radius: 10px; background: #ff5e5e; padding: 3px; white-space: nowrap;">Heals {{{heal_hp}}} HP</span>}}
{{#if:{{{heal_mp|}}}|<span style="border-radius: 10px; background: #3399ff; padding: 3px; color: white; white-space: nowrap;">Recovers {{{heal_mp}}} MP</span>}}
{{#if:{{{heal_mp|}}}|<span style="border-radius: 10px; background: #3399ff; padding: 3px; color: white; white-space: nowrap;">Recovers {{{heal_mp}}} MP</span>}}
-->
{{#if:{{{str|}}}|<span style="border-radius: 10px; background: #e28080; padding: 3px; white-space: nowrap;">+{{{str}}} STR</span>|<span style="display:none;"></span>}}
{{#if:{{{dex|}}}|<span style="border-radius: 10px; background: #cecd80; padding: 3px; white-space: nowrap;">+{{{dex}}} DEX</span>|<span style="display:none;"></span>}}
{{#if:{{{int|}}}|<span style="border-radius: 10px; background: #80d9e2; padding: 3px; white-space: nowrap;">+{{{int}}} INT</span>|<span style="display:none;"></span>}}
{{#if:{{{spr|}}}|<span style="border-radius: 10px; background: #959fdb; padding: 3px; white-space: nowrap;">+{{{spr}}} SPR</span>|<span style="display:none;"></span>}}
{{#if:{{{con|}}}|<span style="border-radius: 10px; background: #db95d1; padding: 3px; white-space: nowrap;">+{{{con}}} CON</span>|<span style="display:none;"></span>}}
{{#if:{{{luk|}}}|<span style="border-radius: 10px; background: #c895db; padding: 3px; white-space: nowrap;">+{{{luk}}} LUK</span>|<span style="display:none;"></span>}}
{{#if:{{{def|}}}|<span style="border-radius: 10px; background: #97a1a3; padding: 3px; color: white; white-space: nowrap;">+{{{def}}} DEF</span>|<span style="display:none;"></span>}}
{{#if:{{{spd|}}}|<span style="border-radius: 10px; background: #555555; padding: 3px; color: white; white-space: nowrap;">+{{{spd}}} SPD</span>|<span style="display:none;"></span>}}
{{#if:{{{jmp|}}}|<span style="border-radius: 10px; background: #555555; padding: 3px; color: white; white-space: nowrap;">+{{{jmp}}} JMP</span>|<span style="display:none;"></span>}}
{{#if:{{{heal_hp|}}}|<span style="border-radius: 10px; background: #ff5e5e; padding: 3px; white-space: nowrap;">Heals {{{heal_hp}}} HP</span>|<span style="display:none;"></span>}}
{{#if:{{{heal_mp|}}}|<span style="border-radius: 10px; background: #3399ff; padding: 3px; color: white; white-space: nowrap;">Recovers {{{heal_mp}}} MP</span>|<span style="display:none;"></span>}}


<!-- Other Attributes -->
<!-- Other Attributes -->
member
1,308

edits