From GamingWiki
Jump to: navigation, search
(Created page with "{| class="infobox floatright {{{cssclass|}}}" ! colspan="2" | [[{{{campaign}}}]]<br /><small>Campaign Timeline</small> <!-- -->{{#vardefine:booklabel|{{{booklabel|Book}}}}}<!-- -...")
 
Line 2: Line 2:
 
! colspan="2" | [[{{{campaign}}}]]<br /><small>Campaign Timeline</small> <!--
 
! colspan="2" | [[{{{campaign}}}]]<br /><small>Campaign Timeline</small> <!--
 
-->{{#vardefine:booklabel|{{{booklabel|Book}}}}}<!--
 
-->{{#vardefine:booklabel|{{{booklabel|Book}}}}}<!--
-->{{#hashdefine:booktitles}}<!--
 
 
-->{{#vardefine:chapterlabel|{{{chapterlabel|Chapter}}}}}<!--
 
-->{{#vardefine:chapterlabel|{{{chapterlabel|Chapter}}}}}<!--
-->{{#hashdefine:bookchapters}}<!--
 
-->{{#hashdefine:chapterhash}}<!--
 
-->{{#vardefine: content |{{{content|{{{1|}}} }}} }}<!--
 
  
-->{{#forargs: book | booknum | bookname |<!--
+
-->{{#fornumargs: booknum | bookstring |<!--
   -->{{#hashreset:chapterhash}}<!--
+
   -->{{#arraydefine: bookarray | {{#var:bookstring}} | ;; }}<!--
  -->{{#forargs: chapter {{#var:booknum}}. | chapnum | chapname |<!--
+
   -->{{#vardefine: booktitle | {{#arrayindex: bookarray | 0 }} }}<!--
      -->{{#hashinclude: chapterhash | {{#var:chapnum}} | {{#var: chapname}} }}<!--
+
   -->{{#arrayslice: chapterarray | bookarray | 1 }}<!--
   -->}}<!-- end forargs
+
   -->
-->}}<!-- end forargs
 
-->{{#vardefine:booknum|0}}<!--
 
-->{{#vardefine:rownum|0}}<!--
 
-->{{#while: | <!--
 
  -->{{#vardefineecho: booktitle|{{{book {{#vardefineecho: booknum| {{#expr:{{#var:booknum}}+1}} }}|}}} }}<!--
 
-->|<!--
 
   -->{{#vardefine: rownum| {{#expr:{{#var:rownum}}+1}} }}<!--
 
   --><nowiki />
 
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" class="subhead" {{!}} {{#var:booklabel}} {{#var: booknum}}: {{#var: booktitle}}<!--
 
{{!}} colspan="2" class="subhead" {{!}} {{#var:booklabel}} {{#var: booknum}}: {{#var: booktitle}}<!--
   -->{{#vardefine:chapnum|1}}<!--
+
 
   -->{{#while: | {{{b{{#var:booknum}}chapter{{#var: chapnum}}|}}} <!--
+
   -->{{#vardefine: chapnum| 0 }}<!--
  -->|<!--
+
   -->{{#arrayprint: chapterarray | | @@@@ |<!--
       -->{{#vardefine: rownum| {{#expr:{{#var:rownum}}+1}} }}<!--
+
       -->{{#vardefine: chapnum| {{#expr:{{#var:chapnum}}+1}} }}<!--
 
       --><nowiki />
 
       --><nowiki />
 
{{!}}-
 
{{!}}-
{{!}} class="label" {{!}} {{#var:chapterlabel}} {{#var:chapnum}}  
+
{{!}} class="label" {{!}} {{#var:chapterlabel}} {{#var:chapnum}} {{!}}{{!}} @@@@ <!--
{{!}} {{{b{{#var:booknum}}chapter{{#var: chapnum}} |}}}
+
 
<!--
+
-->}}<!-- end fornumargs
      -->{{#vardefine: chapnum| {{#expr:{{#var:chapnum}}+1}} }}<!--
+
 
  -->}}<!-- end while chapter
 
-->}}<!-- end while book
 
 
-->
 
-->
 
|}
 
|}

Revision as of 19:10, 14 March 2011

[[{{{campaign}}}]]
Campaign Timeline {{#fornumargs: booknum | bookstring |
Book :