Jump to content

Template:CTD literature: Difference between revisions

Add 1em spacing after the work title
(Match Russian card: use Style P-Book for work title (instead of plain h2), add 1em spacing after info box)
(Add 1em spacing after the work title)
 
Line 234: Line 234:
-->{{#if: {{{to do|}}}|<p style="text-indent:0;">To do: <b>{{{to do|}}}</b></p>|}}<!--
-->{{#if: {{{to do|}}}|<p style="text-indent:0;">To do: <b>{{{to do|}}}</b></p>|}}<!--
--></div><!--
--></div><!--
-->{{#ifeq: {{lc:{{{has text|}}}}}|yes|</div></div><div style="margin-top:1em;"></div>{{#if:{{{hide heading|}}}||{{#if: {{{author|}}}|<p style="text-align:center;">{{#arraymap:{{{author|}}}|;|@@|{{#if:{{{author page|}}}|[[{{{author page|}}}|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}]]|[[@@|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}]]}}|, }}{{#if: {{{author footnote|}}}|{{#tag:ref|{{{author footnote|}}}}}|}}</p>|}}{{#if: {{{compiler|}}}|<p style="font-size:90%;text-indent:0;">Compiled by: {{#arraymap:{{{compiler|}}}|;|@@|[[@@|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}]]|, }}</p>|}}{{Style P-Book|{{{title|}}}{{#if: {{{title footnote|}}}|{{#tag:ref|{{{title footnote|}}}}}|}}}}{{#if: {{{subtitle|}}}|<p style="text-align:center;">{{{subtitle|}}}</p>|}}{{#if: {{{translator|}}}|<p style="text-align:center;">English translation by {{{translator|}}}</p>|}}{{#if: {{{note|}}}|<p style="text-align:center;">{{{note|}}}</p>|}}{{#if: {{{image|}}}|[[File:{{{image|}}}|x200px|center]]|}}}}|}}<!--
-->{{#ifeq: {{lc:{{{has text|}}}}}|yes|</div></div><div style="margin-top:1em;"></div>{{#if:{{{hide heading|}}}||{{#if: {{{author|}}}|<p style="text-align:center;">{{#arraymap:{{{author|}}}|;|@@|{{#if:{{{author page|}}}|[[{{{author page|}}}|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}]]|[[@@|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}]]}}|, }}{{#if: {{{author footnote|}}}|{{#tag:ref|{{{author footnote|}}}}}|}}</p>|}}{{#if: {{{compiler|}}}|<p style="font-size:90%;text-indent:0;">Compiled by: {{#arraymap:{{{compiler|}}}|;|@@|[[@@|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}]]|, }}</p>|}}{{Style P-Book|{{{title|}}}{{#if: {{{title footnote|}}}|{{#tag:ref|{{{title footnote|}}}}}|}}}}<div style="margin-top:1em;"></div>{{#if: {{{subtitle|}}}|<p style="text-align:center;">{{{subtitle|}}}</p>|}}{{#if: {{{translator|}}}|<p style="text-align:center;">English translation by {{{translator|}}}</p>|}}{{#if: {{{note|}}}|<p style="text-align:center;">{{{note|}}}</p>|}}{{#if: {{{image|}}}|[[File:{{{image|}}}|x200px|center]]|}}}}|}}<!--
-->{{#arraymap:{{{categories|}}}|;|@@|[[Category:@@]]|}}<!--
-->{{#arraymap:{{{categories|}}}|;|@@|[[Category:@@]]|}}<!--
-->{{#if: {{{author|}}}|{{#arraymap:{{{author|}}}|;|@@|[[Category:{{#if:{{#show:@@|?Short name for categories|link=none}}|{{#show:@@|?Short name for categories|link=none}}|@@}} (works)]]{{#if: {{{work type|}}}|[[Category:{{#if:{{#show:@@|?Short name for categories|link=none}}|{{#show:@@|?Short name for categories|link=none}}|@@}} ({{{work type|}}})]]|}}|}}|}}
-->{{#if: {{{author|}}}|{{#arraymap:{{{author|}}}|;|@@|[[Category:{{#if:{{#show:@@|?Short name for categories|link=none}}|{{#show:@@|?Short name for categories|link=none}}|@@}} (works)]]{{#if: {{{work type|}}}|[[Category:{{#if:{{#show:@@|?Short name for categories|link=none}}|{{#show:@@|?Short name for categories|link=none}}|@@}} ({{{work type|}}})]]|}}|}}|}}
[[Category:CTD literature]]
[[Category:CTD literature]]
{{#ifeq: {{lc:{{{has text|}}}}}|yes|[[Category:Texts]]|}}</includeonly>
{{#ifeq: {{lc:{{{has text|}}}}}|yes|[[Category:Texts]]|}}</includeonly>