Template:CTD literature data: Difference between revisions

From Teopedia
m (Явный font-size:100% у названия (компенсирует уменьшение от small-caps))
m (Убрана жирность у краткого описания, серый цвет сохранён)
 
Line 6: Line 6:
-->{{#if: {{{author|}}} | &#32;—&#32;<span style="font-style:italic;font-weight:normal;">{{#arraymap:{{{author|}}}|;|@@|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}|, }}</span> |}}<!--
-->{{#if: {{{author|}}} | &#32;—&#32;<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;">&#32;(signed: <span style="font-style:italic;">{{{signed|}}}</span>)</span> |}}<!--
-->{{#if: {{{signed|}}} | <span style="color:grey;font-weight:normal;">&#32;(signed: <span style="font-style:italic;">{{{signed|}}}</span>)</span> |}}<!--
-->{{#if: {{{description|}}} | <div style="font-size: 90%; margin-top: -0.3em; line-height: 120%; color: grey;">{{{description|}}}</div> |}}</div></includeonly>
-->{{#if: {{{description|}}} | <div style="font-size: 90%; margin-top: -0.3em; line-height: 120%; color: grey; font-weight: normal;">{{{description|}}}</div> |}}</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.