From GamingWiki
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
--><noinclude>{{#vardefine: campaign | Humans are the Worst }}</noinclude><!-- | --><noinclude>{{#vardefine: campaign | Humans are the Worst }}</noinclude><!-- | ||
− | -->{{#hashdefine: chaptersHash|{{#ask: [[chapter of | + | -->{{#hashdefine: chaptersHash|{{#ask: [[is chapter of::{{{campaign|{{#var:campaign}}}}}]] [[has parent ordinal::{{{book number|1}}}]] |
|?# | |?# | ||
|?Has title=title | |?Has title=title | ||
− | |? | + | |?Is chapter of=campaign |
+ | |?Has parent ordinal=book number | ||
|?Has ordinal=chapter number | |?Has ordinal=chapter number | ||
|?Has blurb=blurb | |?Has blurb=blurb | ||
Line 14: | Line 15: | ||
| format = hash | | format = hash | ||
| headers=plain | | headers=plain | ||
− | | sep= | + | | sep=<NTRY> |
| propsep=<PROP> | | propsep=<PROP> | ||
| manysep=<MANY> | | manysep=<MANY> | ||
Line 20: | Line 21: | ||
| headersep=<KVAL> | | headersep=<KVAL> | ||
}}<!-- | }}<!-- | ||
− | -->| | + | -->|<NTRY>|<PROP>}}<!-- end hashdefine |
-->{{#if:{{#hashprint:chaptersHash}}<!-- | -->{{#if:{{#hashprint:chaptersHash}}<!-- | ||
-->|<!-- We have some books | -->|<!-- We have some books | ||
− | -->{{#hashprint:chaptersHash| | + | -->{{#hashprint:chaptersHash||%%%%|@@@@|<!-- |
-->{{#hashdefine: chapterHash|page%%%%<PROP>@@@@|<PROP>|<KVAL>}}<!-- | -->{{#hashdefine: chapterHash|page%%%%<PROP>@@@@|<PROP>|<KVAL>}}<!-- | ||
− | |||
-->{{#hashtotemplate: Campaign_history/chapter | chapterHash }}<!-- | -->{{#hashtotemplate: Campaign_history/chapter | chapterHash }}<!-- | ||
Line 34: | Line 34: | ||
-->|<!-- No chapters found | -->|<!-- No chapters found | ||
− | --> | + | -->''No chapters found''<!-- |
− | ''No chapters found''<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--> | --> |
Latest revision as of 01:32, 26 October 2014
Book {{{book number}}}, [[{{{page}}}|Chapter {{{chapter number}}}]]
Book {{{book number}}}, [[{{{page}}}|Chapter {{{chapter number}}}]]