Jump to content

Template:CTD literature data: Difference between revisions

m
Переход с табличного вывода на блочный (title — author (signed pseudonym)); курсив только у псевдонима
m (Создание шаблона строки для CTD/Literature, аналогично CTD periodical data)
m (Переход с табличного вывода на блочный (title — author (signed pseudonym)); курсив только у псевдонима)
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, and an optional italic "(signed ...)" note when the work was originally signed with a different name.


[[Category: Templates for CTD]]
[[Category: Templates for CTD]]
[[Category: Templates for templates]]
[[Category: Templates for templates]]
</noinclude><includeonly>|-valign=top
</noinclude><includeonly><div style="margin-bottom:0.5em;"><span style="font-variant: small-caps; font-weight: bold;">{{#if: {{{name|}}}| [[{{{wiki_page|}}}|{{{name|}}}]] | [[{{{wiki_page|}}}]] }}</span><!--
| {{#if: {{{image|}}} | [[File:{{{image|}}}|200x40px|right]] |}}
-->{{#if: {{{author|}}} | &#32;—&#32;<span style="font-style:italic;">{{#arraymap:{{{author|}}}|;|@@|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}|, }}</span> |}}<!--
| <span style="font-variant: small-caps; font-weight: bold; ">{{#if: {{{name|}}}| [[{{{wiki_page|}}}|{{{name|}}}]] | [[{{{wiki_page|}}}]] }}</span> <span style="font-size: 90%;"><!--
-->{{#if: {{{signed|}}} | (signed <span style="font-style:italic;">{{{signed|}}}</span>) |}}</div></includeonly>
-->{{#if: {{{variations|}}} |&#32;{{{variations|}}} |}}<!--
-->{{#if: {{{origin|}}} |&#32;– {{{origin|}}} |}}<!--
--></span>
{{#if: {{{author|}}} | <div style="font-style:italic;font-size:90%;">{{#arraymap:{{{author|}}}|;|@@|[[@@|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}]]|, }}</div> |}}
{{#if: {{{description|}}} | <div style="font-size: 90%; margin-top: -0.3em; line-height: 120%; color: grey;">{{{description|}}}</div> |}}
</includeonly>