Difference between revisions of "Template:BookExcerpt"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><h1>{{{ Title | }}}</h1>
+
<includeonly><noglossary><div class="h1 pb-1">{{{ Title | }}}</div></noglossary>
  
 
<div class="row sticky-container">
 
<div class="row sticky-container">
Line 6: Line 6:
 
{{{ TopCitation | }}}
 
{{{ TopCitation | }}}
 
</div> | }}
 
</div> | }}
{{{ Content | }}}
+
{{{ Content | }}}
 
</div>
 
</div>
 
{{StickySideBar
 
{{StickySideBar
Line 13: Line 13:
 
|AuthorPage={{{ AuthorPage | }}}
 
|AuthorPage={{{ AuthorPage | }}}
 
|RelatedContent=
 
|RelatedContent=
{{{ RelatedContent | }}}
+
<div class="mt-3 text-110 text-center px-3">Excerpt from</div>
 +
{{PageTileQuery
 +
|query=[[{{{ BookTitle | }}}]]
 +
|classes=col-12 pl-0 pl-lg-2 pr-0 mt-2 zoom-80
 +
}}
 
}}
 
}}
</div>[[Category:Book Excerpts]][[Category:{{{ BookTitle | }}}]]
+
</div>[[Category:Book Excerpts]][[Category:{{{ BookTitle | }}}]]{{#set:
 +
ExcerptImage={{#if: {{filepath:{{#titleparts:{{PAGENAME:{{{ ExcerptImage | }}}}}}}}}
 +
| {{filepath:{{#titleparts:{{PAGENAME:{{{ ExcerptImage | }}}}}}}|100}}
 +
| {{{ ExcerptImage | }}}
 +
}}
 +
|PageTilePhoto={{PAGENAME:{{{ ExcerptImage | }}}}}
 +
|ExcerptedBookTitle={{{ BookTitle | }}}
 +
|TileDescription={{{ TileDescription | }}}
 +
}}[[Has parent page::{{BASEPAGENAME}}| ]]
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 13:32, 5 October 2020