Template:Khyentse Metadata: Difference between revisions

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


{{ReplaceFirstHeading|{{#if: {{{ fulltitletib | }}}  
{{ReplaceFirstHeading|{{#if: {{{ fulltitletib | }}}  

Revision as of 12:29, 9 August 2021