From GamingWiki
(32 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- | <!-- | ||
− | -->{{#vardefine: campaign | {{{campaign<noinclude> | + | -->{{#vardefine: campaign | <!-- |
+ | -->{{{campaign|<noinclude>Terra Φ</noinclude>}}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#vardefine: name | {{{name|{{{character name | {{BASEPAGENAME}} }}} }}} }}<!-- | ||
+ | -->{{#vardefine: description | {{{description | }}} }}<!-- | ||
+ | -->{{#vardefine: role |<!-- | ||
+ | -->{{{role|<!-- | ||
+ | -->{{#ifeq: {{lc:{{{importance}}}}} | major | major NPC |<!-- | ||
+ | -->{{#ifeq: {{lc:{{{importance}}}}} | minor | minor NPC |<!-- | ||
+ | --> NPC <!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}}<!-- | ||
+ | -->}}<!-- | ||
Semantic Mediawiki properties | Semantic Mediawiki properties | ||
-->{{#set: | -->{{#set: | ||
− | | | + | | name = {{#var:name}} |
− | | | + | | is a = {{#var:role}} |
− | | description | + | | campaign = {{#var:campaign}} |
+ | | {{#var:role}} in campaign = {{#var:campaign}} | ||
+ | | description = {{#var:description}} | ||
}}<!-- | }}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{#if: {{{face of|}}} | {{#set: is a = Face | face of = {{{face of}}} }} }}<!-- | -->{{#if: {{{face of|}}} | {{#set: is a = Face | face of = {{{face of}}} }} }}<!-- | ||
-->{{#if: {{{high concept|}}} | {{#set: high concept = {{{high concept}}} }} }}<!-- | -->{{#if: {{{high concept|}}} | {{#set: high concept = {{{high concept}}} }} }}<!-- | ||
+ | -->{{#if: {{{trouble|}}} | {{#set: trouble = {{{trouble}}} }} }}<!-- | ||
+ | -->{{#if: {{{aspects|}}} | {{#arraydefine: aspectsarray | {{{aspects|}}} | ; }} }}<!-- | ||
-->{{#if: {{{motivation|}}} | {{#set: motivation = {{{motivation}}} }} }}<!-- | -->{{#if: {{{motivation|}}} | {{#set: motivation = {{{motivation}}} }} }}<!-- | ||
-->{{#if: {{{relationships|}}} | <!-- | -->{{#if: {{{relationships|}}} | <!-- | ||
-->{{#arraydefine: relationsarray | {{{relationships|}}} | ;; }}<!-- | -->{{#arraydefine: relationsarray | {{{relationships|}}} | ;; }}<!-- | ||
− | -->{{#arrayprint: relationsarray | | @@@@ | {{#set: | + | -->{{#arrayprint: relationsarray | | @@@@ | <!-- |
+ | -->{{#arraydefine: relationsfields | @@@@ | :: }}<!-- | ||
+ | -->{{Relationship <!-- | ||
+ | -->| {{#arrayindex: relationsfields | 1 }} <!-- | ||
+ | -->| {{#arrayindex: relationsfields | 0 }} <!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if: {{{member of|}}} | <!-- | ||
+ | -->{{#arraydefine: orgsarray | {{{member of|}}} | ; }}<!-- | ||
+ | -->{{#arrayprint: orgsarray | | @@@@ | {{#set: member of = @@@@}} }}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if: {{{character sheet|}}}|<!-- | ||
+ | We have specified a template to use for a character sheet. | ||
+ | -->{{#parameterstohash: paramsHash}}<!-- | ||
+ | -->{{#hashinclude:paramsHash|campaign={{#var:campaign}}}}<!-- | ||
+ | -->{{#hashtotemplate:{{{character sheet}}}|paramsHash}}<!-- | ||
+ | -->|<!-- | ||
+ | No character sheet specified | ||
+ | --><nowiki /> | ||
+ | |||
+ | {{{!}} class="infobox floatright {{{tableclass|}}}" | ||
+ | ! colspan="2" {{!}} {{#var:name}} | ||
+ | <!-- | ||
+ | |||
+ | -->{{#if:{{{image|}}}| | ||
+ | {{!}}- | ||
+ | <!-- | ||
+ | -->{{Character sheet/section | columns = 2 <!-- | ||
+ | -->| data1 = [[Image:{{{image}}}|200px]] <!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | |||
+ | --> | ||
+ | {{!}}- | ||
+ | <!-- | ||
+ | -->{{Character sheet/section | columns = 2 <!-- | ||
+ | -->| label1 = High Concept <!-- | ||
+ | -->| data1 = {{aspect|{{{high concept|}}} }} <!-- | ||
+ | -->}}<!-- | ||
+ | |||
+ | -->{{#if:{{{trouble|}}}| | ||
+ | {{!}}- | ||
+ | <!-- | ||
+ | -->{{Character sheet/section | columns = 2 <!-- | ||
+ | -->| label1 = Trouble <!-- | ||
+ | -->| data1 = {{aspect|{{{trouble|}}} }} <!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if:{{{aspects|}}}| | ||
+ | {{!}}- | ||
+ | <!-- | ||
+ | -->{{Character sheet/section | columns = 2 <!-- | ||
+ | -->| label1 = Other aspects <!-- | ||
+ | -->| data1 = {{#arrayprint: aspectsarray |, | @@@@ | {{aspect|@@@@}} }} <!-- | ||
+ | -->}}<!-- | ||
+ | -->}} | ||
+ | {{!}}} | ||
+ | <!-- | ||
+ | -->}}<!-- | ||
+ | |||
+ | Floater listing the stories this character has appeared in | ||
+ | -->{{List of appearances | {{#var:name}} }}<!-- | ||
+ | |||
--> | --> | ||
− | + | ||
− | + | {{#var:description|}} | |
− | + | <includeonly> | |
− | [[Category: {{#var:campaign}}]] | + | [[Category: Non-player characters in {{#var:campaign| no campaign }}]] |
− | + | </includeonly> |
Latest revision as of 20:52, 19 January 2016
{{#set: | name = NPC | is a = NPC | campaign = Terra Φ | NPC in campaign = Terra Φ | description = }}
NPC | |
---|---|
High Concept |
Appearances by NPC | ||||||||
---|---|---|---|---|---|---|---|---|
Starring roles | ||||||||
Template:((#ask: is a :: chapter starring::NPC | ?title= | ?book number= | ?chapter number= | ?blurb= | sort=book number,chapter number | format=template | template=SMW CSV format | sep= |
default=none | ||||||||
Supporting roles | ||||||||
Template:((#ask: is a :: chapter guest-starring::NPC | ?title= | ?book number= | ?chapter number= | ?blurb= | sort=book number,chapter number | format=template | template=SMW CSV format | sep= |
default=none | ||||||||