Bots, Editors (Semantic MediaWiki), trusted
12,899
edits
m (Переход с табличного вывода на блочный (title — author (signed pseudonym)); курсив только у псевдонима) |
m (Возвращена строка краткого описания; пробел и серый цвет для (signed ...)) |
||
| Line 1: | Line 1: | ||
<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, | <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]] | ||
| Line 5: | Line 5: | ||
</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><!-- | </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: {{{author|}}} |  — <span style="font-style:italic;">{{#arraymap:{{{author|}}}|;|@@|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}|, }}</span> |}}<!-- | -->{{#if: {{{author|}}} |  — <span style="font-style:italic;">{{#arraymap:{{{author|}}}|;|@@|{{#if:{{#show:@@|?Full name|link=none}}|{{#show:@@|?Full name|link=none}}|@@}}|, }}</span> |}}<!-- | ||
-->{{#if: {{{signed|}}} | (signed <span style="font-style:italic;">{{{signed|}}}</span>) |}}</div></includeonly> | -->{{#if: {{{signed|}}} | <span style="color:grey;"> (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> | |||