Template:EditorialContent: Difference between revisions
From Bodhicitta
(VSCode edit) |
(Topic facet categories for the site search) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 30: | Line 30: | ||
|{{GetSubThemes|{{{ subclass | }}}}} | |{{GetSubThemes|{{{ subclass | }}}}} | ||
}}</div> | }}</div> | ||
<div>{{ | <div>{{ReadingTime}}{{#ifeq:{{{ subclass | }}}|BCA Chapter Summaries| {{!}} {{#switch:{{{ sub-theme | }}} | ||
|Chapter 1=<span class="text-muted font-italic">First Chapter</span> {{!}} [[Explore/Chapter 2 - Confession of Negativity|Next Summary <i class="fa-sharp-duotone fa-solid fa-caret-right fa-sm"></i>]] | |Chapter 1=<span class="text-muted font-italic">First Chapter</span> {{!}} [[Explore/Chapter 2 - Confession of Negativity|Next Summary <i class="fa-sharp-duotone fa-solid fa-caret-right fa-sm"></i>]] | ||
|Chapter 2=[[Explore/Chapter 1 - The Excellence and Benefits of Bodhicitta|<i class="fa-sharp-duotone fa-solid fa-caret-left fa-sm"></i> Previous Summary]] {{!}} [[Explore/Chapter 3 - Taking Hold of Bodhicitta|Next Summary <i class="fa-sharp-duotone fa-solid fa-caret-right fa-sm"></i>]] | |Chapter 2=[[Explore/Chapter 1 - The Excellence and Benefits of Bodhicitta|<i class="fa-sharp-duotone fa-solid fa-caret-left fa-sm"></i> Previous Summary]] {{!}} [[Explore/Chapter 3 - Taking Hold of Bodhicitta|Next Summary <i class="fa-sharp-duotone fa-solid fa-caret-right fa-sm"></i>]] | ||
| Line 62: | Line 62: | ||
<div class="mb-4">{{{ TopSidebarContent | }}}</div> }}{{#ifeq:{{{ subclass | }}}|BCA Chapter Summaries| | <div class="mb-4">{{{ TopSidebarContent | }}}</div> }}{{#ifeq:{{{ subclass | }}}|BCA Chapter Summaries| | ||
<div class="mb-4"> | <div class="mb-4"> | ||
<div class=" | <div class="sidebar-section-heading">More on this</div> | ||
* [[Texts/Bodhicaryāvatāra/{{{ sub-theme | }}}|Read Chapter Verses <i class="fa-sharp-duotone fa-solid fa-angles-right ml-1 fa-sm"></i>]]{{#if:{{{ TermTopics | }}}|{{#ask:[[Category:Articles]][[Editorial::true]][[TermTopics::{{{ TermTopics | }}}]][[BcaAuthor::People/Houlton, S.]]|format=template|template=DetailedIntroLink|link=none|limit=1}}|}} | * [[Texts/Bodhicaryāvatāra/{{{ sub-theme | }}}|Read Chapter Verses <i class="fa-sharp-duotone fa-solid fa-angles-right ml-1 fa-sm"></i>]]{{#if:{{{ TermTopics | }}}|{{#ask:[[Category:Articles]][[Editorial::true]][[TermTopics::{{{ TermTopics | }}}]][[BcaAuthor::People/Houlton, S.]]|format=template|template=DetailedIntroLink|link=none|limit=1}}|}} | ||
</div>| }}{{#switch:{{BASEPAGENAME}} | </div>| }}{{#switch:{{BASEPAGENAME}} | ||
| Line 198: | Line 198: | ||
|limit=1008 | |limit=1008 | ||
|default={{#if:{{{ tibetan-texts | }}} | |default={{#if:{{{ tibetan-texts | }}} | ||
|{{TibetanTileQuery | |<div class="row filterableContent mt-4">{{TibetanTileQuery | ||
|query=[[{{#arraymap:{{{ tibetan-texts | }}} | |query=[[{{#arraymap:{{{ tibetan-texts | }}} | ||
|; | |; | ||
| Line 205: | Line 205: | ||
|{{!}}{{!}} | |{{!}}{{!}} | ||
}}]] | }}]] | ||
|limit=1008 | |limit=1008 | ||
}}</div> | |||
}} | |||
| | | | ||
}} | }} | ||
| Line 265: | Line 261: | ||
</div> | </div> | ||
</div>{{Categories|{{{ EditorialAuthor | }}};{{{ ExtraCats | }}};{{{ subclass | }}};{{{ theme | }}};{{{sub-theme|}}};Editorial Content}}{{#set: | </div>{{Categories|{{{ EditorialAuthor | }}};{{{ ExtraCats | }}};{{{ subclass | }}};{{{ theme | }}};{{{sub-theme|}}};Editorial Content}}<!-- | ||
Topic categories for the site search (hidden from the footer in CSS). See Module:FacetCategories. | |||
-->{{#invoke:FacetCategories|main|topics={{{ TermTopics | }}}}}{{#set: | |||
|BcaAuthor={{{ EditorialAuthor | }}}|+sep=; | |BcaAuthor={{{ EditorialAuthor | }}}|+sep=; | ||
|FrontCoverImg={{#if: {{{ image | }}} | |FrontCoverImg={{#if: {{{ image | }}} | ||