Template:Summary: Difference between revisions

From Wikisum
No edit summary
Tag: Reverted
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<div class="summary-card"><!--
<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|}}}|&nbsp;&middot;&#32;}}}}
{{#if:{{{Year of publication|}}}|{{{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:{{{Wikisource|}}}|&nbsp;<span style="vertical-align: text-bottom">[[File:Wikisource-logo.svg|20px|link=https://en.wikisource.org/wiki/{{anchorencode:{{{Wikisource}}}}}]]</span>}}
</div>
<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]]}}}
Emoji
{{#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:{{{Emoji|}}}|<div class="summary-card__emoji">{{{Emoji}}}</div>|}}<!--
{{#if:{{NAMESPACE}}||[[Category:All summaries|{{#ifeq: {{#pos:{{PAGENAME}}|The }} | 0 | {{#sub:{{PAGENAME}}|4}} | {{PAGENAME}} }}]]}}
 
{{#if:{{{Microsummary|}}}|{{#seo:|description={{{Microsummary|}}}}}}
 
</includeonly>
Authors
 
-->{{#if:{{{Author|}}}|<div class="summary-card__author">[[:Category:{{{Author}}}|{{{Author}}}]]{{#if:{{{Author2|}}}|<br/>[[:Category:{{{Author2}}}|{{{Author2}}}]]}}</div>|}}<!--
 
 
Title and Subtitle
 
--><div class="summary-card__title">{{{Title}}}</div>{{#if:{{{Subtitle|}}}|<div class="summary-card__subtitle">{{{Subtitle}}}</div>|}}<!--
 
 
Original Title, Year of publication, Wikidata, Wikisummary
 
--><div class="summary-card__original-title">{{#if:{{{Original Title|}}}|{{{Original Title}}}{{#if:{{{Year of publication|}}}|&nbsp;&middot;&#32;}}}}{{#if:{{{Year of publication|}}}|{{{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:{{{Wikisource|}}}|&nbsp;<span style="vertical-align: text-bottom">[[File:Wikisource-logo.svg|20px|link=https://en.wikisource.org/wiki/{{anchorencode:{{{Wikisource}}}}}]]</span>}}</div><!--
 
 
Summary of Literary form from Cycle
 
--><div class="summary-card__genre">Summary of the {{#if:{{LiteraryForm|{{{Literary form}}}|title_no_article}}|{{LiteraryForm|{{{Literary form}}}|title_no_article}}|book}}<!--
-->{{#if:{{{Cycle|}}}|<br/>from the Collection «{{{Cycle}}}»}}</div><!--
 
 
Microsummary
 
-->{{#if:{{{Microsummary|}}}|<div class="microsummary"><span class="microsummary-title">Microsummary</span><span class="microsummary-divider">:</span> <span class="microsummary-content">{{{Microsummary|}}}</span></div>|}}<!--
 
 
--></div><!--
 
 
 
Table of contents
 
--><div class="toc_center" style="margin-top:16px">__TOC__</div><!--
 
 
 
Categories
 
-->{{#if:{{NAMESPACE}}||<!--
-->{{DEFAULTSORT:{{#ifeq:{{#pos:{{PAGENAME}}|The }}|0|{{#sub:{{PAGENAME}}|4}}|{{PAGENAME}}}}}}<!--
-->[[Category:All summaries]]<!--
-->{{#if:{{{Author|}}}|[[Category:{{{Author}}}]]|[[Category:No author]]}}<!--
-->{{#if:{{{Author2|}}}|[[Category:{{{Author2}}}]]}}<!--
-->{{#if:{{{Year of publication|}}}|[[Category:Published in {{{Year of publication}}}]]|[[Category:No year of publication]]}}<!--
-->{{#if:{{LiteraryForm|{{{Literary form}}}|plural}}|[[Category:{{LiteraryForm|{{{Literary form}}}|plural}}]]|[[Category:No literary form]]}}<!--
-->}}<!--
 
 
 
SEO
 
-->{{#if:{{NAMESPACE}}||<!--
-->{{#if:{{{Microsummary|}}}|{{#seo:|description={{{Microsummary|}}}}}|}}<!--
-->{{#if:{{{Literary form|}}}|{{#seo:|title={{{Title}}}. Summary of {{{Author}}}’s {{#if:{{LiteraryForm|{{{Literary form}}}|title_no_article}}|{{LiteraryForm|{{{Literary form}}}|title_no_article}}|book}}}}|}}<!--
-->}}

Latest revision as of 14:11, 22 October 2024

{{{Title}}}
Summary of the book