From GamingWiki
(37 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- | <!-- | ||
+ | |||
+ | @todo more sub-templates, like the skill block one | ||
--><onlyinclude><!-- | --><onlyinclude><!-- | ||
− | -->{{#vardefine:cols|{{{columns|6}}}}}<!-- | + | |
+ | -->{{#parameterstohash: paramsHash}}<!-- | ||
+ | |||
+ | -->{{#vardefine:cols |{{{columns|6}}}}}<!-- | ||
+ | -->{{#vardefine:cols_l|{{#expr: ceil( {{#var: cols}} / 2 ) }} }}<!-- | ||
+ | -->{{#vardefine:cols_r|{{#expr: ( {{#var: cols}} - {{#var: cols_l}} ) }} }}<!-- | ||
+ | |||
+ | -->{{#vardefine:contentcols |{{#expr: ( {{#var: cols }} - 1 ) }} }}<!-- | ||
+ | -->{{#vardefine:contentcols_l|{{#expr: ( {{#var: cols_l}} - 1 ) }} }}<!-- | ||
+ | -->{{#vardefine:contentcols_r|{{#expr: ( {{#var: cols_r}} - 1 ) }} }}<!-- | ||
-->{{#vardefine:name|{{{charactername| {{{character name| {{{name}}} }}} }}} }}<!-- | -->{{#vardefine:name|{{{charactername| {{{character name| {{{name}}} }}} }}} }}<!-- | ||
Line 12: | Line 23: | ||
--><div class="campaign"><!-- | --><div class="campaign"><!-- | ||
--> {{#if: {{#var:campaign}}| [[{{#var:campaign}}]] }} <!-- | --> {{#if: {{#var:campaign}}| [[{{#var:campaign}}]] }} <!-- | ||
− | --> {{#if: {{{player|}}}|([[{{{player}}}]]) }} <!-- | + | --> {{#if: {{{player|}}}|([[User:{{{player}}}|{{{player}}}]]) }} <!-- |
--></div> | --></div> | ||
|-<!-- | |-<!-- | ||
− | Sections at the top of the sheet, such as High Concept and Trouble | + | Sections at the top of the sheet, such as High Concept and Trouble. |
-->{{#hashdefine: topsectionhash }}<!-- | -->{{#hashdefine: topsectionhash }}<!-- | ||
Line 53: | Line 64: | ||
ASPECTS | ASPECTS | ||
− | + | -->{{#hashtotemplate: {{{aspect section template | Character sheet/FATE/Aspect section}}} | paramsHash }}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | -->{{# | ||
− | |||
− | |||
− | |||
− | }} | ||
SKILLS | SKILLS | ||
− | -->{{# | + | -->{{#hashtotemplate: {{{skill section template | Character sheet/FATE/Skill section}}} | paramsHash }}<!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
STUNTS | STUNTS | ||
− | + | -->{{#hashtotemplate: {{{stunt section template | Character sheet/FATE/Stunt section}}} | paramsHash }}<!-- | |
− | --> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Extra sections | Extra sections | ||
Line 136: | Line 80: | ||
-->{{{data{{#var: sectnum}}|}}}<!-- | -->{{{data{{#var: sectnum}}|}}}<!-- | ||
-->|<!-- | -->|<!-- | ||
− | -->{{#if:{{{header{{#var: sectnum}}|}}}|<!-- | + | -->{{#if:{{#vardefineecho:sectheader|{{{header{{#var: sectnum}}|}}}}}|<!-- |
− | + | Draw a header | |
− | -->{{Character sheet/section | columns = {{#var:cols}} <!-- | + | -->{{Character sheet/section subhead |{{#var:sectheader}}g| columns = {{#var:cols}} }}<!-- |
− | + | --><!--{{Character sheet/section | columns = {{#var:cols}} --><!-- | |
− | + | --><!--| header1 = {{{header{{#var: sectnum}}|}}} --><!-- | |
− | + | --><!--}}--><!-- | |
− | |||
− | |||
-->|<!-- if no header | -->|<!-- if no header | ||
-->{{Character sheet/section | columns = {{#var:cols}} <!-- | -->{{Character sheet/section | columns = {{#var:cols}} <!-- | ||
− | -->| label1 = {{{label{{#var: sectnum}}|}}} <!-- | + | -->| label1 = {{{label{{#var: sectnum}}|}}}h <!-- |
− | -->| data1 = {{{data{{#var: sectnum}}|}}} <!-- | + | -->| data1 = {{{data{{#var: sectnum}}|}}}j <!-- |
-->}}<!-- | -->}}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
-->}}<!-- end if | -->}}<!-- end if | ||
-->{{#vardefine: sectnum | {{#expr: {{#var: sectnum}} + 1}} }}<!-- | -->{{#vardefine: sectnum | {{#expr: {{#var: sectnum}} + 1}} }}<!-- | ||
Line 170: | Line 107: | ||
-->}}<!-- | -->}}<!-- | ||
− | + | STRESS AND CONSEQUENCES | |
− | + | -->{{#hashtotemplate: {{{stress section template | Character sheet/FATE/Stress and Consequences section}}} | paramsHash }}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->{{# | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | FOOTER | |
− | |||
− | --> | + | --><nowiki/> |
|- | |- | ||
| colspan="{{#var:cols}}" | {{navbar|{{{template name|Character sheet/FATE}}}|mini=1}} | | colspan="{{#var:cols}}" | {{navbar|{{{template name|Character sheet/FATE}}}|mini=1}} | ||
Line 241: | Line 123: | ||
Semantic MediaWiki keys and categories for any *page* using this template | Semantic MediaWiki keys and categories for any *page* using this template | ||
− | -->{{#set: campaign = {{{campaign}}} }}<!-- | + | -->{{#set: campaign = {{{campaign}}} }}<!-- @todo: remove this |
− | -->{{#if:{{#var:name}}|{{#set: name = {{#var:name}} }}}}<!-- | + | -->{{#set: is in campaign = {{{campaign}}} }}<!-- |
+ | -->{{#if:{{#var:name}}|{{#set: has name ={{#var:name}}}}}}<!-- | ||
+ | -->{{#if:{{{status|}}}|{{#set: has status ={{{status}}}}}}}<!-- | ||
-->{{#ifeq:{{lc:{{{player}}}}} | npc <!-- | -->{{#ifeq:{{lc:{{{player}}}}} | npc <!-- | ||
-->|<!-- | -->|<!-- | ||
Line 255: | Line 139: | ||
-->|<!-- | -->|<!-- | ||
no player name set at all | no player name set at all | ||
− | -->[[Category: {{ | + | -->[[Category: Characters in {{#var:campaign}}]]<!-- |
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{blurb|}}} |{{#set: blurb = {{{blurb}}} }}}}<!-- | -->{{#if:{{{blurb|}}} |{{#set: blurb = {{{blurb}}} }}}}<!-- | ||
+ | |||
+ | If we have relationships defined, save the information. | ||
+ | -->{{#if: {{{relationships|}}} | <!-- | ||
+ | -->{{#arraydefine: relationsarray | {{{relationships|}}} | ;; }}<!-- | ||
+ | -->{{#arrayprint: relationsarray | | @@@@ | <!-- | ||
+ | -->{{#arraydefine: relationsfields | @@@@ | :: }}<!-- | ||
+ | -->{{Relationship <!-- | ||
+ | -->| {{#arrayindex: relationsfields | 1 }} <!-- | ||
+ | -->| {{#arrayindex: relationsfields | 0 }} <!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
--></includeonly><!-- | --></includeonly><!-- | ||
− | --><onlyinclude><!-- | + | --></onlyinclude><!-- |
Latest revision as of 17:39, 3 February 2016
{{{name}}} [[{{{campaign}}}]]
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Aspects | ||||||||||
Skills | ||||||||||
Stunts | ||||||||||
FP | 5 | Refresh | 5 | |||||||
health | ||||||||||
composure | ||||||||||
mild | ||||||||||
moderate | ||||||||||
severe | ||||||||||
{{#set: game system = FATE }}{{#set: parent template = Template:Character_Sheet }}
[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. |