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