From GamingWiki
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
# ordinal | # ordinal | ||
# blurb | # blurb | ||
+ | # label | ||
{{Campaign timeline intro}} | {{Campaign timeline intro}} | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
+ | -->{{#hashdefine: userParams | {{{userparam|}}} }}<!-- | ||
+ | |||
+ | We can optionally specify different labels. Here is a somewhat complicated set of defaults: | ||
+ | -->{{#vardefine: chapterlabel | {{{5|}}} }}<!-- | ||
+ | -->{{#vardefine: chapterlabel | {{#var: chapterlabel| {{#hashvalue: userParams | chapterlabel}} }} }}<!-- | ||
+ | -->{{#vardefine: chapterlabel | {{#var: chapterlabel| Chapter }} }}<!-- | ||
+ | |||
-->{{Campaign timeline chapterline | -->{{Campaign timeline chapterline | ||
− | | label = {{ | + | | label = {{#var:chapterlabel}} |
| ordinal = {{{3}}} | | ordinal = {{{3}}} | ||
| title = {{{2}}} | | title = {{{2}}} |
Latest revision as of 17:26, 11 April 2014
Positional parameters for this template are:
- page
- title
- ordinal
- blurb
- label
Campaign Timeline | |
---|---|
Chapter {{{3}}}: | [[{{{1}}}|{{{2}}}]] |