From GamingWiki
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
         -->{{#vardefine: skillname | {{#explode: $skillstring$ | // | 0 }} }}<!--
 
         -->{{#vardefine: skillname | {{#explode: $skillstring$ | // | 0 }} }}<!--
 
         -->{{#vardefine: skillattr | {{#explode: $skillstring$ | // | 1 }} }}<!--
 
         -->{{#vardefine: skillattr | {{#explode: $skillstring$ | // | 1 }} }}<!--
         -->{{#hashinclude: skilllisthash | {{$var:skillname}} = 0 }}<!--
+
         -->{{#hashinclude: skilllisthash | {{#var:skillname}} = 0 }}<!--
 
         -->{{#hashinclude:  skillhash-{{#var:skillname}}  
 
         -->{{#hashinclude:  skillhash-{{#var:skillname}}  
 
             | group = {{#var:skillgroupname}}  
 
             | group = {{#var:skillgroupname}}  
Line 98: Line 98:
 
   Print the skill listings
 
   Print the skill listings
 
-->{{#hashprint: skillhash || $skillrank$ | $skline$ | <!--
 
-->{{#hashprint: skillhash || $skillrank$ | $skline$ | <!--
   -->{{#arraydefine: skilllineary | $skline$ | :: }}<!--
+
   -->{{#arraydefine: skilllineary | $skline$ | ; }}<!--
 
   -->{{#if: $skline$ |<!--
 
   -->{{#if: $skline$ |<!--
 
       -->{{Character sheet/section<!--
 
       -->{{Character sheet/section<!--
Line 118: Line 118:
 
             -->{{#if:{{#var:theskillname}}|<!--
 
             -->{{#if:{{#var:theskillname}}|<!--
 
               -->{{#set:
 
               -->{{#set:
                   | skill/{{lc:{{#var:theskillname}}}}=$skillrank$  
+
                   | has skill = {{lc:{{#var:theskillname}}}} ; $skillrank$
                  | has skill at rank $skillrank$={{#var:theskillname}}
 
 
                   }}<!--
 
                   }}<!--
 
             -->}}<!--
 
             -->}}<!--
  
 
               Increment skill slot counter
 
               Increment skill slot counter
             -->{{#vardefine: skillsused | {{#expr: {{#var:skillsused|0}} + 1}} }}<!--
+
             -->{{#vardefine: skillsused | {{#expr: {{#var:skillsused|0}} + $skillrank$}} }}<!--
  
 
             -->{{#arrayreset: theskillarray}}<!--
 
             -->{{#arrayreset: theskillarray}}<!--

Latest revision as of 17:42, 3 February 2016

[create]
Error creating thumbnail: File missing
Template documentation
Skills