From GamingWiki
Jump to: navigation, search
Line 14: Line 14:
 
--><div class="campaign"><!--
 
--><div class="campaign"><!--
 
   --> {{#if: {{#var:campaign|}}| [[Campaign::{{#var:campaign}}]] }} <!--
 
   --> {{#if: {{#var:campaign|}}| [[Campaign::{{#var:campaign}}]] }} <!--
   --> {{#if: {{{player|}}}|([[{{{player}}}]]) }} <!--
+
   --> {{#if: {{{player|}}}|([[User:{{{player}}}|{{{player}}}]]) }} <!--
 
--></div><!--  
 
--></div><!--  
 
-->{{#if: {{{image|}}} |<nowiki />
 
-->{{#if: {{{image|}}} |<nowiki />
Line 41: Line 41:
 
--><includeonly><!--
 
--><includeonly><!--
  
-->[[Category: Characters in {{{campaign|unknown campaign}}}]]<!--
+
-->{{#set: campaign      = {{{campaign}}}      }}<!--
 +
-->{{#if:{{#var:name}}|{{#set: name = {{#var:name}} }}}}<!--
 +
-->{{#if:{{{status|}}}|{{#set: status = {{{status}}} }}}}<!--
 +
-->{{#ifeq:{{lc:{{{player}}}}} | npc <!--
 +
-->|<!--
 +
    -->{{#set: player        = NPC          | is a = NPC | NPC in campaign = {{#var:campaign}} }}<!--
 +
    -->[[Category: Non-player characters in {{#var:campaign}}]]<!--
 +
-->|<!--
 +
      player name is not "npc".
 +
  -->{{#if:{{{player|}}} <!--
 +
  -->|<!--
 +
      -->{{#set: player        = User:{{{player}}} | is a = PC  | 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>

Revision as of 05:17, 29 November 2012

[[Name::{{{name}}}]]
[[Campaign::{{{campaign}}}]]
Playbook Playbook::
Attributes
Resources