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

Line 10: Line 10:
 
{{!}}{{#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="color:#ffffff;" width="20%"{{!}}{{#if:{{{Consumable {{#var:ik}} Cap|}}}|&nbsp;(Cap: {{{Consumable {{#var:ik}} Cap|}}})|}}
 
{{!}}style="color:#ffffff;" width="20%"{{!}}{{#if:{{{Consumable {{#var:ik}} Cap|}}}|&nbsp;(Cap: {{{Consumable {{#var:ik}} Cap|}}})|}}
{{!}}style="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: 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|}}}|}}}}
 
{{!}}}
 
{{!}}}
 
}}}}}}{{#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/>

Revision as of 20:21, 15 November 2020

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

[[{{{Name}}}]]

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