From GamingWiki
Jump to: navigation, search
Line 61: Line 61:
  
 
   -->{{#ifexpr: {{#var: modeCount}} mod 3 = 0 or {{#var: modeCount}} >= {{#arraysize: modeNames}} | <!--  
 
   -->{{#ifexpr: {{#var: modeCount}} mod 3 = 0 or {{#var: modeCount}} >= {{#arraysize: modeNames}} | <!--  
       -->{{#loop: modeNum | {{#expr: {{#var: modeCount}} -3}} | 3 |<nowiki/>
+
       -->{{#vardefine: loopCount | {{#expr: (({{#var: modeCount}}-1) mod 3) + 1}} }}<!--
 +
      -->{{#vardefine: loopFrom | {{#expr: {{#var: modeCount}} - {{#var: loopCount}} }} }}<!--
 +
      -->{{#loop: modeNum | {{#var: loopFrom}} | {{#var: loopCount}} |<nowiki/>
 
! {{#hashvalue: headerHash | {{#var: modeNum}} | &nbsp; }} <!--
 
! {{#hashvalue: headerHash | {{#var: modeNum}} | &nbsp; }} <!--
 
       -->}}<nowiki/>
 
       -->}}<nowiki/>
 
{{!}}- <!--
 
{{!}}- <!--
       -->{{#loop: modeNum | {{#expr: {{#var: modeCount}} -3}} | 3 |<nowiki/>
+
       -->{{#loop: modeNum | {{#var: loopFrom}} | {{#var: loopCount}} |<nowiki/>
 
{{!}} {{#hashvalue: skillsHash | {{#var: modeNum}} | &nbsp; }} <!--
 
{{!}} {{#hashvalue: skillsHash | {{#var: modeNum}} | &nbsp; }} <!--
 
       -->}}<nowiki/>
 
       -->}}<nowiki/>
 
{{!}}- <!--
 
{{!}}- <!--
 
       -->{{#if: {{#hashsize: stuntsHash}} |<!--
 
       -->{{#if: {{#hashsize: stuntsHash}} |<!--
         -->{{#loop: modeNum | {{#expr: {{#var: modeCount}} -3}} | 3 |<nowiki/>
+
         -->{{#loop: modeNum | {{#var: loopFrom}} | {{#var: loopCount}} |<nowiki/>
 
{{!}} {{#hashvalue: stuntsHash | {{#var: modeNum}} | &nbsp; }} <!--
 
{{!}} {{#hashvalue: stuntsHash | {{#var: modeNum}} | &nbsp; }} <!--
 
         -->}}<nowiki/>
 
         -->}}<nowiki/>

Revision as of 13:22, 27 May 2014

[create]
Error creating thumbnail: File missing
Template documentation

Template:((#ask:
        is a::skill mode
        
        
?Name ?Includes skill ?Includes stunt format
array mainlabel=-
     Template:)) =