From GamingWiki
Jump to: navigation, search
Line 2: Line 2:
  
 
--><onlyinclude><!--
 
--><onlyinclude><!--
 +
 +
-->{{#parameterstohash: paramsHash}}<!--
 +
 
-->{{#vardefine:cols  |{{{columns|6}}}}}<!--
 
-->{{#vardefine:cols  |{{{columns|6}}}}}<!--
 
-->{{#vardefine:cols_l|{{#expr: ceil( {{#var: cols}} / 2 ) }} }}<!--
 
-->{{#vardefine:cols_l|{{#expr: ceil( {{#var: cols}} / 2 ) }} }}<!--
Line 71: Line 74:
  
 
   SKILLS
 
   SKILLS
-->{{#vardefine: skill section template | {{{skill section template | Character sheet/FATE/Skill section}}} }}<!--
+
-->{{#hashtotemplate: {{{skill section template | Character sheet/FATE/Skill section}}} | skillParamsHash }}<!--
-->{{#ifeq:{{{skillblock|}}}|none|<!--
 
  --><!--{{Character sheet/section | columns = {{#var:cols}} | subhead = no skill block }}--><!--
 
  -->|<!--
 
  --><!--{{Character sheet/section | columns = {{#var:cols}} | subhead = upcoming skill block: }}--><!--
 
    We will pass a hash to a template.
 
  -->{{#parameterstohash: paramsHash}}<!--
 
    The following are the keys from the params to this template which
 
    we will pass through to the skill block template:
 
  -->{{#hashdefine:      skillParamsKeys |
 
        skillblock, skillclass, skilltypes, skillmarkers, skillranks, defaultskillpoints
 
      }}<!--
 
 
 
  -->{{#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}}}
 
      }}<!--
 
      -->{{#hashinclude:      skillParamsHash | columns = {{#var:cols}} }}<!--
 
      -->{{#hashtotemplate:  {{#var: skill section template}} | skillParamsHash }}<!--
 
  -->}}<!--
 
 
 
-->}}<!--
 
 
END SKILLS
 
END SKILLS
  

Revision as of 20:39, 13 May 2014

  1. REDIRECT Template:Character sheet/section subhead{{#loop: colnum | 1 | 3 |
{{{name}}}
[[{{{campaign}}}]]
Aspects
Stunts
FP 5 Refresh 5
health
 
 
 
 
 
health
 
 
 
 
 
mild
composure
 
 
 
 
 
composure
 
 
 
 
 
moderate
severe

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

[create]
Error creating thumbnail: File missing
Template documentation