Difference between revisions of "Template:BookExcerpt"

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

Latest revision as of 12:32, 5 October 2020