From GamingWiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
-->{{#vardefine: ordinal| {{{ordinal|{{{chapter|{{{book|}}} }}} }}} }}<!--
 
-->{{#vardefine: ordinal| {{{ordinal|{{{chapter|{{{book|}}} }}} }}} }}<!--
 
-->{{#vardefine: label  | {{{label|{{#if:{{{chapter|}}}|Chapter|Book}} }}} }}<!--
 
-->{{#vardefine: label  | {{{label|{{#if:{{{chapter|}}}|Chapter|Book}} }}} }}<!--
 +
-->{{#ifeq:{{#var:ordinal}}|0|{{#vardefine:ordinal|}} }}<!--
 
-->{{#vardefine: prefix | <!--
 
-->{{#vardefine: prefix | <!--
 
   -->{{#if: {{#var:ordinal}}|{{#var:label}} {{#var:ordinal}}:|{{#var:label}}:}}<!--
 
   -->{{#if: {{#var:ordinal}}|{{#var:label}} {{#var:ordinal}}:|{{#var:label}}:}}<!--
Line 9: Line 10:
  
 
--><{{#var:h}}> {{#var:prefix}} [[{{{page}}}|{{{title}}}]] </{{#var:h}}>
 
--><{{#var:h}}> {{#var:prefix}} [[{{{page}}}|{{{title}}}]] </{{#var:h}}>
: ''{{{blurb}}}''<!--
+
: ''{{{blurb}}}''<nowiki />
-->{{#if: {{{content|}}} <!--
 
  -->|<nowiki />
 
 
<!--
 
<!--
 +
-->{{#if: {{{content|}}} |<!--
 +
 
   -->{{#if:{{{image|}}}|[[<!--
 
   -->{{#if:{{{image|}}}|[[<!--
 
       -->{{#ifexist:{{{image}}}||Image:}}<!--
 
       -->{{#ifexist:{{{image}}}||Image:}}<!--
 
       -->{{{image}}}|right|thumb|120px<!--
 
       -->{{{image}}}|right|thumb|120px<!--
   -->]]
+
   -->]]<nowiki />
<nowiki />}}<!--
+
<!--
-->{{{content}}} <!--
+
  -->}}<!--
 +
  -->{{{content}}}<!--
 
-->}}<nowiki />
 
-->}}<nowiki />
 
<!--
 
<!--

Latest revision as of 01:04, 22 September 2011

Book: [[{{{page}}}|{{{title}}}]]

{{{blurb}}}


Parameters for this template are:

  • page
  • title
  • book (number)
  • chapter (number)
  • blurb
  • content (optional)