From GamingWiki
Jump to: navigation, search
Line 43: Line 43:
 
--><includeonly>[[Category: {{{category|{{#var:campaign}} stories}}}]]</includeonly><!--
 
--><includeonly>[[Category: {{{category|{{#var:campaign}} stories}}}]]</includeonly><!--
 
-->{{#if: {{{ordinal|}}}      | {{#set: {{#var:storytype}} number = {{{ordinal}}} | ordinal = {{{ordinal}}} }} }}<!--
 
-->{{#if: {{{ordinal|}}}      | {{#set: {{#var:storytype}} number = {{{ordinal}}} | ordinal = {{{ordinal}}} }} }}<!--
-->{{#if: {{#var:parent}}        | {{#set: parent = {{#var:parent}} | chapter in book = {{#var:parent}} }} }}<!--
+
-->{{#if: {{#var:parent}}        | {{#set: has parent story = {{#var:parent}} | chapter in book = {{#var:parent}} }} }}<!--
 
-->{{#if: {{{parentordinal|}}} <!--
 
-->{{#if: {{{parentordinal|}}} <!--
 
   -->| {{#set: book number = {{{parentordinal}}} }} <!--
 
   -->| {{#set: book number = {{{parentordinal}}} }} <!--

Revision as of 21:51, 30 May 2014

[edit] [purge]
Error creating thumbnail: File missing
Template documentation

Given a campaign name, print out a summary of the whole campaign history.

Usage[edit]

{{Campaign history | Humans are the Worst}}

Parameters[edit]

campaign[edit]

Specify the campaign to query. May be specified with the parameter name or as the first parameter, so the following are equivalent:

{{Campaign history | Humans are the Worst}}
{{Campaign history | campaign=Humans are the Worst}}

This parameter may be omitted when used on a campaign page, and will use Campaign history as the campaign name.

expand[edit]

Should volumes and books be expanded to show their contents? Valid values are:

  • all (default): expand everything, showing all chapters
  • book: expand to the level of books. The blurb and other details for each book are displayed, as well as links to each chapter. However, chapter details are hidden.
  • volume: expand to the level of volumes. The blurb and other details for each volume are displayed, as well as links to each book and to each chapter. However, book and chapter details are hidden.
  • none: Don't expand anything. Only list volume, book and chapter titles with no blurbs or other information.

Campaign Timeline
?has title= ?has ordinal= ?has blurb= sort = ordinal link = none format = template template = SMW campaign timeline ?book number# | default=latest }}
               , booklabel ;  
               , chapterlabel ; 

}}

{{#set:

  | title  = Story title
  | is a   = book
  | book of = Steel Town

}}{{#set: book number = {{#ask: M_NUL |?ordinal= | link=none }} }}

Story title

(played [[session date::{{{date}}}]])

{{#ask: |Story title |?title |?chapter number |?blurb |?empty |?label |?image |?parentordinal | sort = chapter number | link = none | format = template | template = SMW campaign chapters level 3 }}