Difference between revisions of "Template:TextSubpage"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(43 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{RootTitleArea}} | <includeonly>{{RootTitleArea}} | ||
− | <div class="read-versions text-right | + | <div class="read-versions text-right mt-1"> |
− | [[{{#titleparts: {{FULLPAGENAME}} | -1 }}|<i class="fas fa-caret-left"></i> Back to text page]] · Switch to: {{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/English | | + | [[{{#titleparts: {{FULLPAGENAME}} | -1 }}|<i class="fas fa-caret-left"></i> Back to text page]] · Switch to: {{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Root Verses | |
− | + | [[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Root Verses|Root Verses]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/English | | |
− | + | [[{{#titleparts: {{FULLPAGENAME}} | -1 }}/English|English]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/French | | |
− | + | [[{{#titleparts: {{FULLPAGENAME}} | -1 }}/French|French]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit | | |
− | + | [[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit|Sanskrit]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit_Romanized | | |
− | + | [[{{#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 mt-3"> | + | <div class="row mt-3 sticky-container"> |
− | <div class="col-lg-9"> | + | <div class="col-lg-9">{{#if: {{{ textSubIntro | }}} | |
+ | |||
+ | <div class="bnw-jumbotron depth-1 mr-4 mb-5">{{{ textSubIntro | }}}</div> | }} | ||
+ | |||
+ | <div class="text-sub-content depth-1 mr-4" {{#ifeq: {{{ textSubLanguage | }}} | Tibetan | style="line-height: 1.7;" | }}> | ||
{{{ textSubContent | }}} | {{{ textSubContent | }}} | ||
+ | |||
+ | </div> | ||
+ | |||
+ | {{References}} | ||
</div> | </div> | ||
− | <div class="right-side-bar noprint col-lg-3 mt-0 p-0 mb-2" | + | <div class="right-side-bar noprint col-lg-3 mt-0 p-0 mb-2 sticky-sidemenu" id="sticky-sidemenu"> |
− | + | <div class="sticky-sidemenu-inner p-0 text-sub-sidebar" 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 | }}}}} | }} | |
+ | |} | ||
− | + | </div> | |
− | + | __TOC__ | |
− | |||
+ | <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>{{#set: | </div>{{#set: | ||
− | textSubLanguage={{{ textSubLanguage | }}} | + | textSubIntro={{{ textSubIntro | }}} |
+ | |textSubLanguage={{{ textSubLanguage | }}} | ||
|textSubCollection={{{ textSubCollection | }}} | |textSubCollection={{{ textSubCollection | }}} | ||
|textSubVolume={{{ textSubVolume | }}} | |textSubVolume={{{ textSubVolume | }}} | ||
Line 67: | 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> |