From GamingWiki
Line 12: | Line 12: | ||
{{!}}- | {{!}}- | ||
{{!}} {{{1|M_NUL}}}-{{{2|M_NUL}}}-{{{3|M_NUL}}}-{{{4|M_NUL}}}-{{{5|M_NUL}}} | {{!}} {{{1|M_NUL}}}-{{{2|M_NUL}}}-{{{3|M_NUL}}}-{{{4|M_NUL}}}-{{{5|M_NUL}}} | ||
+ | {{!}}- | ||
<!-- debug | <!-- debug | ||
Line 21: | Line 22: | ||
-->{{#vardefine: booklabel | {{#hashvalue: userParams | booklabel}} }}<!-- | -->{{#vardefine: booklabel | {{#hashvalue: userParams | booklabel}} }}<!-- | ||
-->{{#vardefine: chapterlabel | {{#hashvalue: userParams | chapterlabel}} }}<!-- | -->{{#vardefine: chapterlabel | {{#hashvalue: userParams | chapterlabel}} }}<!-- | ||
+ | |||
+ | --><nowiki/> | ||
+ | {{!}} {{#var:campaign}}-{{#var:booklabel}}- | ||
+ | {{!}}- | ||
+ | <!-- debug | ||
-->{{Campaign timeline bookline | -->{{Campaign timeline bookline | ||
Line 39: | Line 45: | ||
{{!}}- | {{!}}- | ||
{{!}} Expanding book {{{3|M_NUL}}} | {{!}} Expanding book {{{3|M_NUL}}} | ||
+ | {{!}}- | ||
<!-- debug | <!-- 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| | + | -->{{#vardefineecho:innerqueryresult|{{#ask: [[chapter of campaign::{{#var:campaign}}]][[book number::{{{3|M_NUL}}}]] |
|?title | |?title | ||
|?ordinal | |?ordinal |
Revision as of 15:35, 11 April 2014
Positional parameters for this template are:
- page
- title
- ordinal
- blurb
- label
{{#ask: chapter of campaign::book number::M_NUL
Campaign Timeline | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
M_NUL-M_NUL-M_NUL-M_NUL-M_NUL | ||||||||||
-- | ||||||||||
Book {{{3}}}: [[{{{1}}}|{{{2}}}]] | ||||||||||
Expanding book M_NUL | ||||||||||
?title | ?ordinal | ?blurb | ?label | sort = ordinal | link = none | format = template | template = SMW campaign chapter | userparam =
}}|}}
|