Template:KeyTextDashboard: Difference between revisions

From Bodhicitta
((by SublimeText.Mediawiker))
(VSCode edit)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#default_form:KeyTextPage}}<div class="offwhite-bg tsdwiki-depth-1 rounded mx-n3 mx-sm-0 p-3 p-lg-4 p-xl-5 clearfix text-article line14">
<includeonly>{{#default_form:KeyTextPage}}{{#set:
|LibraryTextPage={{{ page | }}}
|Description={{#show:{{{ page | }}}|?Description}}
|DescriptionTib={{#show:{{{ page | }}}|?DescriptionTib}}
|Label=Text
|FullTitle={{#show:{{{ page | }}}|?FullTitle}}
|FullTitleTib={{#show:{{{ page | }}}|?FullTitleTib}}
|FullTitleDev={{#show:{{{ page | }}}|?FullTitleDev}}
|FullTitleSkt={{#show:{{{ page | }}}|?FullTitleSkt}}
}}<div class="offwhite-bg tsdwiki-depth-1 rounded mx-n3 mx-sm-0 p-3 p-lg-4 p-xl-5 clearfix text-article line14">


<div class="row">
<div class="row">
Line 8: Line 17:
<div class="text-80 text-muted font-italic mb-1">{{#show:{{{ page | }}}|?Fulltitletrans}}</div>
<div class="text-80 text-muted font-italic mb-1">{{#show:{{{ page | }}}|?Fulltitletrans}}</div>
</div>
</div>
 
<div class="time-to-read">
 
{{{ dashboardText | }}}
{{{ dashboardText | }}}
 
</div>
</div>
</div>
<div class="col-sm-3 pr-lg-0">{{#widget:FancyBoxImg
<div class="col-sm-3 pr-lg-0">{{#widget:FancyBoxImg
Line 26: Line 34:




<div class="text-article line14">
<div id="TextPageTabs" class="text-article line14">


{{#tag:tabber
{{#invoke:TextPageTabs|main}}{{#widget:RedBorderAroundActiveTab}}
| Introduction = <div class="row mx-0 pt-3">{{#if:{{{ FeaturedYoutubeID | }}}
|<div class="col-md-8 pl-md-0">{{{ introduction | }}}</div>
<div class="col-md-4 pr-md-0">{{YouTube
|id={{{ FeaturedYoutubeID | }}}
|caption={{{ FeaturedVidCaption | }}}
}}</div>
|<div class="col-12">{{{ introduction | }}}</div>
}}
</div>
{{{ ExtraTabs | }}}
{{!}}-{{!}} Recensions = <div class="pt-3 px-3">{{OnlineRecensions|{{{ page | }}}}}{{CitationQuery|query=[[Contains a recension of::{{{ page | }}}]]}}</div>
{{!}}-{{!}} Translations = <div class="pt-3 pl-3">{{CitationQuery|query=[[Contains a translation of::{{{ page | }}}]]OR[[Contains a full translation of::{{{ page | }}}]]OR[[Contains a partial translation of::{{{ page | }}}]]}}</div>
{{!}}-{{!}} Commentaries = <div class="pt-3 pl-3">{{CitationQuery|query=[[Is a commentary of::{{{ page | }}}]]OR[[TextClass::Commentary]][[TextTopics::{{{ queryPagename | }}}]]}}</div>
{{!}}-{{!}} Teachings = <div class="pt-3 pl-3">{{CitationQuery|query=[[Contains a teaching based on::{{{ page | }}}]]OR[[Is a teaching based on::{{{ page | }}}]]}}</div>
{{!}}-{{!}} Related scholarship = <div class="pt-3 pl-3">{{CitationQuery|query=[[Contains scholarship related to::{{{ page | }}}]]OR[[Is a scholarly presentation about::{{{ page | }}}]]OR[[Contains a review of::<q>[[Contains a translation of::{{{ page | }}}]]OR[[Contains a full translation of::{{{ page | }}}]]OR[[Contains a partial translation of::{{{ page | }}}]]</q>]]}}</div>
{{!}}-{{!}} Media = {{MediaQuery|{{{ queryPagename | }}}}}
{{!}}-{{!}} Other content = {{Callout
|icon=☑️
|title=These entries need to be checked
|text=Some will belong in this "Other" category as they may be more indirectly related to the text, but some are simply missing relationship information.
}}{{#invoke:OtherContentQuery|main}}
}}{{#widget:RedBorderAroundActiveTab}}


</div>
</div>
Line 56: Line 42:
<div class="h4 mt-4">Scroll to...</div>
<div class="h4 mt-4">Scroll to...</div>


<div class="">
<div class="noglossary">
{{KeyTextNavButton|About the Text}}
{{KeyTextNavButton|About the Text|{{{ scroll-btn-1-label | }}}}}
{{KeyTextNavButton|About the Author}}
{{KeyTextNavButton|About the Author|{{{ scroll-btn-2-label | }}}}}
{{KeyTextNavButton|Text Significance and Reception}}
{{KeyTextNavButton|Text Significance and Reception|{{{ scroll-btn-3-label | }}}}}
{{KeyTextNavButton|Study the Text}}
{{KeyTextNavButton|Study the Text|{{{ scroll-btn-4-label | }}}}}
{{KeyTextNavButton|Practice the Text}}
{{KeyTextNavButton|Practice the Text|{{{ scroll-btn-5-label | }}}}}
{{KeyTextNavButton|Resources & References}}
{{KeyTextNavButton|Resources & References|{{{ scroll-btn-6-label | }}}}}
</div>
</div>



Latest revision as of 12:09, 16 April 2026