From GamingWiki
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}} | <!-- | ||
− | -->{{# | + | -->{{#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}} | }} <!-- | ! {{#hashvalue: headerHash | {{#var: modeNum}} | }} <!-- | ||
-->}}<nowiki/> | -->}}<nowiki/> | ||
{{!}}- <!-- | {{!}}- <!-- | ||
− | -->{{#loop: modeNum | {{# | + | -->{{#loop: modeNum | {{#var: loopFrom}} | {{#var: loopCount}} |<nowiki/> |
{{!}} {{#hashvalue: skillsHash | {{#var: modeNum}} | }} <!-- | {{!}} {{#hashvalue: skillsHash | {{#var: modeNum}} | }} <!-- | ||
-->}}<nowiki/> | -->}}<nowiki/> | ||
{{!}}- <!-- | {{!}}- <!-- | ||
-->{{#if: {{#hashsize: stuntsHash}} |<!-- | -->{{#if: {{#hashsize: stuntsHash}} |<!-- | ||
− | -->{{#loop: modeNum | {{# | + | -->{{#loop: modeNum | {{#var: loopFrom}} | {{#var: loopCount}} |<nowiki/> |
{{!}} {{#hashvalue: stuntsHash | {{#var: modeNum}} | }} <!-- | {{!}} {{#hashvalue: stuntsHash | {{#var: modeNum}} | }} <!-- | ||
-->}}<nowiki/> | -->}}<nowiki/> |
Revision as of 13:22, 27 May 2014
[create]
Error creating thumbnail: File missing
Template documentation Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
Template:((#ask:
is a::skill mode |
?Name | ?Includes skill | ?Includes stunt | format |
---|---|---|---|---|
array | mainlabel=-
Template:)) = |