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

Line 1: Line 1:
 
<!-- IN USE - SELLS TEMPLATE - DO NOT EDIT -->style="border-bottom: 2px solid #ababab;"{{!}}&nbsp;<div style="height: 1px;"></div>{{Newpatch|size=13px|Patch={{:{{{Name}}}/Patch}}}}[[{{{Name}}}]]<div style="height: 1px;"></div>{{Acquisitionicons|Name={{{Name}}}}}
 
<!-- IN USE - SELLS TEMPLATE - DO NOT EDIT -->style="border-bottom: 2px solid #ababab;"{{!}}&nbsp;<div style="height: 1px;"></div>{{Newpatch|size=13px|Patch={{:{{{Name}}}/Patch}}}}[[{{{Name}}}]]<div style="height: 1px;"></div>{{Acquisitionicons|Name={{{Name}}}}}
{{!}}{{#if:{{{Suits|}}}{{{Requires|}}}{{{Fits|}}}||colspan="2"}} style="border-bottom: 2px solid #ababab; width: 20%;"{{!}}{{#if:{{{Suits|}}}{{{Requires|}}}{{{Fits|}}}{{{Recast|}}}|{{#if:{{{Required Level|}}}|<br>{{nts|{{{Required Level}}}}}}}{{#ifeq:{{{Item Level|}}}|{{{Required Level|}}}||&nbsp;({{nts|{{{Item Level}}}}})}}{{#if:{{{Required Level|}}}|{{Lvlsellsswitch|Required Level={{{Required Level}}}}}}}
+
{{!}}{{#if:{{{Suits|}}}{{{Requires|}}}{{{Fits|}}}{{{Recast|}}}||colspan="2"}} style="border-bottom: 2px solid #ababab; width: 20%;"{{!}}{{#if:{{{Suits|}}}{{{Requires|}}}{{{Fits|}}}{{{Recast|}}}|{{#if:{{{Required Level|}}}|<br>{{nts|{{{Required Level}}}}}}}{{#ifeq:{{{Item Level|}}}|{{{Required Level|}}}||&nbsp;({{nts|{{{Item Level}}}}})}}{{#if:{{{Required Level|}}}|{{Lvlsellsswitch|Required Level={{{Required Level}}}}}}}
{{#if:{{{Suits|}}}|{{#arraydefine:Suits|{{{Suits}}}}}{{#arrayprint:Suits|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}}}{{#if:{{{Requires|}}}|{{#arraydefine:requires|{{{Requires}}}}}{{#arrayslice:requires1|requires|0|3}}{{#arrayslice:requires2|requires|3|3}}{{#arrayslice:requires3|requires|6|3}}{{#arrayslice:requires4|requires|9|3}}{{#arrayslice:requires5|requires|12|3}}{{#arrayslice:requires6|requires|15|3}}{{#arrayslice:requires7|requires|18|3}}{{#arrayslice:requires8|requires|21|3}}{{#arrayprint:requires1|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires2}} >0 |<br>|}}{{#arrayprint:requires2|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires3}} >0 |<br>|}}{{#arrayprint:requires3|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires4}} >0 |<br>|}}{{#arrayprint:requires4|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires5}} >0 |<br>|}}{{#arrayprint:requires5|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires6}} >0 |<br>|}}{{#arrayprint:requires6|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires7}} >0 |<br>|}}{{#arrayprint:requires7|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires8}} >0 |<br>|}}{{#arrayprint:requires8|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}}}{{#if:{{{Fits|}}}|<br>{{#arraydefine:Fits|{{{Fits}}}}}{{#arrayprint:Fits|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}}}{{#if:{{{Gender|}}}|&nbsp;{{#switch:{{{Gender|}}}|male|m|Male|{{male}}= {{ht|Male|[[File:Maleicon.png|15px|link=]]}}|female|f|Female|{{female}}= {{ht|Female|[[File:Femaleicon.png|15px|link=]]}}|#default = }}}}
+
{{#if:{{{Suits|}}}|{{#arraydefine:Suits|{{{Suits}}}}}{{#arrayprint:Suits|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}}}{{#if:{{{Requires|}}}|{{#arraydefine:requires|{{{Requires}}}}}{{#arrayslice:requires1|requires|0|3}}{{#arrayslice:requires2|requires|3|3}}{{#arrayslice:requires3|requires|6|3}}{{#arrayslice:requires4|requires|9|3}}{{#arrayslice:requires5|requires|12|3}}{{#arrayslice:requires6|requires|15|3}}{{#arrayslice:requires7|requires|18|3}}{{#arrayslice:requires8|requires|21|3}}{{#arrayprint:requires1|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires2}} >0 |<br>|}}{{#arrayprint:requires2|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires3}} >0 |<br>|}}{{#arrayprint:requires3|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires4}} >0 |<br>|}}{{#arrayprint:requires4|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires5}} >0 |<br>|}}{{#arrayprint:requires5|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires6}} >0 |<br>|}}{{#arrayprint:requires6|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires7}} >0 |<br>|}}{{#arrayprint:requires7|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}{{#ifexpr: {{#arraysize:requires8}} >0 |<br>|}}{{#arrayprint:requires8|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}}}{{#if:{{{Fits|}}}|<br>{{#arraydefine:Fits|{{{Fits}}}}}{{#arrayprint:Fits|,&nbsp;|@@@@|{{Jobswitch4|@@@@}}|}}}}{{#if:{{{Gender|}}}|&nbsp;{{#switch:{{{Gender|}}}|male|m|Male|{{male}}= {{ht|Male|[[File:Maleicon.png|15px|link=]]}}|female|f|Female|{{female}}= {{ht|Female|[[File:Femaleicon.png|15px|link=]]}}|#default = }}}}|{{{Description|}}}}}
{{#if:{{{Recast|}}}|{{#switch:{{{Subheading}}}|Airship Forecastle|Airship Rigging|Airship Hull|Airship Aftcastle=Airship&nbsp;|Meal|Medicine=Consumable Bonuses|Submersible Hull|Submersible Stern|Submersible Bow|Submersible Bridge=Submersible| #default = }}{{#if:{{{Duration|}}}|&nbsp;(Duration: {{{Duration}}}{{#if:{{{Duration HQ|}}}|&nbsp;/&nbsp;{{HQ}} {{{Duration HQ}}}}})}}&nbsp;{{#if:{{{Recast|}}}|(Recast: {{{Recast}}}{{#if:{{{Recast HQ|}}}|&nbsp;/&nbsp;{{HQ}} {{{Recast HQ}}}}})}}&nbsp;{{#if:{{{Charges|}}}|(Charges:{{{Charges}}})}}
+
{{#if:{{{Suits|}}}{{{Requires|}}}{{{Fits|}}}{{{Recast|}}}|
 +
{{!}}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:80%;">{{#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:80%;">{{#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:80%;">{{#if:{{{Latent {{#var:ik}} Conditions|}}}|&nbsp;([[{{{Latent {{#var:ik}} Conditions|}}}]])}}{{#if:{{{Latent {{#var:ik}} HQ|}}}|&nbsp;{{HQ}} {{{Latent {{#var:ik}} HQ|}}}}}</span><br>}}}}}}
 +
{{#switch:{{{Subheading}}}|Airship Forecastle|Airship Rigging|Airship Hull|Airship Aftcastle=Airship&nbsp;|Meal|Medicine=Consumable Bonuses|Submersible Hull|Submersible Stern|Submersible Bow|Submersible Bridge=Submersible| #default = }}{{#if:{{{Duration|}}}|&nbsp;(Duration: {{{Duration}}}{{#if:{{{Duration HQ|}}}|&nbsp;/&nbsp;{{HQ}} {{{Duration HQ}}}}})}}&nbsp;{{#if:{{{Recast|}}}|(Recast: {{{Recast}}}{{#if:{{{Recast HQ|}}}|&nbsp;/&nbsp;{{HQ}} {{{Recast HQ}}}}})}}&nbsp;{{#if:{{{Charges|}}}|(Charges:{{{Charges}}})}}
 
{{#forargs:Consumable| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>
 
{{#forargs:Consumable| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>
 
{{{!}} valign="top" cellpadding="0" width="100%" cellspacing="0" border="0"
 
{{{!}} valign="top" cellpadding="0" width="100%" cellspacing="0" border="0"
Line 17: Line 19:
 
{{!}}{{#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="70%" align="left"{{!}}{{#var: iv}}
 
{{!}}}
 
{{!}}}
}}}}}}
+
}}}}}}}}
|{{{Description|}}}}}}}
 
{{#if:{{{Suits|}}}{{{Requires|}}}{{{Fits|}}}{{{Recast|}}}|
 
{{!}}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:80%;">{{#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:80%;">{{#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:80%;">{{#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 19:54, 15 November 2020

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

[[{{{Name}}}]]

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