From GamingWiki
Jump to: navigation, search
(Created page with "{{#set: is a = Campaign }}Category: Campaigns<!-- Set some information about this campaign. -->{{#set: status = {{{status|unknown}}} }}<!-- -->{{#set: system = {{{syste...")
 
 
(6 intermediate revisions by the same user not shown)
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]]
 +
  | volume label  = Volume (default)
 +
  | book label    = Book (default)
 +
  | chapter label = Chapter (default)
 +
  }}
 +
</pre>
 +
 
 +
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.
 +
 
 +
<includeonly><onlyinclude><!--
 +
 
 +
-->{{#set: is a = Campaign}}<!--
 +
-->{{#set: campaign = {{PAGENAME}} }}<!--
 +
-->[[Category: Campaigns]]<!--
  
 
   Set some information about this campaign.  
 
   Set some information about this campaign.  
  
-->{{#set: status = {{{status|unknown}}} }}<!--
+
-->{{#set: status ={{{status|unknown}}}}}<!--
-->{{#set: system = {{{system|unknown}}} }}<!--
+
-->{{#set: system ={{{system|unknown}}}}}<!--
 +
-->{{#if: {{{system|}}} | [[Category: {{{system}}}]] }}<!--
 
-->{{#if: {{{genre|}}} |<!--
 
-->{{#if: {{{genre|}}} |<!--
 
   -->{{#arraydefine: genres | {{{genre}}} }}<!--
 
   -->{{#arraydefine: genres | {{{genre}}} }}<!--
 
   -->{{#arrayprint: genres || %%%% | [[Category: %%%%]]{{#set: genre=%%%%}} }}<!--
 
   -->{{#arrayprint: genres || %%%% | [[Category: %%%%]]{{#set: genre=%%%%}} }}<!--
 
-->}}<!--
 
-->}}<!--
[[Category: Campaigns]][[status::inactive| ]]
+
-->{{#if: {{{image|}}} | {{#set: image ={{{image}}}}} }}<!--
[[Category: Pulp]]
+
 
[[Category: Spirit of the Century]]
+
  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>
 +
 
 +
[[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.