From GamingWiki
Jump to: navigation, search
 
Line 3: Line 3:
 
<pre>
 
<pre>
 
   {{Campaign
 
   {{Campaign
   | status   = active or inactive
+
   | status       = active or inactive
   | system   = Game System Name
+
   | system       = Game System Name
   | genre   = Genre(s) separated, by commas
+
   | genre         = Genre(s) separated, by commas
   | image   = [[File: Image name.jpg]]
+
   | image         = [[File: Image name.jpg]]
 +
  | volume label  = Volume (default)
 +
  | book label    = Book (default)
 +
  | chapter label = Chapter (default)
 
   }}
 
   }}
 
</pre>
 
</pre>
Line 29: Line 32:
 
-->{{#if: {{{image|}}} | {{#set: image ={{{image}}}}} }}<!--
 
-->{{#if: {{{image|}}} | {{#set: image ={{{image}}}}} }}<!--
  
 +
  How does this campaign refer to its sessions, minor arcs and major arcs?
 +
  (default Chapter, Book and Volume respectively)
 +
 +
-->{{#set:
 +
  | uses chapter label={{{chapter label|Chapter}}}
 +
  | uses book label={{{book label|Book}}}
 +
  | uses volume label={{{volume label|Volume}}}
 +
  }}<!--
 
--></onlyinclude></includeonly>
 
--></onlyinclude></includeonly>
  
 
[[Category: campaign templates]]
 
[[Category: campaign templates]]

Latest revision as of 15:50, 5 October 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]]
  | volume label  = Volume (default)
  | book label    = Book (default)
  | chapter label = Chapter (default)
  }}

There is no 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.