From GamingWiki
Jump to: navigation, search
Line 6: Line 6:
 
--><onlyinclude><!--
 
--><onlyinclude><!--
 
-->{{#vardefine: campaign | {{{1| {{#show: {{PAGENAME}} | ?campaign#}} }}} }}<!--
 
-->{{#vardefine: campaign | {{{1| {{#show: {{PAGENAME}} | ?campaign#}} }}} }}<!--
 +
-->{{#vardefine: limit    | {{{2|}}} }}<!--
 
--></onlyinclude><!--
 
--></onlyinclude><!--
  
Line 18: Line 19:
  
 
-->{{#if: {{#var:campaign}} | <!--
 
-->{{#if: {{#var:campaign}} | <!--
   -->{{#ask: [[is NPC in campaign::{{#var:campaign}}]]
+
   -->{{#ask: [[NPC in campaign::{{#var:campaign}}]]
 
   |?high concept=
 
   |?high concept=
 
   | format = ul
 
   | format = ul
 +
  | limit = {{#var:limit}}
 
   | template = SMW character list item
 
   | template = SMW character list item
 
   | default =: No NPCs found for campaign: [[{{#var:campaign}}]]
 
   | default =: No NPCs found for campaign: [[{{#var:campaign}}]]

Revision as of 01:52, 6 July 2014

Get a listing of major NPCs in the given campaign.

The only argument to this template is the campaign name, and if that is omitted the "campaign" property of the current page will be used.

Here is what this template looks like when called on a page belonging to the Ghost Town campaign:

  {{NPC listing}}

{{#ask: NPC in campaign::Ghost Town

  |?high concept=
  | format = ul
  | limit = 
  | template = SMW character list item
  | default =: No NPCs found for campaign: Ghost Town
  }}