Template:Summary: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div | <div class="summary-card">{{#if:{{{Author|}}}|<div class="summary-card__author">[[:Category:{{{Author}}}|{{{Author}}}]]{{#if:{{NAMESPACE}}||[[Category:{{{Author}}}]]}}{{#if:{{{Author2|}}}|<br/>[[:Category:{{{Author2}}}|{{{Author2}}}]]{{#if:{{NAMESPACE}}||[[Category:{{{Author2}}}]]}}}}</div>|{{#if:{{NAMESPACE}}||[[Category:No author]]}}}} | ||
<div | <div class="summary-card__title">{{{Title}}}</div>{{#if:{{{Subtitle|}}}|<div class="summary-card__subtitle">{{{Subtitle}}}</div>|}}<div class="summary-card__original-title"><!-- | ||
-->{{#if:{{{Original Title|}}}|{{{Original Title}}}{{#if:{{{Year of publication|}}}| · }}}}<!-- | -->{{#if:{{{Original Title|}}}|{{{Original Title}}}{{#if:{{{Year of publication|}}}| · }}}}<!-- | ||
-->{{#if:{{{Year of publication|}}}|{{{Year of publication}}}|{{#if:{{NAMESPACE}}||[[Category:No year of publication]]}}}}<!-- | -->{{#if:{{{Year of publication|}}}|{{{Year of publication}}}|{{#if:{{NAMESPACE}}||[[Category:No year of publication]]}}}}<!-- | ||
-->{{#if:{{{Wikidata|}}}| <span style="vertical-align: text-bottom">[[File:Wikidata.svg|20px|link=https://www.wikidata.org/wiki/{{{Wikidata}}}]]</span>}}<!-- | -->{{#if:{{{Wikidata|}}}| <span style="vertical-align: text-bottom">[[File:Wikidata.svg|20px|link=https://www.wikidata.org/wiki/{{{Wikidata}}}]]</span>}}<!-- | ||
--></div><div | --></div><div class="summary-card__genre">Summary of {{#switch: {{{Жанр}}} | ||
| novel = a novel{{#if:{{NAMESPACE}}||[[Category:Novels]]}} | | novel = a novel{{#if:{{NAMESPACE}}||[[Category:Novels]]}} | ||
| #default = a book{{#if:{{NAMESPACE}}||[[Category:No genre]]}} | | #default = a book{{#if:{{NAMESPACE}}||[[Category:No genre]]}} |
Revision as of 18:25, 8 March 2022
{{{Title}}}
Summary of a book