Template:HPB-CW-content-item design: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
-->{{#vardefine:first page|{{#explode:{{{pages|}}}|-|0}}}}{{#vardefine:last page|{{#explode:{{{pages|}}}|-|1}}}}<!-- | -->{{#vardefine:first page|{{#explode:{{{pages|}}}|-|0}}}}{{#vardefine:last page|{{#explode:{{{pages|}}}|-|1}}}}<!-- | ||
--><p style="text-indent: 0; line-height: 110%;"><div style="float: right; margin-left: 1em;">.. {{#var:first page}}{{#varexists:last|<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey; text-align: right;">–{{#var:last page}}</p>|}}</div>'''[[{{{wiki_page|}}}|{{{title|}}}]]''' <span style="color: grey;">by</span> ''{{{author|}}}''</p> | --><p style="text-indent: 0; line-height: 110%;"><div style="float: right; margin-left: 1em;">.. {{#var:first page}}{{#varexists:last page|<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey; text-align: right;">–{{#var:last page}}</p>|}}</div>'''[[{{{wiki_page|}}}|{{{title|}}}]]''' <span style="color: grey;">by</span> ''{{{author|}}}''</p> | ||
{{#if: {{{publications|}}}|<p style="text-indent: 0; line-height: 110%; font-size: 80%;"><span style="color: grey;">First publication:</span> {{#explode:{{{publications|}}}|;|0}}</p> |}} | {{#if: {{{publications|}}}|<p style="text-indent: 0; line-height: 110%; font-size: 80%;"><span style="color: grey;">First publication:</span> {{#explode:{{{publications|}}}|;|0}}</p> |}} | ||
<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey;">Scrapbooks: {{#if: {{{scrapbooks|}}}|{{SB-page|{{{scrapbooks|}}}|text={{{scrapbooks|}}}}}|–}}. Also at: <span class="plainlinks">{{{internet resources}}}</span>{{#if: {{{translations|}}}|. Also in: <span class="plainlinks">{{{translations}}}</span>|}}</p> | <p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey;">Scrapbooks: {{#if: {{{scrapbooks|}}}|{{SB-page|{{{scrapbooks|}}}|text={{{scrapbooks|}}}}}|–}}. Also at: <span class="plainlinks">{{{internet resources}}}</span>{{#if: {{{translations|}}}|. Also in: <span class="plainlinks">{{{translations}}}</span>|}}</p> | ||
</includeonly> | </includeonly> |
Revision as of 08:20, 29 September 2023
This template makes a design of a record in "H. P. Blavatsky Collected Writings" table of contents. It is used in {{HPB-CW-content-item}}.