Difference between revisions of "Template:HPB-SD-header"

From Teopedia library
Jump to navigation Jump to search
m (+section title of vol.3)
Line 105: Line 105:
 
-->{{#if: {{{stanza|}}}|, '''stanza&nbsp;{{{stanza|}}}''' {{{stanza title|}}}|}}<!--
 
-->{{#if: {{{stanza|}}}|, '''stanza&nbsp;{{{stanza|}}}''' {{{stanza title|}}}|}}<!--
 
-->{{#if: {{{sloka|}}}|, '''sloka&nbsp;{{{sloka}}}''' {{{sloka title|}}}|}}<!--
 
-->{{#if: {{{sloka|}}}|, '''sloka&nbsp;{{{sloka}}}''' {{{sloka title|}}}|}}<!--
-->{{#if: {{{section|}}}|, '''section&nbsp;{{{section}}}''' {{{section title|}}}|}}<!--
+
  consider volume 3, where section might consist of words, not numbers
 +
-->{{#if: {{{section|}}} | {{#if: {{{section show just title|}}}
 +
|, '''section''' {{{section title|}}}
 +
|, '''section&nbsp;{{{section}}}''' {{{section title|}}}
 +
}} |}}<!--
 
-->{{#if: {{{chapter|}}}|, '''chapter'''&nbsp;{{#if: {{{chapter title|}}}| {{{chapter title}}} | {{{chapter}}}}} |}}
 
-->{{#if: {{{chapter|}}}|, '''chapter'''&nbsp;{{#if: {{{chapter title|}}}| {{{chapter title}}} | {{{chapter}}}}} |}}
 
__TOC__
 
__TOC__

Revision as of 04:56, 25 October 2022

This template is used on The Secret Doctrine pages.

To copy Note
{{HPB-SD-header
 | volume = 1
 | part = 
 | stanza = 
 | stanza title= 
 | sloka = 
 | sloka title= 
 | section = 
 | section title = 
 | chapter = 
 | chapter title = 
 | previous = 
 | next     = 
 | edition = 
}}
  • volume -- volume number [[SD volume]]
  • part -- part number [[SD part]]
  • stanza -- stanza number [[SD stanza]]
  • stanza title -- [[SD stanza title]]
  • sloka -- sloka number [[SD sloka]]
  • sloka title -- [[SD sloka title]]
  • section -- section number, just number, for references [[SD sloka]]
  • section title full section title -- [[SD section title]]
  • chapter -- short chapter title for references [[SD chapter]]
  • chapter title -- full chapter title; can be omitted if equals the short one in chapter parameter [[SD chapter title]]
  • previous -- previous page; to this value the edition prefix is added
  • next -- next page; --"--
  • edition -- text edition [[SD edition]]; possible values: ed.1, ed.3, 21c, wm