Template:TextSubpage: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| (11 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 }}/Root Verses | | [[{{#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 }}/Root Verses|Root Verses]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/English | | ||
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/English|English]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit | | [[{{#titleparts: {{FULLPAGENAME}} | -1 }}/English|English]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/French | | ||
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit|Sanskrit]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Tibetan | | [[{{#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 }}/Tibetan|Tibetan]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Chinese | | ||
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Chinese|Chinese]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Pali | | [[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Chinese|Chinese]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Pali | | ||
| Line 16: | Line 18: | ||
<div class="bnw-jumbotron depth-1 mr-4 mb-5">{{{ textSubIntro | }}}</div> | }} | <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;" | }}> | <div class="text-sub-content depth-1 mr-4 text-article" {{#ifeq: {{{ textSubLanguage | }}} | Tibetan | style="line-height: 1.7;" | }}> | ||
{{{ textSubContent | }}} | {{{ textSubContent | }}} | ||
| Line 32: | Line 34: | ||
{| class="table th-right table-hover m-0" {{#if: {{{ textSubLanguage | }}} | <br> | {| class="table th-right table-hover m-0" {{#if: {{{ textSubLanguage | }}} | <br> | ||
{{!}}- | {{!}}- | ||
! Language | ! class="nowrap" {{!}} Language | ||
{{!}} {{{ textSubLanguage | }}} | }}{{#if: {{{ textSubCollection | }}} | <br> | {{!}} {{{ textSubLanguage | }}} | }}{{#if: {{{ textSubCollection | }}} | <br> | ||
{{!}}- | {{!}}- | ||
! Collection | ! class="nowrap" {{!}} Collection | ||
{{!}} {{{ textSubCollection | }}} | }}{{#if: {{{ textSubNumber | }}} | <br> | {{!}} {{{ textSubCollection | }}} | }}{{#if: {{{ textSubNumber | }}} | <br> | ||
{{!}}- | {{!}}- | ||
! Text Number | ! class="nowrap" {{!}} Text Number | ||
{{!}} {{{ textSubNumber | }}} | }}{{#if: {{{ textSubVolume | }}} | <br> | {{!}} {{{ textSubNumber | }}} | }}{{#if: {{{ textSubVolume | }}} | <br> | ||
{{!}}- | {{!}}- | ||
! Volume number | ! class="nowrap" {{!}} Volume number | ||
{{!}} {{{ textSubVolume | }}} | }}{{#if: {{{ textSubVolumeScript | }}} | <br> | {{!}} {{{ textSubVolume | }}} | }}{{#if: {{{ textSubVolumeScript | }}} | <br> | ||
{{!}}- | {{!}}- | ||
! Volume name | ! class="nowrap" {{!}} Volume name | ||
{{!}} {{{ textSubVolumeScript | }}} | }}{{#if: {{{ textSubPages | }}} | <br> | {{!}} {{{ textSubVolumeScript | }}} | }}{{#if: {{{ textSubPages | }}} | <br> | ||
{{!}}- | {{!}}- | ||
! Page numbers | ! class="nowrap" {{!}} Page numbers | ||
{{!}} {{{ textSubPages | }}} | }}{{#if: {{{ textSubMessage | }}} | <br> | {{!}} {{{ textSubPages | }}} | }}{{#if: {{{ textSubMessage | }}} | <br> | ||
{{!}}- | {{!}}- | ||
! Notes | ! class="nowrap" {{!}} Notes | ||
{{!}} colspan="3" {{!}} {{{ textSubMessage | }}} | }}{{#if: {{{ textSubSourcelink | }}} | <br> | {{!}} colspan="3" {{!}} | ||
{{{ textSubMessage | }}} | }}{{#if: {{{ textSubSourcelink | }}} | <br> | |||
{{!}}- | {{!}}- | ||
! Source link | ! class="nowrap" {{!}} Source link | ||
{{!}} colspan="3" {{!}} Go to source: {{#show:{{#titleparts: {{PAGENAME}} | -1 }}|?{{{ textSubSourcelink | }}}}} | }} | {{!}} colspan="3" {{!}} Go to source: {{#show:{{#titleparts: {{PAGENAME}} | -1 }}|?{{{ textSubSourcelink | }}}}} | }} | ||
|} | |} | ||
| Line 79: | 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> | ||