From GamingWiki
Jump to: navigation, search
(Tweaked stunt layout handling)
Line 181: Line 181:
 
-->|<!--
 
-->|<!--
 
   -->{{#vardefine: stidx | {{#expr: {{ #var: stidx }} + 1}} }}<!--
 
   -->{{#vardefine: stidx | {{#expr: {{ #var: stidx }} + 1}} }}<!--
 +
  -->{{#vardefine: stunttext |<!--
 +
      -->{{#explode:{{#var: thestunt}}|//| 0 }}<!--
 +
      If the stunt has a description we put it on a new line.
 +
      -->{{#if:{{#vardefineecho: stuntdesc | {{#explode:{{#var: thestunt}}|//| 2 }} }} |<!--
 +
        --><br />{{#var:stuntdesc}}<!--
 +
      -->}}<!--
 +
  -->}}<!--
 
   If there is some qualifier to the stunt, we do three columns for  
 
   If there is some qualifier to the stunt, we do three columns for  
 
   the stunt name and one for the qualifier. Otherwise, four for  
 
   the stunt name and one for the qualifier. Otherwise, four for  
Line 186: Line 193:
 
   -->{{#if: {{#vardefineecho: stuntmod |{{#explode:{{#var: thestunt}}|//| 1 }} }}<!--
 
   -->{{#if: {{#vardefineecho: stuntmod |{{#explode:{{#var: thestunt}}|//| 1 }} }}<!--
 
   -->|<!-- The stunt has a modifier
 
   -->|<!-- The stunt has a modifier
  --><nowiki/>
+
      --><nowiki/>
{{!}} colspan="3" {{!}} {{#explode:{{#var: thestunt}}|//| 0 }}
+
{{!}} colspan="3" {{!}} {{#var: stunttext}}|//| 0 }} <!--
 +
      -->
 
{{!}} {{#rmatch: {{#var: stuntmod}} |^\s*(\-?\d+)\s*$| [\1] | ({{#var: stuntmod}}) }}<!--
 
{{!}} {{#rmatch: {{#var: stuntmod}} |^\s*(\-?\d+)\s*$| [\1] | ({{#var: stuntmod}}) }}<!--
 
   -->|<!-- The stunt has no modifier
 
   -->|<!-- The stunt has no modifier
  --><nowiki/>
+
      --><nowiki/>
{{!}} colspan="4" {{!}} {{#var: thestunt}} <!--
+
{{!}} colspan="4" {{!}} {{#var: stunttext}} <!--
 
   -->}}<!-- End stunt modifier detection --><nowiki />
 
   -->}}<!-- End stunt modifier detection --><nowiki />
 
{{!}}- <!--
 
{{!}}- <!--
 
-->}}<!-- end while stunts
 
-->}}<!-- end while stunts
 
| colspan="4" class="subhead" | Stunts
 
|-
 
| class="shaded" |
 
| colspan="3" | {{Array Map | array={{{stunts|;;none}}} | before=<nowiki />
 
* }} --><!--
 
  
 
Extra sections
 
Extra sections

Revision as of 03:40, 12 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 Consequences
health
 
 
 
 
 
mild
composure
 
 
 
 
 
moderate
severe

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