From GamingWiki
Jump to: navigation, search
Line 143: Line 143:
 
       -->{{#vardefine: skillkey  | {{#replace: {{lc:{{#var: skillname}}}} ||-}} }}<!--
 
       -->{{#vardefine: skillkey  | {{#replace: {{lc:{{#var: skillname}}}} ||-}} }}<!--
 
       -->{{#vardefine: skilltype | {{#explode: {{#var: theskill}} |//| 1 }} }}<!--
 
       -->{{#vardefine: skilltype | {{#explode: {{#var: theskill}} |//| 1 }} }}<!--
 +
        The following is for later use:
 +
      -->{{#vardefine: skillValue{{#replace: {{lc:{{#var: skillname}}}} ||}} | {{#var: skidx}}}}<!--
  
 
       -->{{#ifeq: {{ #var: skidx }} | 0 ||, }} <span class="{{#var: skillClass }}"><!--
 
       -->{{#ifeq: {{ #var: skidx }} | 0 ||, }} <span class="{{#var: skillClass }}"><!--
Line 152: Line 154:
 
       -->{{#vardefine: smidx | 1 }}<!--
 
       -->{{#vardefine: smidx | 1 }}<!--
 
       -->{{#while: | <!-- while skill marker
 
       -->{{#while: | <!-- while skill marker
         -->{{#vardefineecho: mKey | {{#replace: {{lc:{{#explode: {{#var: theskill}} |//| {{#var:smidx}} }} }} }} }}<!--  
+
         -->{{#vardefineecho: skillmod | {{#explode: {{#var: theskill}} |//| {{#var:smidx}} }} }}<!--  
 
       -->|<!--
 
       -->|<!--
         -->{{#var: {{#var:mKey}}HTML }}<!--
+
         -->{{#vardefineecho: mKey | {{#replace: {{lc:{{#var: skillmod}}}} }} }}<!--
 +
        -->{{#if:{{#var: {{#var:mKey}}HTML }}|{{#var: {{#var:mKey}}HTML }}|({{#var:skillmod}})}}<!--
 
         -->{{#vardefine: smidx | {{#expr: {{#var: smidx}} + 1}} }}<!--
 
         -->{{#vardefine: smidx | {{#expr: {{#var: smidx}} + 1}} }}<!--
 
       -->}}<!-- end while marker  
 
       -->}}<!-- end while marker  
Line 245: Line 248:
 
-->{{#vardefine: stidx | 0 }}<!--
 
-->{{#vardefine: stidx | 0 }}<!--
 
-->{{#while: | <!-- stress tracks
 
-->{{#while: | <!-- stress tracks
   -->{{#vardefineecho: trackname | {{#explode: {{{stresstracks|health composure}}} | | {{#var:stidx}} }} }}<!--
+
   -->{{#vardefineecho: thetrack | {{#explode: {{{stresstracks|health//endurance::composure//resolve}}} |::| {{#var:stidx}} }} }}<!--
 
-->|<!--
 
-->|<!--
 +
  -->{{#vardefine:trackname | {{#explode:{{#var: thetrack}}|//|0}} }}<!--
 +
  -->{{#vardefine:trackskil | {{#explode:{{#var: thetrack}}|//|1}} }}<!--
 +
  -->{{#vardefine:trackmod  | {{#expr: ceil({{#var: skillValue{{#var:trackskil}}}}+0 / 2)}} }}<!--
 
   -->{{#vardefine:thestress | {{{{{#var: trackname}}|{{#var:defaultstress}}//0}}} }}<!--
 
   -->{{#vardefine:thestress | {{{{{#var: trackname}}|{{#var:defaultstress}}//0}}} }}<!--
 
   -->{{#vardefine:totstress | {{#explode:{{#var: thestress}}|//|0}} }}<!--
 
   -->{{#vardefine:totstress | {{#explode:{{#var: thestress}}|//|0}} }}<!--
 
   -->{{#vardefine:curstress | {{#explode:{{#var: thestress}}|//|1}} }}<!--
 
   -->{{#vardefine:curstress | {{#explode:{{#var: thestress}}|//|1}} }}<!--
  
   --><table class="fate stressbox"><tr><th colspan="{{#var:totstress}}">{{#var: trackname}}</th></tr><!--
+
   --><table class="fate stressbox"><tr><th colspan="{{#var:totstress}}">{{#var: trackname}} ({{#var: trackskil}}, {{#var: trackmod}})</th></tr><!--
 
   --><tr>{{#loop: stressloop | 1 | {{#var:totstress}} | <!--
 
   --><tr>{{#loop: stressloop | 1 | {{#var:totstress}} | <!--
 
     --><td class="{{#ifexpr: {{#var: stressloop}} <= {{#var:curstress|0}} | full }}"><div>&nbsp;</div></td><!--
 
     --><td class="{{#ifexpr: {{#var: stressloop}} <= {{#var:curstress|0}} | full }}"><div>&nbsp;</div></td><!--

Revision as of 22:39, 8 February 2011

[create]
Error creating thumbnail: File missing
Template documentation
{{{charactername}}}
{{{campaign}}} ({{{player}}})
Aspects
Skills types: combat, track
Stunts
FP 5 Refresh 5
Stress Tracks
health (endurance, 0)
 
 
 
 
 
composure (resolve, 0)
 
 
 
 
 
Consequences
mild
moderate
severe

{{#set: game system = FATE }}{{#set: parent template = Template:Character_Sheet }}