From GamingWiki
| Line 69: | Line 69: | ||
We will pass a hash to a template. | We will pass a hash to a template. | ||
-->{{#parameterstohash: paramsHash}}<!-- | -->{{#parameterstohash: paramsHash}}<!-- | ||
| − | + | The following are the keys from the params to this template which | |
| − | -->{{#hashdefine: skillParamsKeys | skillblock, skillclass, skilltypes, skillmarkers, skillranks }}<!-- | + | we will pass through to the skill block template: |
| + | -->{{#hashdefine: skillParamsKeys | | ||
| + | skillblock, skillclass, skilltypes, skillmarkers, skillranks, defaultskillpoints | ||
| + | }}<!-- | ||
-->{{#hashdefine: skillblocks | {{#if:{{{skillblock|}}}|{{{skillblock}}}|skills;Skills}} }}<!-- | -->{{#hashdefine: skillblocks | {{#if:{{{skillblock|}}}|{{{skillblock}}}|skills;Skills}} }}<!-- | ||
| Line 84: | Line 87: | ||
| skills5 = {{{@@@@5|M_NUL}}} | | skills5 = {{{@@@@5|M_NUL}}} | ||
}}<!-- | }}<!-- | ||
| + | -->{{#hashinclude: skillParamsHash | columns = {{#var:cols}} }}<!-- | ||
-->{{#hashtotemplate: Character sheet/FATE/Skill section | skillParamsHash }}<!-- | -->{{#hashtotemplate: Character sheet/FATE/Skill section | skillParamsHash }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Revision as of 17:04, 30 May 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. |
| {{{name}}} [[{{{campaign}}}]] (NPC)
| ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Aspects | ||||||||||
| ||||||||||
| Skills | ||||||||||
| Stunts | ||||||||||
| FP | 5 | Refresh | 5 | |||||||
| Stress Tracks | Consequences | |||||||||
| health | mild | |||||||||
| composure | moderate | |||||||||
| severe | ||||||||||
{{#set: game system = FATE }}{{#set: parent template = Template:Character_Sheet }}