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