From GamingWiki
Jump to: navigation, search
Line 1: Line 1:
 
<!--
 
<!--
  
-->{{#vardefine: campaign | {{{campaign<noinclude>|Terra Φ</noinclude>}}} }}<!--
+
-->{{#vardefine: campaign   | <!--
 +
  -->{{{campaign|<includeonly>Property: Campaign</includeonly><noinclude>Terra Φ</noinclude>}}}<!--
 +
-->}}<!--
 +
-->{{#vardefine: name        | {{{name|{{{character name | Property: Name }}}    }}} }}<!--
 +
-->{{#vardefine: description | {{{description            | Property: Description }}} }}<!--
 +
-->{{#vardefine: role        |<!--
 +
  -->{{{role|<!--
 +
      -->{{#ifeq: {{lc:{{{importance}}}}} | major | major NPC | minor NPC }}<!--
 +
  -->}}}<!--
 +
-->}}<!--
  
 
   Semantic Mediawiki properties
 
   Semantic Mediawiki properties
  
 
-->{{#set:
 
-->{{#set:
| campaign      = {{#var:campaign}}
+
| name                      = {{#var:name}}
| name          = {{{name|{{{character name}}}}}}
+
| is a                      = {{#var:role}}
| description   = {{{description}}}
+
| {{#var:role}} in campaign = {{#var:campaign}}
 +
| description               = {{#var:description}}
 
}}<!--
 
}}<!--
-->{{#switch: {{lc:{{{importance}}}}}<!--
 
  -->| major = <!--
 
      -->{{#set: is a = major NPC | major NPC in campaign = {{#var:campaign}} }}<!--
 
  -->| minor <!--
 
  -->| <!--
 
      -->{{#set: is a = minor NPC | minor NPC in campaign = {{#var:campaign}} }}<!--
 
      --><!--{{#set: is a = NPC      | NPC in campaign      = {{#var:campaign}} }}--><!--
 
-->}}<!--
 
 
-->{{#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}}} }} }}<!--
Line 32: Line 34:
 
   -->{{#hashtotemplate:{{{character sheet}}}|paramsHash}}<!--
 
   -->{{#hashtotemplate:{{{character sheet}}}|paramsHash}}<!--
 
-->}}
 
-->}}
{{{description|}}}
+
{{#var:description}}
 
{{Characters in {{#var:campaign}}|}}
 
{{Characters in {{#var:campaign}}|}}
 
[[Category: {{#var:campaign}}]]
 
[[Category: {{#var:campaign}}]]
 
[[Category: Non-player characters]]
 
[[Category: Non-player characters]]
 
[[Category: Characters in {{#var:campaign}}]]
 
[[Category: Characters in {{#var:campaign}}]]

Revision as of 14:26, 3 June 2011

{{#set: | name = Property: Name | is a = minor NPC | minor NPC in campaign = Terra Φ | description = Property: Description }}

Property: Description