From GamingWiki
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
− | <onlyinclude><!-- | + | == Example skill modes == |
+ | |||
+ | <!-- | ||
+ | |||
+ | --><onlyinclude><!-- | ||
-->{{#vardefine: modeType | {{{type | {{{1 | }}} }}} }}<!-- | -->{{#vardefine: modeType | {{{type | {{{1 | }}} }}} }}<!-- | ||
+ | -->{{#vardefine: campaign | {{{campaign | {{{2 | }}} }}} }}<!-- | ||
− | --> | + | --><noinclude><!-- |
+ | -->{{#vardefine: modeType | default }}<!-- | ||
+ | -->{{#vardefine: campaign | Humans are the Worst }}<!-- | ||
+ | --></noinclude><!-- | ||
-->{{#arraydefine: allModesArray <!-- | -->{{#arraydefine: allModesArray <!-- | ||
Line 11: | Line 19: | ||
[[is a::skill mode]] | [[is a::skill mode]] | ||
{{#if: {{#var: modeType}} | [[mode type::{{#var: modeType}}]] }} | {{#if: {{#var: modeType}} | [[mode type::{{#var: modeType}}]] }} | ||
− | {{#if: {{ | + | {{#if: {{#var: campaign}} | [[campaign::{{#var:campaign}}]] }} |
− | |? | + | |?mode name |
− | |? | + | |?includes skill |
− | |? | + | |?includes stunt |
|format=array | |format=array | ||
|mainlabel=- | |mainlabel=- | ||
}} <!-- | }} <!-- | ||
− | -->| , | + | -->| , }}<!-- |
+ | |||
-->{{#hashdefine: allModes}}<!-- | -->{{#hashdefine: allModes}}<!-- | ||
-->{{#arrayprint: allModesArray | | <line> | <!-- | -->{{#arrayprint: allModesArray | | <line> | <!-- | ||
Line 47: | Line 56: | ||
-->{{#if:{{#vardefineecho: currentStunts|{{#explode: <modeline> | <PROP> | 1}}}} |<!-- | -->{{#if:{{#vardefineecho: currentStunts|{{#explode: <modeline> | <PROP> | 1}}}} |<!-- | ||
-->{{#arraydefine: stuntsArray | {{#var: currentStunts}} | <MANY>}}<!-- | -->{{#arraydefine: stuntsArray | {{#var: currentStunts}} | <MANY>}}<!-- | ||
− | -->{{#hashinclude: stuntsHash | {{#var:modeCount}} = {{#arrayprint: stuntsArray | <br/> | <stunt> | [[<stunt>]] }} }}<!-- | + | -->{{#hashinclude: stuntsHash | {{#var:modeCount}} = {{#arrayprint: stuntsArray | <br/> | <stunt> | Stunt: [[<stunt>]] }} }}<!-- |
-->}}<!-- | -->}}<!-- | ||
Latest revision as of 19:47, 4 July 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. |
Example skill modes[edit]
Template:((#ask:
is a::skill mode mode type::default campaign::Humans are the Worst |
?mode name | ?includes skill | ?includes stunt | format |
---|---|---|---|---|
array | mainlabel=-
Template:)) = |