Template:Khyentse Metadata: Difference between revisions
From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(176 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>__NOTOC__ | <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 d-flex justify-content-between my-4">{{#if: {{{ textsubnumber | }}} | |||
| {{#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= | ||
Line 16: | Line 9: | ||
|format=template | |format=template | ||
|template=LinkToPreviousText | |template=LinkToPreviousText | ||
|default=<span class="text-muted">First text in | |default=<span class="text-muted">First text in section.</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={{#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 {{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | section | 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=LinkToNextText | |template=LinkToVolume | ||
|default=<span class="text-muted">Last text in volume.</span> | }}{{#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> | |||
| | }} | ||
| | {{#ifeq: {{{ subclass | }}} | Karchags | ||
|| {{ReplaceFirstHeading|{{#if: {{{ fulltitletib | }}} | |||
| {{{ fulltitletib | }}} | |||
| {{#if: {{{ fulltitlekartib | }}} | |||
| {{{ fulltitlekartib | }}} (Karchag title)}} | |||
| {{PAGENAME}} | |||
}} | }} | ||
}} | }} | ||
}} | |||
{| class="smwtable-clean offwhite-bg th-top-right tsdwiki-depth-1 w-100 mb-4" | {{#ifeq: {{{ subclass | }}} | Karchags | ||
| [[{{{ pdflink | }}}|page=1|1000px|class=tsdwiki-depth-1 rounded mt-3 mx-auto|link={{filepath:{{PAGENAME:{{{ pdflink | }}}}}}}]] | |||
! | | | ||
{{{!}} class="smwtable-clean offwhite-bg th-top-right th-nowrap tsdwiki-depth-1 w-100 mb-4" | |||
{{!}}- | |||
! Wylie title | |||
! | {{!}} ''{{{ fulltitle | }}}'' | ||
{{!}} rowspan="3" class="border-left" style="width: 485px;" {{!}} [[{{{ pdflink | }}}|page=1|x110px|class=tsdwiki-depth-0|link={{filepath:{{PAGENAME:{{{ pdflink | }}}}}}}]] | |||
| | {{!}}- | ||
! Location | |||
| '''{{{ | {{!}} [[{{{ collectiontitle | }}}]] <br> Volume '''{{#expr:{{{ volumenumber | }}}}}''', {{#if: {{{ textsubnumber | }}} | ||
| sde tshan '''{{#expr:{{{ textnuminvol | }}}}}''', Text '''{{#expr:{{{ textsubnumber | }}}}}''' | |||
| {{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | sde tshan | Text }} '''{{#expr:{{{ textnuminvol | }}}}}''' | |||
}}, Pages '''{{{ pagenumbers | }}}''' (Folios '''{{{ beginfolioline | }}}''' to '''{{{ endfolioline | }}}''') | |||
{{!}}- | |||
! Author | ! Author | ||
{{!}} {{TibIL|[[{{{ author | }}}|{{{ authortib | }}}]]}} | |||
| | {{!}}- | ||
|- | {{!}} colspan="3" class="text-center" style="padding-right: 1rem !important;" {{!}} <span class="top-blue-links mw-customtoggle-moreDetails">Less details <i class="fa-duotone fa-angles-down ml-1"></i></span><span class="top-blue-links mw-customtoggle-moreDetails d-none">More details <i class="fa-duotone fa-angles-up ml-1"></i></span>{{#if: {{{ sourcerevealer | }}} | <br> | ||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Tertön | |||
{{!}} colspan="2" {{!}} {{#arraymap:{{{ sourcerevealertib | }}} | |||
|; | |||
|@@@ | |||
|{{TibIL|@@@}} | |||
|,\s | |||
}} ({{#arraymap:{{{ sourcerevealer | }}} | |||
|; | |||
|@@@ | |||
|[[@@@]] | |||
|,\s | |||
}}) | }}{{#if: {{{ sourceauthor | }}} | <br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Source Author(s) | |||
{{!}} colspan="2" {{!}} {{#arraymap:{{{ sourceauthortib | }}} | |||
|; | |||
|@@@ | |||
|{{TibIL|@@@}} | |||
|,\s | |||
}} ({{#arraymap:{{{ sourceauthor | }}} | |||
|; | |||
|@@@ | |||
|[[@@@]] | |||
|,\s | |||
}}) | }}{{#if: {{{ associatedpeople | }}} | <br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Associated People | |||
{{!}} colspan="2" {{!}} {{#arraymap:{{{ associatedpeopletib | }}} | |||
|; | |||
|@@@ | |||
|{{TibIL|@@@}} | |||
|,\s | |||
}} ({{#arraymap:{{{ associatedpeople | }}} | |||
|; | |||
|@@@ | |||
|[[@@@]] | |||
|,\s | |||
}}) | }} | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Citation | |||
{{!}} colspan="2" {{!}} {{{ citation | }}} | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Genre | ! Genre | ||
{{!}} colspan="2" {{!}} {{#arraymap: {{{ tibgenre | }}} | |||
|, | |, | ||
|@@@ | |@@@ | ||
|[[:Category:@@@]] | |[[:Category:@@@|@@@]] | ||
| | | · | ||
}}{{#if: {{{ cycle | }}} | <br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Cycle | |||
{{!}} colspan="2" {{!}} [[{{{ cycle | }}}|{{TibIL|{{{ cycletib | }}}}} (''{{lc:{{{ cycle | }}}}}'')]] | }}{{#if: {{{ parentcycle | }}} | <br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Parent Cycle | |||
{{!}} colspan="2" {{!}} [[{{{ parentcycle | }}}|{{TibIL|{{{ parentcycletib | }}}}} (''{{lc:{{{ parentcycle | }}}}}'')]] | }}{{#if: {{{ deity | }}} | <br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Deity | |||
{{!}} colspan="2" {{!}} {{#arraymap:{{{ deity | }}} | |||
|; | |||
|@@@ | |||
|[[@@@]] | |||
|,\s | |||
}} | }} {{#ask: [[Category:Tibetan Volumes]][[collectiontitle::{{{ collectiontitle | }}}]][[volumenumber::{{{ volumenumber | }}}]][[dkarchagpage::+]] | |||
|?dkarchagpage | |||
|limit=1 | |||
|searchlabel= | |||
|intro=<br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Karchag page | |||
{{!}} colspan="2" {{!}} | |||
|format=template | |||
|template=ShowProp | |||
|default={{#if: {{{ dkarchagpage | }}} | | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Karchag page | |||
{{!}} colspan="2" {{!}} {{{ dkarchagpage | }}} | }} | |||
}}{{#if: {{{ recensionlink | }}} | <br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Recension Link | |||
{{!}} colspan="2" {{!}} ''Other Versions on this site'': {{#show:{{PAGENAME}}|?recensionlink}} | }}{{#if: {{{ rtzlink | }}} | <br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! RTZ | |||
{{!}} colspan="2" {{!}} ''In the Rinchen Terdzö'': '''https://rtz.tsadra.org/index.php/{{{ rtzlink | }}}''' | }}{{#if: {{{ dnzlink | }}} | <br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! DNZ | |||
{{!}} colspan="2" {{!}} ''In the Damngak Dzö'': '''https://dnz.tsadra.org/index.php/{{{ dnzlink | }}}''' | }}{{#if: {{{ lotsawalink | }}} | <br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Lotsawa House Link | |||
{{!}} colspan="2" {{!}} {{{ lotsawalink | }}} | }}{{#if: {{{ colophontib | }}} | <br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! rowspan="2" class="border-right" {{!}} Colophon | |||
{{!}} colspan="2" class="text-120" {{!}} | |||
{{{ colophontib | }}} | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
{{!}} colspan="2" {{!}} | |||
{{{ colophonwylie | }}} | }}{{#if: {{{ archivistnotes | }}} | <br> | |||
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails" | |||
! Notes | |||
{{!}} {{{ archivistnotes | }}} | }} | |||
{{!}}} | |||
}}{{#switch: {{{ collectiontitle | }}} | |||
|mkhyen brtse'i bka' 'bum | |||
|chos kyi blo gros bka' 'bum={{#if: {{#ask: [[Category:{{#titleparts:{{PAGENAME}}}}]][[Category:Tibetan Texts]][[textnuminvol::{{{ textnuminvol | }}}]][[!{{#titleparts:{{PAGENAME}}}}]]}} | | |||
<h2> {{#ask: [[Category:{{#titleparts:{{PAGENAME}}}}]][[Category:Tibetan Texts]][[textnuminvol::{{{ textnuminvol | }}}]][[!{{#titleparts:{{PAGENAME}}}}]] |format=count}} Texts in this Section (''sde tshan'' or ''chos tshan'') </h2> | |||
{{#widget:filterInput}} | |||
{{#ask: [[Category:{{#titleparts:{{PAGENAME}}}}]][[Category:Tibetan Texts]][[textnuminvol::{{{ textnuminvol | }}}]][[!{{#titleparts:{{PAGENAME}}}}]] | |||
|?fulltitletib | |||
|?fulltitle | |||
|?authortib | |||
|?author | |||
|?pagenumbers | |||
|?textnuminvol | |||
|?tibgenre | |||
|?textsubnumber | |||
|?pdflink | |||
|?fulltitlekartib | |||
|format=template | |||
|template=SubTextTable | |||
|link=none | |||
|limit=500 | |||
|intro=<div class="filterableContent"> | |||
|outro=</div> | |||
}} | }} | ||
|}{{#set: | | }} |#default= }}{{#set: | ||
|sectionheading={{{ sectionheading | }}} | |||
|lotsawalink={{{ lotsawalink | }}}|+sep=; | |||
|archivistnotes={{{ archivistnotes | }}} | |archivistnotes={{{ archivistnotes | }}} | ||
|associatedpeople={{{ associatedpeople | }}}|+sep=; | |associatedpeople={{{ associatedpeople | }}}|+sep=; | ||
Line 111: | Line 237: | ||
|cycletib={{{ cycletib | }}}|+sep=; | |cycletib={{{ cycletib | }}}|+sep=; | ||
|deity={{{ deity | }}}|+sep=; | |deity={{{ deity | }}}|+sep=; | ||
|dnzlink={{{ dnzlink | }}}|+sep=; | |||
|director={{{ director | }}}|+sep=; | |director={{{ director | }}}|+sep=; | ||
|directorofediting={{{ directorofediting | }}}|+sep=; | |directorofediting={{{ directorofediting | }}}|+sep=; | ||
Line 116: | Line 243: | ||
|directortib={{{ directortib | }}}|+sep=; | |directortib={{{ directortib | }}}|+sep=; | ||
|dkarchagpage={{{ dkarchagpage | }}} | |dkarchagpage={{{ dkarchagpage | }}} | ||
|dkroutline={{{ dkroutline | }}} | |||
|drltranspages={{{ drltranspages | }}}|+sep=; | |drltranspages={{{ drltranspages | }}}|+sep=; | ||
|editionnote={{{ editionnote | }}} | |editionnote={{{ editionnote | }}} | ||
Line 132: | Line 260: | ||
|fulltitletib={{{ fulltitletib | }}} | |fulltitletib={{{ fulltitletib | }}} | ||
|fulltitletrans={{{ fulltitletrans | }}} | |fulltitletrans={{{ fulltitletrans | }}} | ||
|fulltitlekartib={{{ fulltitlekartib | }}} | |||
|fulltitlekar={{{ fulltitlekar | }}} | |||
|genesmithnotes={{{ genesmithnotes | }}} | |genesmithnotes={{{ genesmithnotes | }}} | ||
|glossary={{{ glossary | }}} | |glossary={{{ glossary | }}} | ||
Line 151: | Line 281: | ||
|isingyatsa={{{ isingyatsa | }}} | |isingyatsa={{{ isingyatsa | }}} | ||
|issuenumber={{{ issuenumber | }}} | |issuenumber={{{ issuenumber | }}} | ||
|jkcloutline={{{ jkcloutline | }}} | |||
|keywords={{{ keywords | }}}|+sep=; | |keywords={{{ keywords | }}}|+sep=; | ||
|kiriginnotes={{{ kiriginnotes | }}} | |kiriginnotes={{{ kiriginnotes | }}} | ||
Line 200: | Line 331: | ||
|publisher={{{ publisher | }}}|+sep=; | |publisher={{{ publisher | }}}|+sep=; | ||
|publishertib={{{ publishertib | }}}|+sep=; | |publishertib={{{ publishertib | }}}|+sep=; | ||
|recensionlink={{{ recensionlink | }}}|+sep=; | |||
|rectonotes={{{ rectonotes | }}} | |rectonotes={{{ rectonotes | }}} | ||
|redactor={{{ redactor | }}}|+sep=; | |redactor={{{ redactor | }}}|+sep=; | ||
Line 237: | Line 369: | ||
|tibdategender={{{ tibdategender | }}} | |tibdategender={{{ tibdategender | }}} | ||
|tibdaterabjung={{{ tibdaterabjung | }}} | |tibdaterabjung={{{ tibdaterabjung | }}} | ||
|tibgenre={{{ tibgenre | }}}|+sep= | |tibgenre={{{ tibgenre | }}}|+sep=, | ||
|tiblittype={{{ tiblittype | }}} | |tiblittype={{{ tiblittype | }}} | ||
|tollink={{{ tollink | }}} | |tollink={{{ tollink | }}} | ||
Line 252: | Line 384: | ||
|voltitlewylie={{{ voltitlewylie | }}} | |voltitlewylie={{{ voltitlewylie | }}} | ||
|voltype={{{ voltype | }}} | |voltype={{{ voltype | }}} | ||
|volumenumber={{{ volumenumber | }}} | |volumenumber={{#ifeq: {{{ subclass | }}} | Karchags | | {{{ volumenumber | }}} }} | ||
|volyigtib={{{ volyigtib | }}} | |volyigtib={{{ volyigtib | }}} | ||
|website={{{ website | }}} | |website={{{ website | }}} | ||
|yearbirth={{{ yearbirth | }}} | |yearbirth={{{ yearbirth | }}} | ||
|yeardeath={{{ yeardeath | }}} | |yeardeath={{{ yeardeath | }}} | ||
}}{{#arraymap: {{PAGENAME}};{{{ classification | }}}; {{{ subclass | }}}; {{{ collectiontitle | }}}; {{{ cycle | }}}; {{{ parentcycle | }}}; {{{ deity | }}}; {{{ tibgenre | }}}; {{{ rtzcategory | }}}; {{{ author | }}}; {{{ translator | }}}; {{{ editor | }}}; {{{ roottextauthor | }}}; {{{ sourceauthor | }}}; {{{ sourcerevealer | }}}; {{{ contributors | }}}; {{{ directorofediting | }}}; {{{ director | }}}; {{{ leadeditor | }}}; {{{ printer | }}}; {{{ redactor | }}}; {{{ scribe | }}}; {{{ associatedpeople | }}}; {{{ persontype | }}} | |sabcadcategory={{{ sabcadcategory | }}} | ||
|transmissiontype={{{ transmissiontype | }}} | |||
|volumepage={{#replaceset:{{PAGENAME}}|/-Karchag/=}} | |||
|rtzlink={{{ rtzlink | }}}|+sep=; | |||
}}{{#arraymap: {{PAGENAME}};{{{ classification | }}}; {{{ subclass | }}}; {{{ collectiontitle | }}}; {{{ cycle | }}}; {{{ parentcycle | }}}; {{{ deity | }}}; {{#arraymap:{{{ tibgenre | }}} | |||
|, | |||
|### | |||
|### | |||
|; | |||
}}; {{{ rtzcategory | }}}; {{{ author | }}}; {{{ translator | }}}; {{{ editor | }}}; {{{ roottextauthor | }}}; {{{ sourceauthor | }}}; {{{ sourcerevealer | }}}; {{{ contributors | }}}; {{{ directorofediting | }}}; {{{ director | }}}; {{{ leadeditor | }}}; {{{ printer | }}}; {{{ redactor | }}}; {{{ scribe | }}}; {{{ associatedpeople | }}}; {{{ persontype | }}}; {{#ifeq: {{{ collectiontitle | }}} | |||
| mkhyen brtse'i bka' 'bum | |||
| {{#if: {{{ textsubnumber | }}} | |||
| | |||
| Section (sde tshan) pages | |||
}} | |||
| | |||
}}; {{#ifeq: {{{ collectiontitle | }}} | |||
| chos kyi blo gros bka' 'bum | |||
| {{#if: {{{ textsubnumber | }}} | |||
| | |||
| JKCL Section (chos tshan) pages | |||
}} | |||
| | |||
}} | |||
|; | |; | ||
|@@@ | |@@@ |