From GamingWiki
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: | + | -->{{#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: | + | -->{{#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> </div></td><!-- | --><td class="{{#ifexpr: {{#var: stressloop}} <= {{#var:curstress|0}} | full }}"><div> </div></td><!-- |
Revision as of 22:39, 8 February 2011
[create]
Error creating thumbnail: File missing
Template documentation Editors can experiment in this template's sandbox (edit) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
{{{charactername}}} {{{campaign}}} ({{{player}}})
| |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Aspects | |||||||||||||||||||||||
| |||||||||||||||||||||||
Skills | types: combat, track | ||||||||||||||||||||||
Stunts | |||||||||||||||||||||||
FP | 5 | Refresh | 5 | ||||||||||||||||||||
Stress Tracks | |||||||||||||||||||||||
| |||||||||||||||||||||||
Consequences | |||||||||||||||||||||||
mild | |||||||||||||||||||||||
moderate | |||||||||||||||||||||||
severe |
{{#set: game system = FATE }}{{#set: parent template = Template:Character_Sheet }}