Template:Text: Difference between revisions

From Damngak Dzö
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(18 intermediate revisions by the same user not shown)
Line 81: Line 81:
! Wylie title
! Wylie title
{{!}} ''{{{ fulltitle | }}}''
{{!}} ''{{{ fulltitle | }}}''
{{!}} rowspan="3" class="border-left" style="width: 485px;" {{!}} {{#ifexist:{{{ pdflink | }}}|[[{{{ pdflink | }}}|page=1|x110px|class=tsdwiki-depth-0|link={{filepath:{{PAGENAME:{{{ pdflink | }}}}}}}]]|}}
{{!}} rowspan="3" class="border-left" style="width: 485px;" {{!}} {{#ifexist:{{{ pdflink | }}}|[[{{{ pdflink | }}}|page=1|x110px|class=tsdwiki-depth-0|link={{filepath:{{PAGENAME:{{{ pdflink | }}}}}}}]] <div class="text-center">''Rigpe Dorje Publications, 2024''</div>|}}
{{!}}-
{{!}}-
! Location
! Location
{{!}} [[{{{ collectiontitle | }}}]] <br> Volume '''{{#expr:{{{ volumenumber | }}}}}''', {{#if: {{{ textsubnumber | }}}  
{{!}} [[{{{ collectiontitle | }}}]] <br> Volume '''{{#expr:{{{ volumenumber | }}}}}''', {{#if: {{{ textsubnumber | }}}  
| Text/sde tshan '''{{#expr:{{{ textnuminvol | }}}}}''', Sub-text '''{{#expr:{{{ textsubnumber | }}}}}'''
| Text '''{{#expr:{{{ textnuminvol | }}}}}''', Subtext '''{{#expr:{{{ textsubnumber | }}}}}'''
| {{#ifeq: {{{ collectiontitle | }}} | mkhyen brtse'i bka' 'bum | sde tshan | 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 91: Line 91:
! Author
! Author
{{!}} {{TibIL|[[{{{ author | }}}|{{{ authortib | }}}]]}}
{{!}} {{TibIL|[[{{{ author | }}}|{{{ authortib | }}}]]}}
{{!}}-
! Citation
{{!}} {{{ citation | }}}
{{!}} rowspan="2" class="border-left" style="width: 485px;" {{!}} {{#if:{{{ shechendnz | }}}|[[File:{{{ shechendnz | }}}.pdf|page=1|x110px|class=tsdwiki-depth-0|link={{filepath:{{{ shechendnz | }}}.pdf}}]] <div class="text-center">''Shechen Publications, 1999''</div>|}}
{{!}}-
! Side notes
{{!}} colspan="1" {{!}} {{#if: {{{ rectonotes | }}} | '''Recto:''' {{{ rectonotes | }}} | }} &nbsp; {{#if: {{{ versonotes | }}} | '''Verso:''' {{{ versonotes | }}} | }}
{{!}}-
{{!}}-
{{!}} 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">More details <i class="fa-duotone fa-angles-up ml-1"></i></span>{{#if: {{{ sourcerevealer | }}} | <br>
{{!}} 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">More details <i class="fa-duotone fa-angles-up ml-1"></i></span>{{#if: {{{ sourcerevealer | }}} | <br>
Line 132: Line 139:
|,\s
|,\s
}}) | }}
}}) | }}
{{!}}- class="mw-collapsible mw-collapsed" id="mw-customcollapsible-moreDetails"
! Citation
{{!}} colspan="2" {{!}} {{{ citation | }}}
{{!}}- class="mw-collapsible mw-collapsed" id="mw-customcollapsible-moreDetails"
{{!}}- class="mw-collapsible mw-collapsed" id="mw-customcollapsible-moreDetails"
! Genre
! Genre
Line 194: Line 198:
{{!}} {{{ archivistnotes | }}} | }}
{{!}} {{{ archivistnotes | }}} | }}
{{!}}}
{{!}}}
}}{{#if:{{{ textsubnumber | }}}||{{#if: {{#ask: [[Category:{{PAGENAME}}]][[Category:Tibetan Texts]][[textnuminvol::{{{ textnuminvol | }}}]][[textsubnumber::+]]}} |
}}{{#set:
 
<h2> {{#ask: [[Category:{{#titleparts:{{PAGENAME}}}}]][[Category:Tibetan Texts]][[textnuminvol::{{{ textnuminvol | }}}]][[textsubnumber::+]]|format=count}} Sub-Texts in this text </h2>
 
{{#widget:filterInput}}
 
{{#ask: [[Category:{{#titleparts:{{PAGENAME}}}}]][[Category:Tibetan Texts]][[textnuminvol::{{{ textnuminvol | }}}]][[textsubnumber::+]]
|?fulltitletib
|?fulltitle
|?authortib
|?WorkAuthor
|?pagenumbers
|?textnuminvol
|?tibgenre
|?textsubnumber
|?pdflink
|format=template
|template=SubTextTable
|sort=textsubnumber
|order=asc
|link=none
|limit=500
|intro=<div class="filterableContent">
|outro=</div>
}} | }} }}{{#set:
|sectionheading={{{ sectionheading | }}}  
|sectionheading={{{ sectionheading | }}}  
|lotsawalink={{{ lotsawalink | }}}|+sep=;
|lotsawalink={{{ lotsawalink | }}}|+sep=;
Line 363: Line 343:
|tertonnamewylie={{{ tertonnamewylie | }}}|+sep=;
|tertonnamewylie={{{ tertonnamewylie | }}}|+sep=;
|textnuminvol={{#ifeq:{{{ subclass | }}}|Karchags||{{{ textnuminvol | }}}}}
|textnuminvol={{#ifeq:{{{ subclass | }}}|Karchags||{{{ textnuminvol | }}}}}
|textsubnumber={{{ textsubnumber | }}}
|textsubnumber={{{ textsubnumber | 0 }}}
|thlibnglink={{{ thlibnglink | }}}
|thlibnglink={{{ thlibnglink | }}}
|tibgenre={{{ tibgenre | }}}|+sep=,
|tibgenre={{{ tibgenre | }}}|+sep=,
Line 388: Line 368:
|rtzlink={{{ rtzlink | }}}|+sep=;
|rtzlink={{{ rtzlink | }}}|+sep=;
|InitCategories={{{ InitCategories | }}}
|InitCategories={{{ InitCategories | }}}
|CATALOGID=TSD_TIB_{{PAGENAME}}
|CATALOGID=TSD_BO_{{PAGENAME}}
|ItemUrl={{filepath:{{PAGENAME:{{{ pdflink | }}}}}}}
|AiAuthors={{#arraymap:{{{ authortib | }}};{{{ roottextauthortib | }}};{{{ sourceauthortib | }}}|;|@@@|@@@|;}}|+sep=;
|AiCategories={{{ subclass | }}}
|AiTags={{#arraymap:{{#arraymap:{{{ rtzcategory | }}};{{{ tibgenre | }}};{{{ tiblittype | }}};{{{ canonicalgenre | }}};{{{ keywords | }}};{{{ rectonotes | }}};{{{ versonotes | }}};{{{ Practicelineage | }}};{{{ transmissiontype | }}}|,|@@@|@@@|;}}|;|@@@|@@@|;}}|+sep=;
}}{{#arraymap:{{{ InitCategories | }}}; {{PAGENAME}};{{{ classification | }}}; {{{ subclass | }}}; {{{ collectiontitle | }}}; {{{ cycle | }}}; {{{ parentcycle | }}}; {{{ deity | }}}; {{#arraymap:{{{ tibgenre | }}}
}}{{#arraymap:{{{ InitCategories | }}}; {{PAGENAME}};{{{ classification | }}}; {{{ subclass | }}}; {{{ collectiontitle | }}}; {{{ cycle | }}}; {{{ parentcycle | }}}; {{{ deity | }}}; {{#arraymap:{{{ tibgenre | }}}
|,
|,

Latest revision as of 18:50, 28 August 2025