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: 65%; 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: 65%; 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="65%" align="left"{{!}}{{#var: iv}}
 
{{!}}}
 
{{!}}}
 
}}}}}}
 
}}}}}}
Line 22: Line 22:
 
}}
 
}}
 
{{#if:{{{Suits|}}}{{{Requires|}}}{{{Fits|}}}|
 
{{#if:{{{Suits|}}}{{{Requires|}}}{{{Fits|}}}|
{{!}}style="border-bottom: 2px solid #ababab; width: 40%;"{{!}}{{#if:{{{Defense|}}}|[[Defense]] {{{Defense}}}<br>}}{{#if:{{{Block Strength|}}}|[[Block Strength]] {{{Block Strength}}}<br>}}{{#if:{{{Physical Damage|}}}|[[Physical Damage|Physical Dmg]] {{{Physical Damage}}}<br>}}{{#if:{{{Magic Defense|}}}|[[Magic Defense]] {{{Magic Defense}}}<br>}}{{#if:{{{Block Rate|}}}|[[Block Rate]] {{{Block Rate}}}<br>}}{{#if:{{{Magic Damage|}}}|[[Magic Damage|Magic Dmg]] {{{Magic Damage}}}<br>}}{{#forargs:Bonus| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{#if:{{{Bonus {{#var:ik}} Latent|}}}|[[File:Latent Icon.png|18px|link=Latent]]&nbsp;|}}[[{{AttributeSwitch|{{undospace|{{#var: ik}}}}}}|{{undospace|{{#var: ik}}}}]]&nbsp;<span {{#ifexpr: {{#rpos:{{#var: iv}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#var: iv}} > 0 |style="color:#258940;"|{{#ifexpr: {{#var: iv}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}}>{{#var: iv}}</span>&nbsp;<span style="font-size:70%;">{{#if:{{{Bonus {{#var:ik}} Conditions|}}}|&nbsp;([[{{{Bonus {{#var:ik}} Conditions|}}}]])}}{{#if:{{{Bonus {{#var:ik}} HQ|}}}|&nbsp;{{HQ}} {{{Bonus {{#var:ik}} HQ|}}}}}</span><br>}}}}}}{{#forargs:Eureka| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>[[File:Elemental-EXP_Icon.png|18px|Eureka Effect: Bonus only applicable in Eureka|link=Eureka]]&nbsp;[[{{AttributeSwitch|{{undospace|{{#var: ik}}}}}}|{{undospace|{{#var: ik}}}}]]&nbsp;<span {{#ifexpr: {{#rpos:{{#var: iv}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#var: iv}} > 0 |style="color:#258940;"|{{#ifexpr: {{#var: iv}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}}>{{#var: iv}}</span>&nbsp;<span style="font-size:70%;">{{#if:{{{Eureka {{#var:ik}} Conditions|}}}|&nbsp;([[{{{Eureka {{#var:ik}} Conditions|}}}]])}}{{#if:{{{Eureka {{#var:ik}} HQ|}}}|&nbsp;{{HQ}} {{{Eureka {{#var:ik}} HQ|}}}}}</span><br>}}}}}}{{#forargs:Latent| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>[[File:Latent_Icon.png|18px|Latent Effect: Bonus only applicable when triggered|link=Latent]]&nbsp;[[{{AttributeSwitch|{{undospace|{{#var: ik}}}}}}|{{undospace|{{#var: ik}}}}]]&nbsp;<span {{#ifexpr: {{#rpos:{{#var: iv}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#var: iv}} > 0 |style="color:#258940;"|{{#ifexpr: {{#var: iv}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}}>{{#var: iv}}</span>&nbsp;<span style="font-size:70%;">{{#if:{{{Latent {{#var:ik}} Conditions|}}}|&nbsp;([[{{{Latent {{#var:ik}} Conditions|}}}]])}}{{#if:{{{Latent {{#var:ik}} HQ|}}}|&nbsp;{{HQ}} {{{Latent {{#var:ik}} HQ|}}}}}</span><br>}}}}}}}}
+
{{!}}style="border-bottom: 2px solid #ababab; width: 40%;"{{!}}{{#if:{{{Defense|}}}|[[Defense]] {{{Defense}}}<br>}}{{#if:{{{Block Strength|}}}|[[Block Strength]] {{{Block Strength}}}<br>}}{{#if:{{{Physical Damage|}}}|[[Physical Damage|Physical Dmg]] {{{Physical Damage}}}<br>}}{{#if:{{{Magic Defense|}}}|[[Magic Defense]] {{{Magic Defense}}}<br>}}{{#if:{{{Block Rate|}}}|[[Block Rate]] {{{Block Rate}}}<br>}}{{#if:{{{Magic Damage|}}}|[[Magic Damage|Magic Dmg]] {{{Magic Damage}}}<br>}}{{#forargs:Bonus| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{#if:{{{Bonus {{#var:ik}} Latent|}}}|[[File:Latent Icon.png|18px|link=Latent]]&nbsp;|}}[[{{AttributeSwitch|{{undospace|{{#var: ik}}}}}}|{{undospace|{{#var: ik}}}}]]&nbsp;<span {{#ifexpr: {{#rpos:{{#var: iv}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#var: iv}} > 0 |style="color:#258940;"|{{#ifexpr: {{#var: iv}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}}>{{#var: iv}}</span>&nbsp;<span style="font-size:65%;">{{#if:{{{Bonus {{#var:ik}} Conditions|}}}|&nbsp;([[{{{Bonus {{#var:ik}} Conditions|}}}]])}}{{#if:{{{Bonus {{#var:ik}} HQ|}}}|&nbsp;{{HQ}} {{{Bonus {{#var:ik}} HQ|}}}}}</span><br>}}}}}}{{#forargs:Eureka| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>[[File:Elemental-EXP_Icon.png|18px|Eureka Effect: Bonus only applicable in Eureka|link=Eureka]]&nbsp;[[{{AttributeSwitch|{{undospace|{{#var: ik}}}}}}|{{undospace|{{#var: ik}}}}]]&nbsp;<span {{#ifexpr: {{#rpos:{{#var: iv}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#var: iv}} > 0 |style="color:#258940;"|{{#ifexpr: {{#var: iv}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}}>{{#var: iv}}</span>&nbsp;<span style="font-size:65%;">{{#if:{{{Eureka {{#var:ik}} Conditions|}}}|&nbsp;([[{{{Eureka {{#var:ik}} Conditions|}}}]])}}{{#if:{{{Eureka {{#var:ik}} HQ|}}}|&nbsp;{{HQ}} {{{Eureka {{#var:ik}} HQ|}}}}}</span><br>}}}}}}{{#forargs:Latent| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>[[File:Latent_Icon.png|18px|Latent Effect: Bonus only applicable when triggered|link=Latent]]&nbsp;[[{{AttributeSwitch|{{undospace|{{#var: ik}}}}}}|{{undospace|{{#var: ik}}}}]]&nbsp;<span {{#ifexpr: {{#rpos:{{#var: iv}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#var: iv}} > 0 |style="color:#258940;"|{{#ifexpr: {{#var: iv}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}}>{{#var: iv}}</span>&nbsp;<span style="font-size:65%;">{{#if:{{{Latent {{#var:ik}} Conditions|}}}|&nbsp;([[{{{Latent {{#var:ik}} Conditions|}}}]])}}{{#if:{{{Latent {{#var:ik}} HQ|}}}|&nbsp;{{HQ}} {{{Latent {{#var:ik}} HQ|}}}}}</span><br>}}}}}}}}
 
<noinclude>[[Category:Templates|{{PAGENAME}}]][[Category:DPL Templates]]</noinclude>
 
<noinclude>[[Category:Templates|{{PAGENAME}}]][[Category:DPL Templates]]</noinclude>

Revision as of 20:28, 15 November 2020

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

[[{{{Name}}}]]

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