Template:Khyentse Metadata: Difference between revisions

From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(101 intermediate revisions by 3 users not shown)
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: {{#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: {{{ 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 9: Line 9:
|format=template
|format=template
|template=LinkToPreviousText
|template=LinkToPreviousText
|default=<span class="text-muted">First text in volume.</span>
|default=<span class="text-muted">First text in section.</span>
}}
}}
| {{#if: {{{ textsubnumber | }}}
| {{#ask: [[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol::{{#expr:{{{ textnuminvol | }}}-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={{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | LinkToPreviousSection | LinkToPreviousText }}
|template=LinkToPreviousText
|default=<span class="text-muted">First {{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | section | text }} in volume.</span>
|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 | }}}]]
}}{{#ask: [[Category:Tibetan Volumes]][[collectiontitle::{{{ collectiontitle | }}}]][[volumenumber::{{{ volumenumber | }}}]]
Line 35: Line 25:
|format=template
|format=template
|template=LinkToVolume
|template=LinkToVolume
}}{{#if: {{#ask: [[Category:Tibetan Texts]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{{ volumenumber | }}}]] [[textnuminvol::{{{ textnuminvol | }}}]] [[textsubnumber::{{#expr:{{{ textsubnumber | }}}+1}}]]}}
}}{{#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 43: Line 33:
|format=template
|format=template
|template=LinkToNextText
|template=LinkToNextText
|default=<span class="text-muted">Last text in volume.</span>
|default=<span class="text-muted">Last 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=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 {{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | section | text }} in volume.</span>
}}
}}
}}
}}
Line 79: Line 69:
{{!}} [[{{{ collectiontitle | }}}]] <br> Volume '''{{#expr:{{{ volumenumber | }}}}}''', {{#if: {{{ textsubnumber | }}}  
{{!}} [[{{{ collectiontitle | }}}]] <br> Volume '''{{#expr:{{{ volumenumber | }}}}}''', {{#if: {{{ textsubnumber | }}}  
| sde tshan '''{{#expr:{{{ textnuminvol | }}}}}''', Text '''{{#expr:{{{ textsubnumber | }}}}}'''
| sde tshan '''{{#expr:{{{ textnuminvol | }}}}}''', Text '''{{#expr:{{{ textsubnumber | }}}}}'''
| Text '''{{#expr:{{{ textnuminvol | }}}}}'''
| {{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | sde tshan | Text }} '''{{#expr:{{{ textnuminvol | }}}}}'''
}}, Pages '''{{{ pagenumbers | }}}''' (Folios '''{{{ beginfolioline | }}}''' to '''{{{ endfolioline | }}}''')
}}, Pages '''{{{ pagenumbers | }}}''' (Folios '''{{{ beginfolioline | }}}''' to '''{{{ endfolioline | }}}''')
{{!}}-
{{!}}-
Line 85: Line 75:
{{!}} {{TibIL|[[{{{ author | }}}|{{{ authortib | }}}]]}}
{{!}} {{TibIL|[[{{{ author | }}}|{{{ authortib | }}}]]}}
{{!}}-
{{!}}-
{{!}} colspan="3" class="text-center" style="padding-right: 1rem !important;" {{!}} <span class="top-blue-links mw-customtoggle-moreDetails">More details <i class="fa-duotone fa-angles-down ml-1"></i></span><span class="top-blue-links mw-customtoggle-moreDetails d-none">Less details <i class="fa-duotone fa-angles-up ml-1"></i></span>
{{!}} 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 mw-collapsed" id="mw-customcollapsible-moreDetails"
{{!}}- 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
! Citation
{{!}} colspan="2" {{!}} {{{ citation | }}}
{{!}} colspan="2" {{!}} {{{ citation | }}}
{{!}}- class="mw-collapsible mw-collapsed" id="mw-customcollapsible-moreDetails"
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails"
! Genre
! Genre
{{!}} colspan="2" {{!}} {{#arraymap: {{{ tibgenre | }}}
{{!}} colspan="2" {{!}} {{#arraymap: {{{ tibgenre | }}}
Line 96: Line 125:
|[[:Category:@@@|@@@]]
|[[:Category:@@@|@@@]]
|&nbsp;&nbsp;·&nbsp;&nbsp;
|&nbsp;&nbsp;·&nbsp;&nbsp;
}}{{#if: {{{ rtzlink | }}} | <br>
}}{{#if: {{{ cycle | }}} | <br>
{{!}}- class="mw-collapsible mw-collapsed" id="mw-customcollapsible-moreDetails"
{{!}}- 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
! RTZ
{{!}} colspan="2" {{!}} ''On the Rinchen Terdzö'': '''https://rtz.tsadra.org/index.php/{{{ rtzlink | }}}''' | }}
{{!}} colspan="2" {{!}} ''In the Rinchen Terdzö'': '''https://rtz.tsadra.org/index.php/{{{ rtzlink | }}}''' | }}{{#if: {{{ dnzlink | }}} | <br>
{{!}}- class="mw-collapsible mw-collapsed" id="mw-customcollapsible-moreDetails"
{{!}}- 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
! rowspan="2" class="border-right" {{!}} Colophon
{{!}} colspan="2" {{!}} {{TibP|
{{!}} colspan="2" class="text-120" {{!}}
{{{ colophontib | }}}}}
{{{ colophontib | }}}
{{!}}- class="mw-collapsible mw-collapsed" id="mw-customcollapsible-moreDetails"
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails"
{{!}} colspan="2" {{!}}  
{{!}} colspan="2" {{!}}  
{{{ colophonwylie | }}}
{{{ colophonwylie | }}} | }}{{#if: {{{ archivistnotes | }}} | <br>
{{!}}- class="mw-collapsible" id="mw-customcollapsible-moreDetails"
! Notes
{{!}} {{{ archivistnotes | }}} | }}
{{!}}}
{{!}}}
}}{{#set:
}}{{#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>
}}
 
| }} |#default= }}{{#set:
|sectionheading={{{ sectionheading | }}}
|lotsawalink={{{ lotsawalink | }}}|+sep=;
|archivistnotes={{{ archivistnotes | }}}
|archivistnotes={{{ archivistnotes | }}}
|associatedpeople={{{ associatedpeople | }}}|+sep=;
|associatedpeople={{{ associatedpeople | }}}|+sep=;
Line 139: 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 144: 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 181: Line 281:
|isingyatsa={{{ isingyatsa | }}}
|isingyatsa={{{ isingyatsa | }}}
|issuenumber={{{ issuenumber | }}}
|issuenumber={{{ issuenumber | }}}
        |jkcloutline={{{  jkcloutline | }}}
|keywords={{{ keywords | }}}|+sep=;
|keywords={{{ keywords | }}}|+sep=;
|kiriginnotes={{{ kiriginnotes | }}}
|kiriginnotes={{{ kiriginnotes | }}}
Line 230: 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 267: 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 290: Line 392:
|transmissiontype={{{ transmissiontype | }}}
|transmissiontype={{{ transmissiontype | }}}
|volumepage={{#replaceset:{{PAGENAME}}|/-Karchag/=}}
|volumepage={{#replaceset:{{PAGENAME}}|/-Karchag/=}}
|rtzlink={{{ rtzlink | }}}
|rtzlink={{{ rtzlink | }}}|+sep=;
}}{{#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 | }}}
}}{{#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
}}
|
}}
|;
|;
|@@@
|@@@

Latest revision as of 17:28, 13 July 2023