Template:TextSubpage: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(74 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{RootTitleArea}}
<includeonly>{{RootTitleArea}}
<div class="read-versions text-right" style="margin-top: -15px;">
<div class="read-versions text-right mt-1">
<i class="fal fa-book-open"></i> Read the text: {{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/English |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}|<i class="fas fa-caret-left"></i> Back to text page]]&nbsp;·&nbsp;&nbsp;&nbsp;Switch to: {{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Root Verses |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/English|English]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Root Verses|Root Verses]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/English |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit|Sanskrit]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Tibetan |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/English|English]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/French |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Tibetan|Tibetan]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Chinese |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/French|French]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Chinese|Chinese]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Pali |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit|Sanskrit]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit_Romanized |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Pali|Pali]] | }}
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit_Romanized|Skt. Romanized]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Tibetan |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Tibetan|Tibetan]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Chinese |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Chinese|Chinese]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Pali |
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Pali|Pali]] | }}
</div>
</div>


<div class="row">
<div class="col-lg-9">
<div class="text-sub-data depth-1 mt-4 mb-4">


{| class="table th-right table-hover m-0"
<div class="row mt-3 sticky-container">
|-
<div class="col-lg-9">{{#if: {{{ textSubIntro | }}} |
! Language
 
| {{{ textSubLanguage | }}}
<div class="bnw-jumbotron depth-1 mr-4 mb-5">{{{ textSubIntro | }}}</div> | }}
|-
 
! Collection title
<div class="text-sub-content depth-1 mr-4 text-article" {{#ifeq: {{{ textSubLanguage | }}} | Tibetan | style="line-height: 1.7;" | }}>
| {{{ textSubCollection | }}}
 
|-
{{{ textSubContent | }}}
! Text Number
| {{{ textSubNumber | }}}
|-
! Volume number
| {{{ textSubVolume | }}}
|-
! Volume name
| {{{ textSubVolumeScript | }}}
|-
! Page numbers
| {{{ textSubPages | }}}
|-
! Note
| colspan="3" | {{{ textSubMessage | }}}
|-
! Source link
| colspan="3" | {{#show:{{#titleparts: {{PAGENAME}} | -1 }}|?{{{ textSubSourcelink | }}}}}
|}


</div>
</div>


{{{ textSubContent | }}}
{{References}}


</div>
</div>
<div class="right-side-bar biblio-toc noprint col-lg-3 mt-0 pl-0 mb-2">
<div class="right-side-bar noprint col-lg-3 mt-0 p-0 mb-2 sticky-sidemenu" id="sticky-sidemenu">
<div id="sticky-sidemenu">
<div class="sticky-sidemenu-inner p-0 text-sub-sidebar" id="sticky-sidemenu-inner">
<div id="sticky-sidemenu-inner">
<div class="text-sub-data mb-0">
 
{| class="table th-right table-hover m-0" {{#if: {{{ textSubLanguage | }}} | <br>
{{!}}-
! class="nowrap" {{!}} Language
{{!}} {{{ textSubLanguage | }}} | }}{{#if: {{{ textSubCollection | }}} | <br>
{{!}}-
! class="nowrap" {{!}} Collection
{{!}} {{{ textSubCollection | }}} | }}{{#if: {{{ textSubNumber | }}} | <br>
{{!}}-
! class="nowrap" {{!}} Text Number
{{!}} {{{ textSubNumber | }}} | }}{{#if: {{{ textSubVolume | }}} | <br>
{{!}}-
! class="nowrap" {{!}} Volume number
{{!}} {{{ textSubVolume | }}} | }}{{#if: {{{ textSubVolumeScript | }}} | <br>
{{!}}-
! class="nowrap" {{!}} Volume name
{{!}} {{{ textSubVolumeScript | }}} | }}{{#if: {{{ textSubPages | }}} | <br>
{{!}}-
! class="nowrap" {{!}} Page numbers
{{!}} {{{ textSubPages | }}} | }}{{#if: {{{ textSubMessage | }}} | <br>
{{!}}-
! class="nowrap" {{!}} Notes
{{!}} colspan="3" {{!}}
{{{ textSubMessage | }}} | }}{{#if: {{{ textSubSourcelink | }}} | <br>
{{!}}-
! class="nowrap" {{!}} Source link
{{!}} colspan="3" {{!}} Go to source: {{#show:{{#titleparts: {{PAGENAME}} | -1 }}|?{{{ textSubSourcelink | }}}}} | }}
|}


__TOC__
</div>


<hr>
__TOC__


{{#widget:ScrollToTop}}


<div class="scrollToTop d-lg-block">
<div id="scrollToTop">
<i class="fas fa-angle-up fa-2x"></i>
<p style="margin-top: -7px;">to top</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>{{#set:
</div>{{#set:
textSubLanguage={{{ textSubLanguage | }}}
textSubIntro={{{ textSubIntro | }}}
|textSubLanguage={{{ textSubLanguage | }}}
|textSubCollection={{{ textSubCollection | }}}
|textSubCollection={{{ textSubCollection | }}}
|textSubVolume={{{ textSubVolume | }}}
|textSubVolume={{{ textSubVolume | }}}
Line 68: Line 82:
|textSubMessage={{{ textSubMessage | }}}
|textSubMessage={{{ textSubMessage | }}}
|textSubNumber={{{ textSubNumber | }}}
|textSubNumber={{{ textSubNumber | }}}
|textSubSourcelink={{#show:{{#titleparts: {{PAGENAME}} | -1 }}|?{{{ textSubSourcelink | }}}#}}
|textSubSourcelink={{#if:{{{ textSubSourcelink | }}}|{{#show:{{#titleparts: {{PAGENAME}} | -1 }}|?{{{ textSubSourcelink | }}}#}}|}}
|Has parent page={{BASEPAGENAME}}
}}[[Category: Source Text Subpages]]
}}[[Category: Source Text Subpages]]
</includeonly><noinclude>{{TemplateTag}}</noinclude>
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 08:08, 25 July 2025