Template:Khyentse Metadata: Difference between revisions

From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(205 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>__NOTOC__{{ReplaceFirstHeading|{{{ fulltitletib | }}} }}
<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}}]]
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToPreviousText
|default=<span class="text-muted">First 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 | LinkToPreviousSection | LinkToPreviousText }}
|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
|searchlabel=
|link=none
|format=template
|template=LinkToVolume
}}{{#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>
}}


<div class="font-weight-bold top-blue-links d-flex justify-content-between mb-4">{{#ask:
{{#ifeq: {{{ subclass | }}} | Karchags
[[Category:Tibetan Texts]]
|| {{ReplaceFirstHeading|{{#if: {{{ fulltitletib | }}}  
[[collectiontitle::{{{ collectiontitle | }}}]]
| {{{ fulltitletib | }}}  
[[volumenumber::{{{ volumenumber | }}}]]
| {{#if: {{{ fulltitlekartib | }}}
[[textnuminvol::{{{ textnuminvol | }}}]]
| {{{ fulltitlekartib | }}} (Karchag title)}}
[[textsubnumber::{{#expr:{{{ textsubnumber | }}}-1}}]]OR
| {{PAGENAME}}
}}
}}
}}


[[Category:Tibetan Texts]]
{{#ifeq: {{{ subclass | }}} | Karchags
[[collectiontitle::{{{ collectiontitle | }}}]]
| [[{{{ pdflink | }}}|page=1|1000px|class=tsdwiki-depth-1 rounded mt-3 mx-auto|link={{filepath:{{PAGENAME:{{{ pdflink | }}}}}}}]]
[[volumenumber::{{{ volumenumber | }}}]]
|
[[textnuminvol::{{#expr:{{{ textnuminvol | }}}-1}}]]
{{{!}} class="smwtable-clean offwhite-bg th-top-right th-nowrap tsdwiki-depth-1 w-100 mb-4"
[[textsubnumber::{{#expr:{{{ textsubnumber | }}}-1}}]]
{{!}}-
! 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
{{!}} {{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
{{!}} colspan="2" {{!}} {{#arraymap: {{{ tibgenre | }}}
|,
|@@@
|[[:Category:@@@|@@@]]
|&nbsp;&nbsp;·&nbsp;&nbsp;
}}{{#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}}


{{#if: {{{ textsubnumber | }}}
{{#ask: [[Category:{{#titleparts:{{PAGENAME}}}}]][[Category:Tibetan Texts]][[textnuminvol::{{{ textnuminvol | }}}]][[!{{#titleparts:{{PAGENAME}}}}]]
|
|?fulltitletib
|[[textnuminvol::{{#expr:{{{ textnuminvol | }}}-1}}]]
|?fulltitle
|?authortib
|?author
|?pagenumbers
|?textnuminvol
|?tibgenre
|?textsubnumber
|?pdflink
|?fulltitlekartib
|format=template
|template=SubTextTable
|link=none
|limit=500
|intro=<div class="filterableContent">
|outro=</div>
}}
}}
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToPreviousText
}}{{#ask: [[Category:Tibetan Volumes]][[collectiontitle::{{{ collectiontitle | }}}]][[volumenumber::{{{ volumenumber | }}}]]
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToVolume
}}{{#ask: [[Category:Tibetan Texts]][[collectiontitle::{{{ collectiontitle | }}}]][[volumenumber::{{{ volumenumber | }}}]][[textnuminvol::{{#expr:{{{ textnuminvol | }}}+1}}]]
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToNextText
}}
</div>
{| class="smwtable-clean offwhite-bg th-top-right tsdwiki-depth-1 w-100 mb-4"
|-
! Title
| ''{{{ fulltitle | }}}''
| rowspan="3" class="border-left" style="width: 485px;" | [[{{{ pdflink | }}}|page=1|x110px|class=tsdwiki-depth-0|link={{filepath:{{PAGENAME:{{{ pdflink | }}}}}}}]]
|-
! Collection
| {{{ collectiontitle | }}}, Volume '''{{#expr:{{{ volumenumber | }}}}}''', Text '''{{#expr:{{{ textnuminvol | }}}}}{{#if: {{{ textsubnumber | }}}|.{{#expr:{{{ textsubnumber | }}}}}|}}'''
|-
! Pages
| '''{{{ pagenumbers | }}}'''
|-
! Author
| {{TibIL|[[{{{ author | }}}|{{{ authortib | }}}]]}}
|
|-
! Genre
| {{{ tibgenre | }}}
|
|}


 
| }} |#default= }}{{#set:
{{#set:
|sectionheading={{{ sectionheading | }}}
|lotsawalink={{{ lotsawalink | }}}|+sep=;
|archivistnotes={{{ archivistnotes | }}}
|archivistnotes={{{ archivistnotes | }}}
|associatedpeople={{{ associatedpeople | }}}|+sep=;
|associatedpeople={{{ associatedpeople | }}}|+sep=;
Line 93: 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 98: 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 114: Line 260:
|fulltitletib={{{ fulltitletib | }}}
|fulltitletib={{{ fulltitletib | }}}
|fulltitletrans={{{ fulltitletrans | }}}
|fulltitletrans={{{ fulltitletrans | }}}
|fulltitlekartib={{{ fulltitlekartib | }}}
|fulltitlekar={{{ fulltitlekar | }}}
|genesmithnotes={{{ genesmithnotes | }}}
|genesmithnotes={{{ genesmithnotes | }}}
|glossary={{{ glossary | }}}
|glossary={{{ glossary | }}}
Line 133: Line 281:
|isingyatsa={{{ isingyatsa | }}}
|isingyatsa={{{ isingyatsa | }}}
|issuenumber={{{ issuenumber | }}}
|issuenumber={{{ issuenumber | }}}
        |jkcloutline={{{  jkcloutline | }}}
|keywords={{{ keywords | }}}|+sep=;
|keywords={{{ keywords | }}}|+sep=;
|kiriginnotes={{{ kiriginnotes | }}}
|kiriginnotes={{{ kiriginnotes | }}}
Line 172: Line 321:
|place={{{ place | }}}
|place={{{ place | }}}
|placetib={{{ placetib | }}}
|placetib={{{ placetib | }}}
|prevTextMaxSubTextNumber={{#ask: [[Category:Tibetan Texts]][[collectiontitle::{{{ collectiontitle | }}}]][[volumenumber::{{{ volumenumber | }}}]][[textnuminvol::{{#expr:{{{ textnuminvol | }}}-1}}]]
|?textsubnumber
|format=max
}}
|printer={{{ printer | }}}|+sep=;
|printer={{{ printer | }}}|+sep=;
|printertib={{{ printertib | }}}|+sep=;
|printertib={{{ printertib | }}}|+sep=;
Line 178: 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 215: 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 230: 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
}}
|
}}
|;
|;
|@@@
|@@@

Latest revision as of 17:28, 13 July 2023