From GamingWiki
Jump to: navigation, search
Line 1: Line 1:
 
{{#if:{{{title|}}}|<!--
 
{{#if:{{{title|}}}|<!--
 
   -->{{#set: title = {{{title}}} }}<!--
 
   -->{{#set: title = {{{title}}} }}<!--
   -->{{#if: {{{parent|}}}             |<!--
+
   -->{{#vardefine: parent |<!--
      -->{{#set: | is a = chapter | parent = {{{parent}}} }} <!--
+
      -->{{#if: {{{parentordinal|}}} |<!--
  -->|<!--
+
        -->{{#ask: [[is a::book]] [[campaign::{{{campaign|Null}}}]] [[ordinal::{{{parentordinal}}}]] }}<!--
      -->{{#set: | is a = book    }} <!--
+
      -->|<!--
 +
        -->{{{parent|}}}<!--
 +
      -->}}<!--
 
   -->}}<!--
 
   -->}}<!--
 +
  -->{{#set: is a ={{#if: {{#var:parent}} | chapter | book }} }}<!--
 +
  -->{{#if: {{#var:parent}}            |{{#set: parent = {{#var:parent}} }} }}<!--
 
   -->{{#if: {{{campaign|}}}            |{{#set: campaign = {{{campaign}}} }} [[Category: {{{campaign}}}]] }}<!--
 
   -->{{#if: {{{campaign|}}}            |{{#set: campaign = {{{campaign}}} }} [[Category: {{{campaign}}}]] }}<!--
 
   -->{{#if: {{{ordinal|}}}            |{{#set: ordinal  = {{{ordinal}}} }} }}<!--
 
   -->{{#if: {{{ordinal|}}}            |{{#set: ordinal  = {{{ordinal}}} }} }}<!--

Revision as of 04:36, 20 March 2011