Template:HPB-CW-content-item design: Difference between revisions

From Teopedia
mNo edit summary
m (HTML markup)
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
[[Category:Templates for HPB CW]]
[[Category:Templates for HPB CW]]
</noinclude><includeonly><!--
</noinclude><includeonly><!--
  title, author and pages
--><p style="text-indent: 0; line-height: 110%;"><div style="float: right; margin-left: 1em;">.... {{#explode:{{{pages|}}}|-|0}}<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey; text-align: right;">– {{#explode:{{{pages|}}}|-|1}}</p></div><b>[[{{{wiki_page|}}}|{{{title|}}}]]</b> <span style="color: grey;">by</span> <i>{{CTD show name|{{{author|}}}|mode=short FL}}</i></p><!--


-->{{#vardefine:first page|{{#explode:{{{pages|}}}|-|0}}}}{{#vardefine:last page|{{#explode:{{{pages|}}}|-|1}}}}<!--
  first publication -->
{{#if: {{{publications|}}}|<p style="text-indent: 0; line-height: 110%; font-size: 80%;"><span style="color: grey;">Origin:</span> {{#explode:{{{publications|}}}|;|0}}</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>
  Scrapbooks, other resources and translations -->
{{#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;">{{#if: {{{scrapbooks|}}}| Scrapbooks: {{SB add link|{{{scrapbooks|}}}}}. |}} Also at: <span class="plainlinks">{{{internet resources}}}</span>{{#if: {{{translations|}}}|. Also in: <span class="plainlinks">{{{translations}}}</span>|}}</p></includeonly>
<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>

Latest revision as of 22:57, 16 September 2024

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}}.