From GamingWiki
Line 19: | Line 19: | ||
}} <!-- | }} <!-- | ||
-->| , | <PROP> }}<!-- | -->| , | <PROP> }}<!-- | ||
+ | -->{{#hashdefine: allModes}}<!-- | ||
-->{{#arrayprint: allModesArray | | <line> | <!-- | -->{{#arrayprint: allModesArray | | <line> | <!-- | ||
-->{{#arraydefine: modeLine | <line> | <PROP>}}<!-- | -->{{#arraydefine: modeLine | <line> | <PROP>}}<!-- | ||
Line 24: | Line 25: | ||
-->{{#arrayslice: modeParts | modeLine | 1}}<!-- | -->{{#arrayslice: modeParts | modeLine | 1}}<!-- | ||
-->{{#hashinclude: allModes | {{#var: modeName}} = {{#arrayprint: modeParts | <PROP> }} }}<!-- | -->{{#hashinclude: allModes | {{#var: modeName}} = {{#arrayprint: modeParts | <PROP> }} }}<!-- | ||
+ | -->{{#arrayreset: modeLine | modeParts }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
+ | -->{{#arrayreset: allModesArray}}<!-- | ||
− | + | Pick up just the hash keys: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{#hashtoarray: | allModes | modeNames}}<!-- | -->{{#hashtoarray: | allModes | modeNames}}<!-- | ||
-->{{#arraysort: modeNames | asc}}<!-- | -->{{#arraysort: modeNames | asc}}<!-- | ||
Line 79: | Line 69: | ||
{{!}}- <!-- | {{!}}- <!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->{{#arrayreset: skillsArray}}<!-- | + | -->{{#arrayreset: skillsArray|stuntsArray}}<!-- |
-->{{#hashreset: headerHash|skillsHash|stuntsHash}}<!-- | -->{{#hashreset: headerHash|skillsHash|stuntsHash}}<!-- | ||
-->}}<!-- end ifexpr | -->}}<!-- end ifexpr | ||
-->| modeNames }}<!-- | -->| modeNames }}<!-- | ||
+ | |||
+ | -->{{#arrayreset: modeNames}}<!-- | ||
+ | -->{{#hashreset: allModes}}<!-- | ||
--><nowiki/> | --><nowiki/> | ||
|}</onlyinclude> | |}</onlyinclude> |
Revision as of 13:29, 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. |
mode type:
Template:((#ask:
is a::skill mode |
?Name | ?Includes skill | ?Includes stunt | format |
---|---|---|---|---|
array | mainlabel=-
Template:)) = |