Difference between revisions of "Template:BookExcerpt"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(16 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
|columns=3
 
|columns=3
 
|BuNayPageType=Book Excerpt
 
|BuNayPageType=Book Excerpt
|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 | }}}]]{{#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