From GamingWiki
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
+ | |||
+ | -->{{#vardefine:cols|{{{columns|2}}}}}<!-- | ||
+ | |||
+ | -->{{#vardefine:name|{{{charactername| {{{character name| {{{name}}} }}} }}} }}<!-- | ||
+ | -->{{#vardefine:campaign|{{{campaign<includeonly>|</includeonly>}}} }}<!-- | ||
-->{{#arraydefine: attributesarray | {{{attributes|}}} | ; }}<!-- | -->{{#arraydefine: attributesarray | {{{attributes|}}} | ; }}<!-- | ||
-->{{#arraydefine: resourcesarray | {{{resources|}}} | ; }}<!-- | -->{{#arraydefine: resourcesarray | {{{resources|}}} | ; }}<!-- | ||
− | |||
− | |||
--> | --> | ||
− | {| class=" | + | {| class="infobox floatright {{{tableclass|}}}" |
− | ! | + | ! colspan="{{#var:cols}}" | [[{{#var:name}}]] <!-- |
− | | [[ | + | --><div class="campaign"><!-- |
+ | --> {{#if: {{#var:campaign|}}| [[{{#var:campaign}}]] }} <!-- | ||
+ | --> {{#if: {{{player|}}}|([[User:{{{player}}}|{{{player}}}]]) }} <!-- | ||
+ | --></div><!-- | ||
+ | -->{{#if: {{{image|}}} |<nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}} colspan="{{#var:cols}}" {{!}} [[Image:{{{image}}}{{!}}thumb{{!}}{{{caption|}}}]] }}<!-- | ||
+ | --> | ||
|- | |- | ||
! Playbook | ! Playbook | ||
− | | [[ | + | | [[uses playbook::{{{Playbook|}}}]] |
|- | |- | ||
− | ! colspan=" | + | ! colspan="{{#var:cols}}" | Attributes <!-- |
-->{{#arrayprint: attributesarray || @@@@ | {{#if:@@@@|<nowiki /> | -->{{#arrayprint: attributesarray || @@@@ | {{#if:@@@@|<nowiki /> | ||
{{!}}- | {{!}}- | ||
! @@@@ | ! @@@@ | ||
− | {{!}} | + | {{!}} {{{@@@@|0}}} {{#set: has skill = @@@@ ; {{{@@@@|0}}} }} }} }} |
<!-- --> | <!-- --> | ||
|- | |- | ||
− | ! colspan=" | + | ! colspan="{{#var:cols}}" | Resources <!-- |
-->{{#arrayprint: resourcesarray || @@@@ | {{#if:@@@@|<nowiki /> | -->{{#arrayprint: resourcesarray || @@@@ | {{#if:@@@@|<nowiki /> | ||
{{!}}- | {{!}}- | ||
! @@@@ | ! @@@@ | ||
− | {{!}} | + | {{!}} {{{@@@@|0}}}{{#set: has skill = @@@@ ; {{{@@@@|0}}} }} }} }} |
<!-- --> | <!-- --> | ||
|}<!-- | |}<!-- | ||
Line 31: | Line 41: | ||
--><includeonly><!-- | --><includeonly><!-- | ||
− | -->[[Category: | + | -->{{#set: campaign = {{{campaign}}} }}<!-- |
+ | -->{{#if:{{#var:name}}|{{#set: has name = {{#var:name}} }}}}<!-- | ||
+ | -->{{#if:{{{status|}}}|{{#set: has status ={{{status}}} }}}}<!-- | ||
+ | -->{{#ifeq:{{lc:{{{player}}}}} | npc <!-- | ||
+ | -->|<!-- | ||
+ | -->{{#set: has player = NPC | is a = NPC | is NPC in campaign = {{#var:campaign}} }}<!-- | ||
+ | -->[[Category: Non-player characters in {{#var:campaign}}]]<!-- | ||
+ | -->|<!-- | ||
+ | player name is not "npc". | ||
+ | -->{{#if:{{{player|}}} <!-- | ||
+ | -->|<!-- | ||
+ | -->{{#set: has player = User:{{{player}}} | is a = PC | is PC in campaign = {{#var:campaign}} }}<!-- | ||
+ | -->[[Category: Player characters in {{#var:campaign}}]]<!-- | ||
+ | -->|<!-- | ||
+ | no player name set at all | ||
+ | -->[[Category: {{{campaign}}}]]<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | |||
+ | --><!-- [[Category: Characters in {{{campaign|unknown campaign}}}]] --><!-- | ||
--></includeonly><!-- | --></includeonly><!-- | ||
--></onlyinclude> | --></onlyinclude> |
Latest revision as of 22:05, 30 May 2014
[[{{{name}}}]] [[{{{campaign}}}]]
| |
---|---|
Playbook | uses playbook:: |
Attributes | |
Resources |