From GamingWiki
(Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> Given a campaign name, print out a summary of the whole campaign his...") |
|||
Line 6: | Line 6: | ||
<pre>{{Campaign history | Humans are the Worst}}</pre> | <pre>{{Campaign history | Humans are the Worst}}</pre> | ||
+ | |||
+ | === Parameters === | ||
+ | |||
+ | ==== campaign ==== | ||
+ | |||
+ | Specify the campaign to query. May be specified with the parameter name or as the first parameter, so the following are equivalent: | ||
+ | <pre>{{Campaign history | Humans are the Worst}}</pre> | ||
+ | <pre>{{Campaign history | campaign=Humans are the Worst}}</pre> | ||
+ | |||
+ | This parameter may be omitted when used on a campaign page, and will use <code>{{PAGENAME}}</code> as the campaign name. | ||
+ | |||
+ | ==== expand ==== | ||
+ | |||
+ | Should volumes and books be expanded to show their contents? Valid values are: | ||
+ | * <code>all</code> (default): expand everything, showing all chapters | ||
+ | * <code>book</code>: 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. | ||
+ | * <code>volume</code>: 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. | ||
+ | * <code>none</code>: Don't expand anything. Only list volume, book and chapter titles with no blurbs or other information. | ||
+ | |||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| |
Latest revision as of 15:08, 7 October 2014
Given a campaign name, print out a summary of the whole campaign history.
Contents
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/doc
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 chaptersbook
: 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.