Template:CTD literature data: Difference between revisions
(Создание шаблона строки для CTD/Literature, аналогично CTD periodical data) |
m (Убрана жирность у краткого описания, серый цвет сохранён) |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>This template is used in [[CTD]] for [[CTD/Literature|literature]]. | <noinclude>This template is used in [[CTD]] for [[CTD/Literature|literature]]. Renders one block per work: small-caps title, italic author in natural name order, an optional grey "(signed ...)" note when the work was originally signed with a different name, and a short description line. | ||
[[Category: Templates for CTD]] | [[Category: Templates for CTD]] | ||
[[Category: Templates for templates]] | [[Category: Templates for templates]] | ||
</noinclude><includeonly> | </noinclude><includeonly><div style="margin-bottom:0.5em;"><span style="font-variant: small-caps; font-weight: bold; font-size: 100%;">{{#if: {{{name|}}}| [[{{{wiki_page|}}}|{{{name|}}}]] | [[{{{wiki_page|}}}]] }}</span><!-- | ||
-->{{#if: {{{author|}}} |  — <span style="font-style:italic;font-weight:normal;">{{#arraymap:{{{author|}}}|;|@@|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}|, }}</span> |}}<!-- | |||
-->{{#if: {{{signed|}}} | <span style="color:grey;font-weight:normal;"> (signed: <span style="font-style:italic;">{{{signed|}}}</span>)</span> |}}<!-- | |||
-->{{#if: {{{author|}}} |  | -->{{#if: {{{description|}}} | <div style="font-size: 90%; margin-top: -0.3em; line-height: 120%; color: grey; font-weight: normal;">{{{description|}}}</div> |}}</div></includeonly> | ||
-->{{#if: {{{ | |||
--> | |||
{{#if: {{{description|}}} | <div style="font-size: 90%; margin-top: -0.3em; line-height: 120%; color: grey;">{{{description|}}}</div> |}} | |||
</includeonly> | |||
Latest revision as of 15:27, 18 November 2026
This template is used in CTD for literature. Renders one block per work: small-caps title, italic author in natural name order, an optional grey "(signed ...)" note when the work was originally signed with a different name, and a short description line.