Template:Summary: Difference between revisions

From Wikisum
No edit summary
No edit summary
Line 1: Line 1:
<div style="display: block; max-width: 500px; margin: 0 auto 30px; text-align: center;">{{#if:{{{Author|}}}|<div style="font-size: 10px; line-height: 13px; margin-bottom: 13px;">[[:Category:{{{Author}}}|{{{Author}}}]]{{#if:{{NAMESPACE}}||[[Category:{{{Author}}}]]}}{{#if:{{{Author2|}}}|<br/>[[:Category:{{{Author2}}}|{{{Author2}}}]]{{#if:{{NAMESPACE}}||[[Category:{{{Author2}}}]]}}}}</div>|{{#if:{{NAMESPACE}}||[[Category:No author]]}}}}
<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 style="font-size: 32px; font-weight: bold; line-height: 110%; margin-bottom: 22px;">{{{Title}}}</div>{{#if:{{{Subtitle|}}}|<div style="font: 18px/1.1em sans-serif; max-width: 75%; margin: -12px auto 20px;">{{{Subtitle}}}</div>|}}<div style="font-size: 10px; line-height: 13px; max-width: 75%; margin: 0 auto 13px"><!--
<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|}}}|&nbsp;&middot;&#32;}}}}<!--
-->{{#if:{{{Original Title|}}}|{{{Original Title}}}{{#if:{{{Year of publication|}}}|&nbsp;&middot;&#32;}}}}<!--
-->{{#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|}}}|&nbsp;<span style="vertical-align: text-bottom">[[File:Wikidata.svg|20px|link=https://www.wikidata.org/wiki/{{{Wikidata}}}]]</span>}}<!--
-->{{#if:{{{Wikidata|}}}|&nbsp;<span style="vertical-align: text-bottom">[[File:Wikidata.svg|20px|link=https://www.wikidata.org/wiki/{{{Wikidata}}}]]</span>}}<!--
--></div><div style="font-size: 15px; line-height: 20px; margin-bottom: 20px;">Summary of {{#switch: {{{Жанр}}}
--></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