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

m
no edit summary
mNo edit summary
mNo edit summary
(4 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>'''[[{{{wiki_page|}}}|{{{title|}}}]]''' <span style="color: grey;">by</span> ''{{CTD show name|{{{author|}}}|mode=short FL}}''</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;">Scrapbooks: {{#if: {{{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>