From GamingWiki
Jump to: navigation, search
Line 1: Line 1:
{{#set: is a =Campaign}}[[Category: Campaigns]]<!--
+
Use this template to indicate that the current page represents a campaign. The syntax for this is:
 +
 
 +
<pre>
 +
  {{Campaign
 +
  | status  = active or inactive
 +
  | system  = Game System Name
 +
  | genre    = Genre(s) separated, by commas
 +
  | image    = [[File: Image name.jpg]]
 +
  }}
 +
</pre>
 +
 
 +
There is not support for explicitly setting the campaign name -- the template will take the name of the page on which it is found. This limitation is by design.
 +
 
 +
<includeonly><onlyinclude><!--
 +
 
 +
-->{{#set: is a = Campaign}}<!--
 +
-->{{#set: campaign = {{PAGENAME}} }}<!--
 +
-->[[Category: Campaigns]]<!--
  
 
   Set some information about this campaign.  
 
   Set some information about this campaign.  
Line 12: Line 29:
 
-->{{#if: {{{image|}}} | {{#set: image ={{{image}}}}} }}<!--
 
-->{{#if: {{{image|}}} | {{#set: image ={{{image}}}}} }}<!--
  
-->
+
--></onlyinclude></includeonly>
 +
 
 +
[[Category: campaign templates]]

Revision as of 13:46, 11 April 2014

Use this template to indicate that the current page represents a campaign. The syntax for this is:

  {{Campaign
  | status   = active or inactive
  | system   = Game System Name
  | genre    = Genre(s) separated, by commas
  | image    = [[File: Image name.jpg]]
  }}

There is not support for explicitly setting the campaign name -- the template will take the name of the page on which it is found. This limitation is by design.