From GamingWiki
Jump to: navigation, search
 
(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 campaign::{{{campaign|{{#var:campaign}}}}}]] [[has parent ordinal::{{{book number|1}}}]]
+
-->{{#hashdefine: chaptersHash|{{#ask: [[is chapter of::{{{campaign|{{#var:campaign}}}}}]] [[has parent ordinal::{{{book number|1}}}]]
 
       |?#
 
       |?#
 
       |?Has title=title
 
       |?Has title=title
       |?Chapter of campaign=campaign
+
       |?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>
 
   }}<!--
 
   }}<!--
   -->|,|<PROP>}}<!-- end hashdefine
+
   -->|<NTRY>|<PROP>}}<!-- end hashdefine
  
 
-->{{#if:{{#hashprint:chaptersHash}}<!--
 
-->{{#if:{{#hashprint:chaptersHash}}<!--
 
   -->|<!-- We have some books
 
   -->|<!-- We have some books
  
-->{{#hashprint:chaptersHash|<br/>|%%%%|@@@@|<!--
+
-->{{#hashprint:chaptersHash||%%%%|@@@@|<!--
 
   -->{{#hashdefine: chapterHash|page%%%%<PROP>@@@@|<PROP>|<KVAL>}}<!--
 
   -->{{#hashdefine: chapterHash|page%%%%<PROP>@@@@|<PROP>|<KVAL>}}<!--
  -->{{#hashprint: chapterHash|<br/>|<prop>|<val>|'''<prop>''': <val>}}<!--
 
 
   -->{{#hashtotemplate:  Campaign_history/chapter | chapterHash }}<!--
 
   -->{{#hashtotemplate:  Campaign_history/chapter | chapterHash }}<!--
  
Line 34: Line 34:
 
   -->|<!-- No chapters found
 
   -->|<!-- No chapters found
  
--><nowiki/>
+
-->''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}}}]]