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 | ||
| <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}}]]}} | |||
|{{#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= | |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}}]] | |||
|{{#ask: [[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol: | |||
|limit=1 | |limit=1 | ||
|searchlabel= | |searchlabel= | ||
|link=none | |link=none | ||
|format=template | |format=template | ||
|template= | |template=LinkToNextText | ||
|default=<span class="text-muted"> | |default=<span class="text-muted">Last text in volume.</span> | ||
}} | }} | ||
|{{#ask: [[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol::{{#expr:{{{ textnuminvol | }}} | |{{#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= | |template=LinkToNextText | ||
|default=<span class="text-muted"> | |default=<span class="text-muted">Last text in volume.</span> | ||
}} | }} | ||
}} | }} | ||
</div> | |||
}} | |||
{{ReplaceFirstHeading|{{#if: {{{ fulltitletib | }}} | {{ReplaceFirstHeading|{{#if: {{{ fulltitletib | }}} |