From GamingWiki
Jump to: navigation, search
Line 17: Line 17:
 
<onlyinclude><!--
 
<onlyinclude><!--
  
-->{{#ask: [[PC in campaign::{{#var:campaign}}]]
+
-->{{#if: {{#var:campaign}} | <!--
|?high concept # -
+
  -->{{#ask: [[PC in campaign::{{#var:campaign}}]]
|?player=
+
  |?high concept # -
| format = ul
+
  |?player=
| template = SMW character list item
+
  | format = ul
| default =: No PCs found for campaign: [[{{#var:campaign}}]]
+
  | template = SMW character list item
}}<!--
+
  | default =: No PCs found for campaign: [[{{#var:campaign}}]]
 +
  }}<!--
 +
-->}}<!--
  
 
--></onlyinclude>
 
--></onlyinclude>
 
[[Category: campaign templates]]
 
[[Category: campaign templates]]

Revision as of 20:29, 30 May 2014

Get a listing of PCs 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 Humans are the Worst campaign:

  {{PC listing}}

{{#ask: PC in campaign::Humans are the Worst

  |?high concept # -
  |?player=
  | format = ul
  | template = SMW character list item
  | default =: No PCs found for campaign: Humans are the Worst
  }}