From GamingWiki
Line 5: | Line 5: | ||
-->{{#vardefine: campaign | {{{campaign|{{{1| {{#show: {{PAGENAME}} | ?campaign#}} }}} }}} }}<!-- | -->{{#vardefine: campaign | {{{campaign|{{{1| {{#show: {{PAGENAME}} | ?campaign#}} }}} }}} }}<!-- | ||
− | --><noinclude>{{#vardefine: campaign | | + | --><noinclude>{{#vardefine: campaign | Humans are the Worst }}</noinclude><!-- |
Find out if this is a book or a chapter: | Find out if this is a book or a chapter: | ||
Line 22: | Line 22: | ||
Timeline goes first | Timeline goes first | ||
− | -->{{#vardefine:timeline|{{Campaign timeline | {{#var:campaign}} }} }}<!-- | + | --><!--{{#vardefine:timeline|{{Campaign timeline | {{#var:campaign}} }} }}--><!-- |
− | -->{{#var:timeline}}<!-- | + | --><!--{{#var:timeline}}--><!-- |
Set SMW properties and category memberships | Set SMW properties and category memberships |
Revision as of 14:44, 5 October 2014
[edit] [ ]
Error creating thumbnail: File missing
Template documentationGiven 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 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.
The above documentation is transcluded from Template:Campaign history/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
{{#set:
| title = Story title | is a = book | book of = Humans are the Worst
}}{{#set: book number = {{#ask: M_NUL |?ordinal= | link=none |searchlabel= }} }}
Story title
{{#ask: |Story title |?title |?chapter number |?blurb |?empty |?label |?image |?parentordinal | sort = chapter number | link = none | format = template | template = SMW campaign chapters level 3 }}