From GamingWiki
(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/> | |
− | {{!}} colspan="3" {{!}} | + | {{!}} 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/> | |
− | {{!}} colspan="4" {{!}} {{#var: | + | {{!}} colspan="4" {{!}} {{#var: stunttext}} <!-- |
-->}}<!-- End stunt modifier detection --><nowiki /> | -->}}<!-- End stunt modifier detection --><nowiki /> | ||
{{!}}- <!-- | {{!}}- <!-- | ||
-->}}<!-- end while stunts | -->}}<!-- end while stunts | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Extra sections | Extra sections |
Revision as of 03:40, 12 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 | |||||||
health | mild | |||||||
composure | moderate | |||||||
severe |
{{#set: game system = FATE }}{{#set: parent template = Template:Character_Sheet }}