Template:BookExcerpt: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><noglossary><div class="h1 pb-1">{{{ Title | }}}</div></noglossary>
<includeonly><noglossary>{{HideFirstHeading}}


<div class="row sticky-container">
 
<div id="articleContentWrapper" class="col-lg-9">{{#if: {{{ TopCitation | }}} |
 
<div class="bnw-panel rounded p-4 mb-5 mr-4 depth-1 text-italic" style="font-size: .9em;">
 
{{{ TopCitation | }}}
<div class="h1">{{{ Title | }}}</div></noglossary>
</div> | }}
 
<div class="row">
<div id="articleContentWrapper" class="col-lg-9 text-article">{{#if: {{{ TopCitation | }}} |
<div class="offwhite-bg rounded py-3 px-4 mb-5 tsdwiki-depth-1 text-italic" style="font-size: .9em;">{{{ TopCitation | }}}</div> | }}
{{{ Content | }}}
{{{ Content | }}}
<references/>
</div>
</div>
{{StickySideBar
{{StickySideBar
Line 20: Line 24:
}}
}}
</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 14:17, 17 January 2025