Difference between revisions of "User:SurtrFan8511"

Jump to navigation Jump to search
43 bytes added ,  12:08, 30 January 2020
"cleaned up" the code
(bruh)
("cleaned up" the code)
Line 80: Line 80:
}}
}}


<!--FOR TESTING-->
{{#loop: i
{{#loop: i
   | 0 | {{#arraysize:skill subobj array}}
   | 0 | {{#arraysize:skill subobj array}}
Line 96: Line 95:
     }}
     }}
     <!--printing-->
     <!--printing-->
     {{#ifexpr: {{#show: {{#arrayindex:skill subobj array | {{#var: i}} }} | ?Has effect ID }} = 1 | {{#ifexpr: {{#arraysize:transient array}}=0||<!--printing the skill name-->[[{{#arrayindex:skill subobj array|{{#var:i}} }} | {{#show:{{#arrayindex:skill subobj array|{{#var:i}} }} | ?Has English name }}]]{{#show:{{#arrayindex:skill subobj array|{{#var:i}} }} | ?Has preformatted English description }}<br>{{#loop: j| 0 | {{#arraysize:transient array}}| {{Transient icon|{{#show: {{#arrayindex:transient array|{{#var:j}} }} | ?Has English name}}|rarity= {{#show: {{#arrayindex:transient array|{{#var:j}} }} |?Has rarity }}|frame=y}};}}{{#arrayunique:skill subobj array}}<br>}}<br>|}}
     {{#vardefine: current skill|{{#arrayindex:skill subobj array | {{#var: i}} }} }}{{#ifexpr: {{#show: {{#var:current skill}} | ?Has effect ID }} = 1 | {{#ifexpr: {{#arraysize:transient array}}=0||<!--PRINTING THE SKILL NAME-->[[{{#var: current skill}} | {{#show:{{#var:current skill}} | ?Has English name }}]]<br>{{#show:{{#var: current skill}} | ?Has preformatted English description }}<br><!--PRINTING TRANSIENTS-->{{#loop: j| 0 | {{#arraysize:transient array}}| {{#vardefine: current transient|{{#arrayindex:transient array|{{#var:j}} }} }} {{Transient icon|{{#show: {{#var:current transient}} | ?Has English name}}|rarity= {{#show: {{#var: current transient}} |?Has rarity }}|size=small}};}}{{#arrayunique:skill subobj array}}<br>}}<br>|}}
}}
}}


trusted
5,920

edits

Navigation menu