Difference between revisions of "Template:BookExcerpt"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(3 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
}}
 
}}
 
</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={{#sub:{{{ Content | }}}|0|300}}
+
|TileDescription={{{ TileDescription | }}}
 
}}[[Has parent page::{{BASEPAGENAME}}| ]]
 
}}[[Has parent page::{{BASEPAGENAME}}| ]]
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 13:32, 5 October 2020