From GamingWiki
Line 2: | Line 2: | ||
-->{{#vardefine: h|h{{{depth|2}}}}}<!-- | -->{{#vardefine: h|h{{{depth|2}}}}}<!-- | ||
-->{{#vardefine: prefix|<!-- | -->{{#vardefine: prefix|<!-- | ||
− | -->{{#if: {{{ | + | -->{{#if: {{{book|}}}|Book {{{book}}}, {{{label|Chapter}}}|Book}}<!-- |
-->}}<!-- | -->}}<!-- | ||
--><{{#var:h}}><!-- | --><{{#var:h}}><!-- | ||
− | --> {{#ifeq: {{{ | + | --> {{#ifeq: {{{chapter|0}}}|0| {{#var:prefix}}:| {{#var:prefix}} {{{chapter}}}:}} <!-- |
--> [[{{{page}}}|{{{title}}}]] <!-- | --> [[{{{page}}}|{{{title}}}]] <!-- | ||
--></{{#var:h}}> | --></{{#var:h}}> | ||
Line 21: | Line 21: | ||
* page | * page | ||
* title | * title | ||
− | * | + | * book (number) |
+ | * chapter (number) | ||
* blurb | * blurb | ||
* content (optional) | * content (optional) |
Revision as of 17:14, 23 June 2011
Book: [[{{{page}}}|{{{title}}}]]
- {{{blurb}}}
Parameters for this template are:
- page
- title
- book (number)
- chapter (number)
- blurb
- content (optional)