From GamingWiki
Jump to: navigation, search
Line 1: Line 1:
{| class="infobox floatright {{{cssclass|}}}"
+
<!--
! colspan="2" | [[{{{campaign}}}]]<br /><small>Campaign Timeline</small> <!--
+
 
 +
  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 />
      -->{{#vardefine: chapnum| {{#expr:{{#var:chapnum}}+1}} }}<!--
 
      --><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}}}]]