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|}}}|{{#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|}}}||colspan="2"}} style="border-bottom: 2px solid #ababab; width: 20%;"{{!}}{{#if:{{{Suits|}}}{{{Requires|}}}{{{Fits|}}}|{{#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 = }}}}}}
 
{{#if:{{{Recast|}}}{{{Duration|}}}|
 
{{#if:{{{Recast|}}}{{{Duration|}}}|
 
{{#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}}})}}
 
{{#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}}})}}

Revision as of 20:07, 15 November 2020

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

[[{{{Name}}}]]

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

|}} }} {{#if:| |style="border-bottom: 2px solid #ababab; width: 40%;"|