Difference between revisions of "Template:TextSubpage"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(7 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">
 
[[{{#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 }}|<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 }}/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 }}/French|French]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit |
 
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit|Sanskrit]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Sanskrit_Romanized |
 
[[{{#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 }}/Sanskrit_Romanized|Skt. Romanized]] | }}{{#ifexist: {{#titleparts: {{FULLPAGENAME}} | -1 }}/Tibetan |
Line 36: Line 37:
 
{{!}} {{{ textSubLanguage | }}} | }}{{#if: {{{ textSubCollection | }}} | <br>
 
{{!}} {{{ textSubLanguage | }}} | }}{{#if: {{{ textSubCollection | }}} | <br>
 
{{!}}-
 
{{!}}-
! class="nowrap" {{!}} Collection title
+
! class="nowrap" {{!}} Collection
 
{{!}} {{{ textSubCollection | }}} | }}{{#if: {{{ textSubNumber | }}} | <br>
 
{{!}} {{{ textSubCollection | }}} | }}{{#if: {{{ textSubNumber | }}} | <br>
 
{{!}}-
 
{{!}}-
Line 81: 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 17:04, 10 November 2022