From GamingWiki
Line 14: | Line 14: | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
− | + | -->{{#if: {{#var:campaign}} | <!-- | |
− | -->{{#ask: [[Organization in campaign::{{#var:campaign}}]] | + | -->{{#ask: [[Organization in campaign::{{#var:campaign}}]] |
− | |?high concept= | + | |?high concept= |
− | | format = ul | + | | format = ul |
− | | template = SMW character list item | + | | template = SMW character list item |
− | | default =: No organizations found for campaign: [[{{#var:campaign}}]] | + | | default =: No organizations found for campaign: [[{{#var:campaign}}]] |
+ | }}<!-- | ||
}}<!-- | }}<!-- | ||
--></onlyinclude> | --></onlyinclude> | ||
[[Category: campaign templates]] | [[Category: campaign templates]] |
Revision as of 20:25, 30 May 2014
Get a listing of organizations 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 Steel Town campaign:
{{Organization listing}}
{{#if: Steel Town | {{#ask: Organization in campaign::Steel Town
|?high concept= | format = ul | template = SMW character list item | default =: No organizations found for campaign: Steel Town }}