From GamingWiki
Jump to: navigation, search
Line 8: Line 8:
 
{{Campaign timeline intro}}
 
{{Campaign timeline intro}}
 
<onlyinclude><!--
 
<onlyinclude><!--
 +
 +
--><nowiki/>
 +
{{!}}-
 +
{{!}} {{{1|M_NUL}}}-{{{2|M_NUL}}}-{{{3|M_NUL}}}-{{{4|M_NUL}}}-{{{5|M_NUL}}}
 +
<!-- debug
  
 
-->{{#hashdefine: userParams | {{{userparam|}}} }}<!--
 
-->{{#hashdefine: userParams | {{{userparam|}}} }}<!--
Line 30: Line 35:
 
   -->{{#ifeq:{{#var:expandbook}}| all | 1 }}<!--
 
   -->{{#ifeq:{{#var:expandbook}}| all | 1 }}<!--
 
-->|<!--
 
-->|<!--
 +
 +
--><nowiki/>
 +
{{!}}-
 +
{{!}} Expanding book {{{3|M_NUL}}}
 +
<!-- debug
 +
 
     Run a subquery on the book's chapters
 
     Run a subquery on the book's chapters
 
   -->{{#vardefineecho:innerqueryresult|{{#ask: [[chapter of campaign::{{#var:campaign}}]][[book number::{{{3|Null}}}]]
 
   -->{{#vardefineecho:innerqueryresult|{{#ask: [[chapter of campaign::{{#var:campaign}}]][[book number::{{{3|Null}}}]]

Revision as of 15:31, 11 April 2014

Positional parameters for this template are:

  1. page
  2. title
  3. ordinal
  4. blurb
  5. label

Campaign Timeline
M_NUL-M_NUL-M_NUL-M_NUL-M_NUL Book {{{3}}}: [[{{{1}}}|{{{2}}}]]
Expanding book M_NUL

{{#ask: chapter of campaign::book number::Null

?title ?ordinal ?blurb ?label sort = ordinal link = none format = template template = SMW campaign chapter userparam =
     }}|}}