Template:BookExcerpt: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| (46 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>< | <includeonly><noglossary>{{HideFirstHeading}} | ||
<div class="row | |||
<div id="articleContentWrapper" class="col-lg-9"> | |||
{{{ Content | }}} | |||
<div class="h1">{{{ Title | }}}</div></noglossary> | |||
<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 | }}} | |||
<references/> | |||
</div> | </div> | ||
{{StickySideBar | {{StickySideBar | ||
| Line 10: | Line 17: | ||
|AuthorPage={{{ AuthorPage | }}} | |AuthorPage={{{ AuthorPage | }}} | ||
|RelatedContent= | |RelatedContent= | ||
{{{ | <div class="mt-3 text-110 text-center px-3">Excerpt from</div> | ||
{{PageTileQuery | |||
|query=[[{{{ BookTitle | }}}]] | |||
|classes=col-12 px-0 mx-0 mt-2 zoom-80 | |||
}} | |||
}} | |||
</div>[[Category:Book Excerpts]][[Category:{{{ BookTitle | }}}]]{{#set: | |||
ExcerptImage={{#if: {{filepath:{{#titleparts:{{PAGENAME:{{{ ExcerptImage | }}}}}}}}} | |||
| {{filepath:{{#titleparts:{{PAGENAME:{{{ ExcerptImage | }}}}}}}|100}} | |||
| {{{ ExcerptImage | }}} | |||
}} | }} | ||
|PageTilePhoto={{PAGENAME:{{{ ExcerptImage | }}}}} | |||
|ExcerptedBookTitle={{{ BookTitle | }}} | |||
|TileDescription={{{ TileDescription | }}} | |||
}}[[Has parent page::{{BASEPAGENAME}}| ]] | |||
</includeonly><noinclude>{{TemplateTag}}</noinclude> | </includeonly><noinclude>{{TemplateTag}}</noinclude> | ||