From GamingWiki
(Created page with "<noinclude>{{Documentation}}</noinclude><!-- -->{{#vardefine:cols|{{{columns|6}}}}}<!-- --> {| class="infobox floatright {{{tableclass|}}}" ! colspan="{{#var:cols}}" | '''''sand...") |
|||
Line 68: | Line 68: | ||
SKILLS | SKILLS | ||
-->{{#ifeq:{{{skillblock|}}}|none||<!-- | -->{{#ifeq:{{{skillblock|}}}|none||<!-- | ||
+ | We will pass a hash to a template. | ||
+ | -->{{#parameterstohash: paramsHash}}<!-- | ||
+ | -->{{#hashinclude: paramsHash | columns = {{#var:cols}} }}<!-- | ||
+ | -->{{#hashdefine: skillParamsKeys | skillblock, skillclass, skilltypes, skillmarkers, skillranks }}<!-- | ||
+ | |||
-->{{#hashdefine: skillblocks | {{#if:{{{skillblock|}}}|{{{skillblock}}}|skills;Skills}} }}<!-- | -->{{#hashdefine: skillblocks | {{#if:{{{skillblock|}}}|{{{skillblock}}}|skills;Skills}} }}<!-- | ||
− | + | -->{{#hashprint: skillblocks || @@@@ | %%%% |<!-- | |
− | -->{{# | + | -->{{#hashintersect: skillParamsHash | paramsHash | skillParamsKeys }}<!-- |
− | + | -->{{#hashinclude: skillParamsHash | |
− | + | | label = %%%% | |
− | + | | skills = {{{@@@@ |}}} | |
− | + | | skills1 = {{{@@@@1|M_NUL}}} | |
− | + | | skills2 = {{{@@@@2|M_NUL}}} | |
− | + | | skills3 = {{{@@@@3|M_NUL}}} | |
− | -->{{# | + | | skills4 = {{{@@@@4|M_NUL}}} |
− | -->{{# | + | | skills5 = {{{@@@@5|M_NUL}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}<!-- | }}<!-- | ||
+ | -->{{#hashtotemplate: Character sheet/FATE/Skill section/sandbox | skillParamHash }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Revision as of 23:06, 4 April 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. |
sandbox | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
{{{charactername}}} [[{{{campaign}}}]] ([[{{{player}}}]])
| ||||||||||
Aspects | ||||||||||
| ||||||||||
Stunts | ||||||||||
FP | 5 | Refresh | 5 | |||||||
Stress Tracks | Consequences | |||||||||
health | mild | |||||||||
composure | moderate | |||||||||
severe | ||||||||||
{{#set: game system = FATE }}{{#set: parent template = Template:Character_Sheet }}