Template:Khyentse Metadata: Difference between revisions
From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 2: | Line 2: | ||
| <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: {{#ask: [[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: | | {{#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 | }}} | | {{#if: {{{ textsubnumber | }}} | ||
|{{#ask: [[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol::{{#expr:{{{ textnuminvol | }}}-1}}]] [[textsubnumber::{{#show: {{PAGENAME}} |?prevTextMaxSubTextNumber# }}]] | |{{#ask: [[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol::{{#expr:{{{ textnuminvol | }}}-1}}]] [[textsubnumber::{{#show: {{PAGENAME}} |?prevTextMaxSubTextNumber# }}]] | ||
Line 25: | Line 25: | ||
|link=none | |link=none | ||
|format=template | |format=template | ||
|template=LinkToPreviousText | |template={{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | LinkToPreviousSection | LinkToPreviousText }} | ||
|default=<span class="text-muted">First text in volume.</span> | |default=<span class="text-muted">First text in volume.</span> | ||
}} | }} | ||
Line 35: | Line 35: | ||
|format=template | |format=template | ||
|template=LinkToVolume | |template=LinkToVolume | ||
}}{{#if | }}{{#if: {{{ textsubnumber | }}} | ||
|{{#ask: | | {{#ask: | ||
[[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol::{{{ textnuminvol | }}}]] [[textsubnumber::{{#expr:{{{ textsubnumber | }}}+1}}]] | [[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol::{{{ textnuminvol | }}}]] [[textsubnumber::{{#expr:{{{ textsubnumber | }}}+1}}]] | ||
|limit=1 | |limit=1 | ||
Line 45: | Line 45: | ||
|default=<span class="text-muted">Last 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=LinkToNextText | |template={{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | LinkToNextSection | LinkToNextText }} | ||
|default=<span class="text-muted">Last text in volume.</span> | |default=<span class="text-muted">Last text in volume.</span> | ||
}} | }} |