Template:Khyentse Metadata: Difference between revisions

From Khyentse Lineage - A Tsadra Foundation Project
No edit summary
((by SublimeText.Mediawiker))
Line 1: Line 1:
<includeonly>__NOTOC__{{#ifeq: {{{ subclass | }}} | Karchags  
<includeonly>__NOTOC__{{#ifeq: {{{ subclass | }}} | Karchags  
| <div class="top-blue-links">[[{{#replaceset:{{PAGENAME}}|/-Karchag/=}}|<i class="fa-duotone fa-angles-left mr-2"></i> Back to Volume Page]]</div>
| <div class="top-blue-links">[[{{#replaceset:{{PAGENAME}}|/-Karchag/=}}|<i class="fa-duotone fa-angles-left mr-2"></i> Back to Volume Page]]</div>
| <div class="top-blue-links d-flex justify-content-between my-4">{{#if: {{{ textsubnumber | }}}
| {{#ask:
[[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol::{{{ textnuminvol | }}}]] [[textsubnumber::{{#expr:{{{ textsubnumber | }}}-1}}]]
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToPreviousText
|default=<span class="text-muted">First text in section.</span>
}}
| {{#ask: [[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol::{{#expr:{{{ textnuminvol | }}}-1}}]]
|limit=1
|searchlabel=
|link=none
|format=template
|template={{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | LinkToPreviousSection | LinkToPreviousText }}
|default=<span class="text-muted">First {{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | section | text }} in volume.</span>
}}
}}{{#ask: [[Category:Tibetan Volumes]][[collectiontitle::{{{ collectiontitle | }}}]][[volumenumber::{{{ volumenumber | }}}]]
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToVolume
}}{{#if: {{{ textsubnumber | }}}
| {{#ask:
[[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol::{{{ textnuminvol | }}}]] [[textsubnumber::{{#expr:{{{ textsubnumber | }}}+1}}]]
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToNextText
|default=<span class="text-muted">Last text in section.</span>
}}
| {{#ask: [[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol::{{#expr:{{{ textnuminvol | }}}+1}}]]
|limit=1
|searchlabel=
|link=none
|format=template
|template={{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | LinkToNextSection | LinkToNextText }}
|default=<span class="text-muted">Last {{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | section | text }} in volume.</span>
}}
}}
</div>
}}
}}



Revision as of 16:27, 13 July 2023