Template:HPB-Caves-header: Difference between revisions

m
no edit summary
(Created page with "<noinclude>This template creates header for pages of «From the Caves and Jungles of Hindustan» by H. P. Blavatsky. Semantic property {{p|HPB Caves letter}} is...")
 
mNo edit summary
Line 25: Line 25:
    
    
   track first and last letters
   track first and last letters
-->{{#switch: {{{1|}}}
-->{{#switch: {{{letter|}}}
  | 1 = {{#vardefine:prev|}}
  | 1 = {{#vardefine:prev|}}
  | 36 = {{#vardefine:next|}}
  | 36 = {{#vardefine:next|}}
  | #default = {{#vardefine:prev|{{{letter|}}} - 1}} {{#vardefine:next|{{{letter|}}} + 1}}
  | #default = {{#vardefine:prev| {{#expr:{{{letter|0}}} - 1}} }} {{#vardefine:next| {{#expr:{{{letter|0}}} + 1}} }}
}}<!--
}}<!--


Line 34: Line 34:
--><div style="width:100%; min-width: 300px; font-size: 90%; font-family: 'Droid Sans', sans-serif; display: block;">
--><div style="width:100%; min-width: 300px; font-size: 90%; font-family: 'Droid Sans', sans-serif; display: block;">
<div style="float:right; font-size: 90%;">[[Template:HPB-Caves-header|T]]</div>
<div style="float:right; font-size: 90%;">[[Template:HPB-Caves-header|T]]</div>
<div style=" width:100%; min-height: 200px; background: #EAECF0; border: 1px solid #A2A9B1; padding: 5px 5px 10px 5px; {{css|border-radius|5}}">
<div style=" width:100%; background: #EAECF0; border: 1px solid #A2A9B1; padding: 5px 5px 10px 5px; {{css|border-radius|5}}">
{{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}}