Jump to content

Template:HPB-Caves-header: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 24: Line 24:
   DEFINE VARIABLES
   DEFINE VARIABLES
    
    
   track first and last letters
   track first and last chapters: 0 = Translator's foreword; 1-36 = HPB letters
-->{{#vardefine:chapter|Letter {{{letter|}}}}}<!--
-->{{#switch: {{{letter|}}}
-->{{#switch: {{{letter|}}}
  | 1 = {{#vardefine:prev|}}
  | 0 = {{#vardefine:prev|Contents}} {{#vardefine:next|1}} {{#vardefine:chapter|Translator's foreword}}
  | 36 = {{#vardefine:next|}}
  | 36 = {{#vardefine:prev|35}} {{#vardefine:next|Contents}}
  | #default = {{#vardefine:prev| {{#expr:{{{letter|0}}} - 1}} }} {{#vardefine:next| {{#expr:{{{letter|0}}} + 1}} }}
  | #default = {{#vardefine:prev| {{#expr:{{{letter|0}}} - 1}} }} {{#vardefine:next| {{#expr:{{{letter|0}}} + 1}} }}
}}<!--
}}<!--
Line 37: Line 38:
{{Style P-Book|From the Caves and Jungles of Hindustan}}
{{Style P-Book|From the Caves and Jungles of Hindustan}}
{{Style P-Author|by H. P. Blavatsky}}
{{Style P-Author|by H. P. Blavatsky}}
{{Style P-Subtitle|Letter {{{letter|}}} }}
{{Style P-Subtitle| {{#var:chapter}} }}


<!--  navigation bar on book -->
<!--  navigation bar on book -->