From GamingWiki
Line 8: | Line 8: | ||
{{Campaign timeline intro}} | {{Campaign timeline intro}} | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
− | |||
-->{{#hashdefine: userParams | {{{userparam|}}} }}<!-- | -->{{#hashdefine: userParams | {{{userparam|}}} }}<!-- | ||
− | We can optionally specify different labels | + | We can optionally specify different labels. Here is a somewhat complicated set of defaults: |
− | -->{{#vardefine: chapterlabel | {{#hashvalue: userParams | chapterlabel}} }}<!-- | + | -->{{#vardefine: chapterlabel | {{{5|}}} }}<!-- |
+ | -->{{#vardefine: chapterlabel | {{#chapterlabel| {{#hashvalue: userParams | chapterlabel}} }}<!-- | ||
+ | -->{{#vardefine: chapterlabel | {{#chapterlabel| Chapter }}<!-- | ||
-->{{Campaign timeline chapterline | -->{{Campaign timeline chapterline | ||
− | | label = | + | | label = {{#var:chapterlabel}} |
| ordinal = {{{3}}} | | ordinal = {{{3}}} | ||
| title = {{{2}}} | | title = {{{2}}} |
Revision as of 17:23, 11 April 2014
Positional parameters for this template are:
- page
- title
- ordinal
- blurb
- label
{{#vardefine: chapterlabel | {{#chapterlabel| }}{{#vardefine: chapterlabel | {{#chapterlabel| Chapter }}
Campaign Timeline | |
---|---|
{{{3}}}: | [[{{{1}}}|{{{2}}}]] |