Difference between revisions of "Template:BookExcerpt"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(5 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
{{PageTileQuery
 
{{PageTileQuery
 
|query=[[{{{ BookTitle | }}}]]
 
|query=[[{{{ BookTitle | }}}]]
|classes=col-12 pl-lg-2 mt-2 zoom-80
+
|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