Template:Summary: Difference between revisions
No edit summary |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<div class="summary-card">{{#if:{{{Author|}}}|<div class="summary-card__author">[[:Category:{{{Author}}}|{{{Author}}}]] | <includeonly> | ||
<div class="summary-card__title">{{{Title}}}</div>{{#if:{{{Subtitle|}}}|<div class="summary-card__subtitle">{{{Subtitle}}}</div>|}}<div class="summary-card__original-title"> | <div class="summary-card"> | ||
{{#if:{{{Author|}}}|<div class="summary-card__author">[[:Category:{{{Author}}}|{{{Author}}}]]{{#if:{{{Author2|}}}|<br/>[[:Category:{{{Author2}}}|{{{Author2}}}]]}}</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:{{{Year of publication|}}}|{{{Year of publication}}}|}} | ||
{{#if:{{{Wikidata|}}}| <span style="vertical-align: text-bottom">[[File:Wikidata.svg|20px|link=https://www.wikidata.org/wiki/{{{Wikidata}}}]]</span>}} | |||
{{#if:{{{Wikisource|}}}| <span style="vertical-align: text-bottom">[[File:Wikisource-logo.svg|20px|link=https://en.wikisource.org/wiki/{{anchorencode:{{{Wikisource}}}}}]]</span>}} | |||
</div> | |||
}}{{#if:{{{Cycle|}}}|<br/>from the Cycle «{{{Cycle}}}»}}</div>{{#if:{{{Microsummary|}}} | <div class="summary-card__genre">Summary of {{LiteraryForm|{{{Literary form}}}|Title}}{{#if:{{{Cycle|}}}|<br/>from the Cycle «{{{Cycle}}}»}}</div> | ||
{{#if:{{{Microsummary|}}}|<div class="microsummary"><span class="microsummary-title">Microsummary</span><span class="microsummary-divider">:</span> <span class="microsummary-content">{{{Microsummary|}}}</span></div>|}} | |||
{{#if:{{NAMESPACE}}||<div class="toc_center" style="margin-top:16px">__TOC__</div>}} | |||
</div> | |||
{{#if:{{{Author|}}}|{{#if:{{NAMESPACE}}||[[Category:{{{Author}}}]]}}{{#if:{{{Author2|}}}|{{#if:{{NAMESPACE}}||[[Category:{{{Author2}}}]]}}}}|{{#if:{{NAMESPACE}}||[[Category:No author]]}}} | |||
{{#if:{{{Year of publication|}}}|{{#if:{{NAMESPACE}}||[[Category:{{{Year of publication}}}]]}}|{{#if:{{NAMESPACE}}||[[Category:No year of publication]]}}} | |||
{{#if:{{{Literary form|}}}|{{#if:{{NAMESPACE}}||[[Category:{{LiteraryForm|{{{Literary form}}}|plural}}]]}}|{{#if:{{NAMESPACE}}||[[Category:No genre]]}}} | |||
{{#if:{{NAMESPACE}}||[[Category:All summaries|{{#ifeq: {{#pos:{{PAGENAME}}|The }} | 0 | {{#sub:{{PAGENAME}}|4}} | {{PAGENAME}} }}]]}} | |||
{{#if:{{{Microsummary|}}}|{{#seo:|description={{{Microsummary|}}}}}} | |||
</includeonly> |