From GamingWiki
Line 13: | Line 13: | ||
-->{{#vardefine: expandbook | {{#hashvalue: userParams | expandbook}} }}<!-- | -->{{#vardefine: expandbook | {{#hashvalue: userParams | expandbook}} }}<!-- | ||
− | We can optionally specify different labels | + | We can optionally specify different labels. Here is a somewhat complicated set of defaults: |
− | -->{{#vardefine: booklabel | {{#hashvalue: userParams | booklabel}} }}<!-- | + | -->{{#vardefine: booklabel | {{{5|}}} }}<!-- |
− | -->{{#vardefine: | + | -->{{#vardefine: booklabel | {{#var:booklabel| {{#hashvalue: userParams | booklabel}} }}<!-- |
+ | -->{{#vardefine: booklabel | {{#var:booklabel| Book }}<!-- | ||
-->{{Campaign timeline bookline | -->{{Campaign timeline bookline | ||
− | | label = | + | | label = {{#var:booklabel}} |
| 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: booklabel | {{#vardefine: booklabel | Book
Campaign Timeline | |
---|---|
{{{3}}}: [[{{{1}}}|{{{2}}}]] | |