From GamingWiki
Line 1: | Line 1: | ||
<noinclude>{{Documentation}}</noinclude><!-- | <noinclude>{{Documentation}}</noinclude><!-- | ||
− | -->{{#vardefine:cols|{{{columns| | + | -->{{#vardefine:cols|{{{columns|6}}}}}<!-- |
+ | |||
--> | --> | ||
{| class="infobox floatright {{{tableclass|}}}" | {| class="infobox floatright {{{tableclass|}}}" | ||
! colspan="{{#var:cols}}" | {{{charactername}}} <!-- | ! colspan="{{#var:cols}}" | {{{charactername}}} <!-- | ||
-->{{#if: {{{campaign<includeonly>|</includeonly>}}}{{{player<includeonly>|</includeonly>}}}|<div class="campaign"><!-- | -->{{#if: {{{campaign<includeonly>|</includeonly>}}}{{{player<includeonly>|</includeonly>}}}|<div class="campaign"><!-- | ||
− | --> {{#if: {{{campaign<includeonly>|</includeonly>}}}| [[{{{campaign}}}]] <includeonly>[[Category: {{{campaign}}}]]</includeonly>}} <!-- | + | --> {{#if: {{{campaign<includeonly>|</includeonly>}}}|<!-- |
+ | --> [[{{{campaign}}}]] <!-- | ||
+ | --><includeonly>[[Category: {{{campaign}}}]]</includeonly><!-- | ||
+ | -->}} <!-- | ||
--> {{#if: {{{player<includeonly>|</includeonly>}}}|<!-- | --> {{#if: {{{player<includeonly>|</includeonly>}}}|<!-- | ||
--> ([[{{{player}}}]]) <!-- | --> ([[{{{player}}}]]) <!-- | ||
Line 16: | Line 20: | ||
-->{{#hashdefine: topsectionhash }}<!-- | -->{{#hashdefine: topsectionhash }}<!-- | ||
-->{{#forargs: top | keynum | value | <!-- | -->{{#forargs: top | keynum | value | <!-- | ||
+ | We have arguments like "toplabel2 = My Label", which we split into the | ||
+ | key-number pair "keynum", in this case "label2", and the value. We want | ||
+ | to further split this up so we get the key and the number separately. | ||
-->{{#hashreset: singlesection}}<!-- | -->{{#hashreset: singlesection}}<!-- | ||
-->{{#vardefine: key | {{#rmatch: {{#var:keynum}} | (\D+)(\d+) | $1 }}}}<!-- | -->{{#vardefine: key | {{#rmatch: {{#var:keynum}} | (\D+)(\d+) | $1 }}}}<!-- | ||
Line 22: | Line 29: | ||
-->{{#hashinclude: singlesection | {{#var:key}} = {{#var:value}} }}<!-- | -->{{#hashinclude: singlesection | {{#var:key}} = {{#var:value}} }}<!-- | ||
-->{{#if: {{#var: num}} | <!-- | -->{{#if: {{#var: num}} | <!-- | ||
− | -->{{#hashinclude: topsectionhash | {{#var:num}} = {{#hashprint: singlesection | ,sec, | %%%% | @@@@ | %%%%;sec;@@@@ }} }}<!-- | + | -->{{#hashinclude: topsectionhash | <!-- |
+ | --> {{#var:num}} = {{#hashprint: singlesection | ,sec, | %%%% | @@@@ | %%%%;sec;@@@@ }} <!-- | ||
+ | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 85: | Line 94: | ||
-->}}<!-- | -->}}<!-- | ||
− | |||
-->{{#arraydefine: stuntsary | {{{stunts|}}} | ;; }}<!-- | -->{{#arraydefine: stuntsary | {{{stunts|}}} | ;; }}<!-- | ||
-->{{#arrayprint: stuntsary || @@@@ | <!-- | -->{{#arrayprint: stuntsary || @@@@ | <!-- | ||
Line 105: | Line 113: | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#arrayreset: stuntsary }}<!-- | -->{{#arrayreset: stuntsary }}<!-- | ||
− | |||
Line 118: | Line 125: | ||
-->{{#if:{{{header{{#var: sectnum}}|}}}|<!-- | -->{{#if:{{{header{{#var: sectnum}}|}}}|<!-- | ||
Draw a header | Draw a header | ||
− | + | -->{{Character sheet/section | columns = {{#var:cols}} <!-- | |
+ | -->| header1 = {{{header{{#var: sectnum}}|}}} <!-- | ||
+ | -->}}<!-- | ||
+ | --><!-- <nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} colspan="{{#var:cols}}" class="subhead" {{!}} {{{header{{#var: sectnum}}|}}} <!-- | + | {{!}} colspan="{{#var:cols}}" class="subhead" {{!}} {{{header{{#var: sectnum}}|}}} --><!-- |
-->|<!-- if no header | -->|<!-- if no header | ||
− | + | -->{{Character sheet/section | columns = {{#var:cols}} <!-- | |
+ | -->| label1 = {{{label{{#var: sectnum}}|}}} <!-- | ||
+ | -->| data1 = {{{data{{#var: sectnum}}|}}} <!-- | ||
+ | -->}}<!-- | ||
+ | --><!-- <nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}} class="shaded" {{!}} {{{label{{#var: sectnum}}|}}} | {{!}} class="shaded" {{!}} {{{label{{#var: sectnum}}|}}} | ||
{{!}} colspan="3" {{!}} {{{data{{#var: sectnum}}|}}} | {{!}} colspan="3" {{!}} {{{data{{#var: sectnum}}|}}} | ||
− | <!-- | + | --><!-- |
-->}}<!-- end if | -->}}<!-- end if | ||
-->{{#vardefine: sectnum | {{#expr: {{#var: sectnum}} + 1}} }}<!-- | -->{{#vardefine: sectnum | {{#expr: {{#var: sectnum}} + 1}} }}<!-- | ||
Line 136: | Line 150: | ||
-->{{#vardefine: refresh | {{#if:{{{refresh|}}}|{{{refresh}}}|{{#var:defaultrefresh}} }} }}<!-- | -->{{#vardefine: refresh | {{#if:{{{refresh|}}}|{{{refresh}}}|{{#var:defaultrefresh}} }} }}<!-- | ||
-->{{#vardefine: fp | {{#if:{{{fp|}}}|{{{fp}}}|{{#var:refresh}} }} }}<!-- | -->{{#vardefine: fp | {{#if:{{{fp|}}}|{{{fp}}}|{{#var:refresh}} }} }}<!-- | ||
− | --><nowiki /> | + | -->{{Character sheet/section | columns = {{#var:cols}} <!-- |
+ | -->| label1 = FP <!-- | ||
+ | -->| data1 = {{#var: fp}} <!-- | ||
+ | -->| rlabel1 = Refresh <!-- | ||
+ | -->| rdata1 = {{#var: refresh}} <!-- | ||
+ | -->}}<!-- | ||
+ | --><!--<nowiki /> | ||
|- | |- | ||
| class="shaded" | FP || {{#var:fp}} | | class="shaded" | FP || {{#var:fp}} | ||
| class="shaded" | Refresh || {{#var:refresh}} | | class="shaded" | Refresh || {{#var:refresh}} | ||
− | <!-- | + | --><!-- |
Stress tracks | Stress tracks | ||
Line 149: | Line 169: | ||
--> | --> | ||
|- | |- | ||
− | | colspan=" | + | | colspan="3" class="subhead" | Stress Tracks |
− | | colspan=" | + | | colspan="3" class="subhead" | Consequences <!-- |
-->{{#vardefine: defaultstress | {{{defaultstress|5}}} }}<!-- | -->{{#vardefine: defaultstress | {{{defaultstress|5}}} }}<!-- | ||
Line 172: | Line 192: | ||
{{!}} class="shaded" {{!}} {{#var: trackname}} <!-- | {{!}} class="shaded" {{!}} {{#var: trackname}} <!-- | ||
--><!--({{#var:trackskil}} {{#var: skillValue{{#var:trackskil}}}} / {{#var:trackmod}}) --><!-- debug --> | --><!--({{#var:trackskil}} {{#var: skillValue{{#var:trackskil}}}} / {{#var:trackmod}}) --><!-- debug --> | ||
− | {{!}} <!-- | + | {{!}} colspan="2" {{!}} <!-- |
-->{{#if:{{#var: trackname}} |<!-- | -->{{#if:{{#var: trackname}} |<!-- | ||
--><table class="fate stressbox"><!-- | --><table class="fate stressbox"><!-- | ||
Line 183: | Line 203: | ||
--><nowiki /> | --><nowiki /> | ||
{{!}} class="label" {{!}} {{#var: severity}} | {{!}} class="label" {{!}} {{#var: severity}} | ||
− | {{!}} <!-- | + | {{!}} colspan="2" {{!}} <!-- |
-->{{#if:{{#var: severity}} |<!-- | -->{{#if:{{#var: severity}} |<!-- | ||
-->{{#vardefine: conidx | 0 }}<!-- | -->{{#vardefine: conidx | 0 }}<!-- | ||
Line 204: | Line 224: | ||
--> | --> | ||
|- | |- | ||
− | | colspan=" | + | | colspan="{{#var:cols}}" | {{navbar|{{{template name|Character Sheet/FATE}}}|mini=1}} |
|}<includeonly><!-- | |}<includeonly><!-- | ||
Revision as of 03:54, 10 March 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 | skill 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 }}