From GamingWiki
Jump to: navigation, search
 
(13 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
-->{{#vardefine: campaign    | <!--
 
-->{{#vardefine: campaign    | <!--
   -->{{{campaign|<includeonly>Property: Campaign</includeonly><noinclude>Terra Φ</noinclude>}}}<!--
+
   -->{{{campaign|<noinclude>Terra Φ</noinclude>}}}<!--
 
-->}}<!--
 
-->}}<!--
-->{{#vardefine: name        | {{{name|{{{character name | Property: Name }}}    }}} }}<!--
+
-->{{#vardefine: name        | {{{name|{{{character name | {{BASEPAGENAME}} }}}    }}} }}<!--
-->{{#vardefine: description | {{{description            | Property: Description }}} }}<!--
+
-->{{#vardefine: description | {{{description            | }}} }}<!--
 
-->{{#vardefine: role        |<!--
 
-->{{#vardefine: role        |<!--
 
   -->{{{role|<!--
 
   -->{{{role|<!--
       -->{{#ifeq: {{lc:{{{importance}}}}} | major | major NPC | minor NPC }}<!--
+
       -->{{#ifeq: {{lc:{{{importance}}}}} | major | major NPC |<!--
 +
        -->{{#ifeq: {{lc:{{{importance}}}}} | minor | minor NPC |<!--
 +
            --> NPC <!--
 +
        -->}}<!--
 +
      -->}}<!--
 
   -->}}}<!--
 
   -->}}}<!--
 
-->}}<!--
 
-->}}<!--
Line 23: Line 27:
 
-->{{#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|}}} | <!--
Line 43: Line 49:
 
   -->{{#hashinclude:paramsHash|campaign={{#var:campaign}}}}<!--
 
   -->{{#hashinclude:paramsHash|campaign={{#var:campaign}}}}<!--
 
   -->{{#hashtotemplate:{{{character sheet}}}|paramsHash}}<!--
 
   -->{{#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 |,&nbsp; | @@@@ | {{aspect|@@@@}} }} <!--
 +
  -->}}<!--
 +
-->}}
 +
{{!}}}
 +
<!--
 
-->}}<!--
 
-->}}<!--
  
Line 50: Line 98:
 
-->
 
-->
  
{{#var:description}}
+
{{#var:description|}}
[[Category: {{#var:campaign}}]]
+
<includeonly>
[[Category: Non-player characters]]
+
[[Category: Non-player characters in {{#var:campaign| no campaign }}]]
[[Category: Characters in {{#var: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

Template:))

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

Template:))