From GamingWiki
Jump to: navigation, search
 
(One intermediate revision 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 9: 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: {{{campaign|}}} | [[campaign::{{{campaign}}}]] }}
+
         {{#if: {{#var: campaign}} | [[campaign::{{#var:campaign}}]] }}
       |?Name
+
       |?mode name
       |?Includes skill
+
       |?includes skill
       |?Includes stunt
+
       |?includes stunt
 
       |format=array
 
       |format=array
 
       |mainlabel=-
 
       |mainlabel=-
 
       }} <!--
 
       }} <!--
-->| , | <PROP> }}<!--
+
-->| , }}<!--
 +
 
 
-->{{#hashdefine: allModes}}<!--
 
-->{{#hashdefine: allModes}}<!--
 
-->{{#arrayprint: allModesArray | | <line> | <!--
 
-->{{#arrayprint: allModesArray | | <line> | <!--
Line 45: 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

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:)) =