Difference between revisions of "Template:ARR Infobox Item statsdpl4test"

Line 9: Line 9:
 
{{!}}style="color:#ffffff;" width="30%"{{!}}[[{{undospace|{{#var: ik}}}}]][[Category:{{undospace|{{#var: ik}}}} Consumable]]{{#ifeq:{{#explode:{{#var: ik}}|_|1}}|Resistance|[[Category:Resistance Consumable]]|}}{{#ifeq:{{#explode:{{#var: ik}}|_|0}}|Cures|[[Category:Cures Consumable]]|}}{{#ifeq:{{#explode:{{#var: ik}}|_|2}}|Effect)|[[Category:Status Effect Consumable]]|}}
 
{{!}}style="color:#ffffff;" width="30%"{{!}}[[{{undospace|{{#var: ik}}}}]][[Category:{{undospace|{{#var: ik}}}} Consumable]]{{#ifeq:{{#explode:{{#var: ik}}|_|1}}|Resistance|[[Category:Resistance Consumable]]|}}{{#ifeq:{{#explode:{{#var: ik}}|_|0}}|Cures|[[Category:Cures Consumable]]|}}{{#ifeq:{{#explode:{{#var: ik}}|_|2}}|Effect)|[[Category:Status Effect Consumable]]|}}
 
{{!}}{{#ifexpr: {{#rpos:{{#replace:{{#var: iv}}|%|}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#replace:{{#var: iv}}|%|}} > 0 |style="color:#3EE66B;"|{{#ifexpr: {{#replace:{{#var: iv}}|%|}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}} width="10%"{{!}}{{#var: iv}}
 
{{!}}{{#ifexpr: {{#rpos:{{#replace:{{#var: iv}}|%|}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#replace:{{#var: iv}}|%|}} > 0 |style="color:#3EE66B;"|{{#ifexpr: {{#replace:{{#var: iv}}|%|}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}} width="10%"{{!}}{{#var: iv}}
{{!}}style="font-size: 70%; color:#ffffff;" width="20%"{{!}}{{#if:{{{Consumable {{#var:ik}} Cap|}}}|&nbsp;(Cap: {{{Consumable {{#var:ik}} Cap|}}})|}}
+
{{!}}style="font-size: 80%; color:#ffffff;" width="20%"{{!}}{{#if:{{{Consumable {{#var:ik}} Cap|}}}|&nbsp;(Cap: {{{Consumable {{#var:ik}} Cap|}}})|}}
{{!}}style="font-size: 70%; color:#ffffff;" width="45%"{{!}}{{#if:{{{Consumable {{#var:ik}} HQ|}}}|&nbsp;{{HQ}}{{{Consumable {{#var:ik}} HQ|}}}{{#if:{{{Consumable {{#var:ik}} Cap HQ|}}}|&nbsp;/ Cap: {{{Consumable {{#var:ik}} Cap HQ|}}}|}}}}
+
{{!}}style="font-size: 80%; color:#ffffff;" width="45%"{{!}}{{#if:{{{Consumable {{#var:ik}} HQ|}}}|&nbsp;{{HQ}}{{{Consumable {{#var:ik}} HQ|}}}{{#if:{{{Consumable {{#var:ik}} Cap HQ|}}}|&nbsp;/ Cap: {{{Consumable {{#var:ik}} Cap HQ|}}}|}}}}
 
{{!}}}
 
{{!}}}
 
}}}}}}{{#forargs:Airship| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>
 
}}}}}}{{#forargs:Airship| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>
Line 16: Line 16:
 
{{!}}-
 
{{!}}-
 
{{!}}style="color:#ffffff;" width="30%"{{!}}{{undospace|{{#var: ik}}}}
 
{{!}}style="color:#ffffff;" width="30%"{{!}}{{undospace|{{#var: ik}}}}
{{!}}{{#ifexpr: {{#rpos:{{#var: iv}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#var: iv}} > 0 |style="color:#3EE66B;"|{{#ifexpr: {{#var: iv}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}} width="70%" align="left"{{!}}{{#var: iv}}
+
{{!}}{{#ifexpr: {{#rpos:{{#var: iv}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#var: iv}} > 0 |style="color:#3EE66B;"|{{#ifexpr: {{#var: iv}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}} width="80%" align="left"{{!}}{{#var: iv}}
 
{{!}}}
 
{{!}}}
 
}}}}}}
 
}}}}}}

Revision as of 20:25, 15 November 2020

style="border-bottom: 2px solid #ababab;"| 

[[{{{Name}}}]]

|colspan="2" style="border-bottom: 2px solid #ababab; width: 20%;"|