From GamingWiki
Line 1: | Line 1: | ||
− | + | <!-- | |
− | + | ||
+ | We can optionally specify different labels | ||
-->{{#vardefine:booklabel|{{{booklabel|Book}}} }}<!-- | -->{{#vardefine:booklabel|{{{booklabel|Book}}} }}<!-- | ||
-->{{#vardefine:chapterlabel|{{{chapterlabel|Chapter}}} }}<!-- | -->{{#vardefine:chapterlabel|{{{chapterlabel|Chapter}}} }}<!-- | ||
+ | |||
+ | -->{| class="infobox floatright {{{cssclass|}}}" | ||
+ | ! colspan="2" | Campaign Timeline <!-- | ||
+ | -->{{#if: {{{campaign<includeonly>|</includeonly>}}}|<div class="campaign"><!-- | ||
+ | --> [[{{{campaign}}}]] <!-- | ||
+ | --><includeonly>[[Category: {{{campaign}}}]]</includeonly><!-- | ||
+ | --></div>}}<!-- end if campaign | ||
-->{{#fornumargs: booknum | bookstring |<!-- | -->{{#fornumargs: booknum | bookstring |<!-- | ||
Line 13: | Line 21: | ||
-->{{#vardefine: chapnum| 0 }}<!-- | -->{{#vardefine: chapnum| 0 }}<!-- | ||
− | -->{{#arrayprint: chapterarray | | @@@@ | | + | -->{{#arrayprint: chapterarray | | @@@@ |<nowiki /> |
− | |||
− | |||
{{!}}- | {{!}}- | ||
− | {{!}} class="label" {{!}} {{#var:chapterlabel}} {{#var:chapnum}} {{!}}{{!}} @@@@ <!-- | + | {{!}} class="label" {{!}} {{#var:chapterlabel}} <!-- |
− | + | -->{{#vardefineecho: chapnum | {{#expr:{{#var:chapnum}}+1}} }}<!-- | |
+ | --> {{!}}{{!}} @@@@ <!-- | ||
-->}}<!-- end arrayprint | -->}}<!-- end arrayprint | ||
Revision as of 19:37, 14 March 2011
Campaign Timeline [[{{{campaign}}}]]
|
---|