Template:Summary: Difference between revisions

From Wikisum
No edit summary
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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 class="summary-card"><!--
<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;}}}}<!--
Emoji
-->{{#if:{{{Year of publication|}}}|{{{Year of publication}}}|{{#if:{{NAMESPACE}}||[[Category:No year of publication]]}}}}<!--
 
-->{{#if:{{{Emoji|}}}|<div class="summary-card__emoji">{{{Emoji}}}</div>|}}<!--
 
 
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:{{{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>}}<!--
-->{{#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><div class="summary-card__genre">Summary of {{#switch: {{{Literary form}}}
 
| novel = a Novel{{#if:{{NAMESPACE}}||[[Category:Novels]]}}
 
| short story = a Short Story{{#if:{{NAMESPACE}}||[[Category:Short stories]]}}
Summary of Literary form from Cycle
| #default = a Book{{#if:{{NAMESPACE}}||[[Category:No genre]]}}
 
}}{{#if:{{{Cycle|}}}|<br/>from the Cycle «{{{Cycle}}}»}}</div>{{#if:{{{Microsummary|{{{Microtelling|{{{Micro paraphrase|}}}}}}}}}
--><div class="summary-card__genre">Summary of the {{#if:{{LiteraryForm|{{{Literary form}}}|title_no_article}}|{{LiteraryForm|{{{Literary form}}}|title_no_article}}|book}}<!--
| <div class="microsummary"><span class="microsummary-title">Microsummary</span><span class="microsummary-divider">:</span> <span class="microsummary-content">{{{Microsummary|{{{Microtelling|{{{Micro paraphrase|}}}}}}}}}</span></div>|
-->{{#if:{{{Cycle|}}}|<br/>from the Collection «{{{Cycle}}}»}}</div><!--
}}{{#if:{{NAMESPACE}}||<div class="toc_center" style="margin-top:16px">__TOC__</div>}}</div>{{#if:{{NAMESPACE}}||[[Category:All summaries|{{#ifeq: {{#pos:{{PAGENAME}}|The }} | 0 | {{#sub:{{PAGENAME}}|4}} | {{PAGENAME}} }}]]}}
 
 
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 17:02, 18 November 2024

{{{Title}}}
Summary of the book