Template:VolumePage: Difference between revisions

From Khyentse Lineage - A Tsadra Foundation Project
(Created page with "{{#ask: Category:JKW-KABAB-Volume-01-KA+ |?fulltitle=Title |?author=Author |?pagenumbers=Pages |?deity=Deity |?tibgenre=Genre |?rtzlink=Terdzo }}")
 
((by SublimeText.Mediawiker))
 
(70 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#ask: [[Category:JKW-KABAB-Volume-01-KA]][[:+]]
<includeonly><div class="top-blue-links d-flex justify-content-between my-4">{{#ask: [[Category:Tibetan Volumes]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{#expr:{{{ volumenumber | }}}-1}}]]
|?fulltitle=Title
|limit=1
|?author=Author
|searchlabel=
|?pagenumbers=Pages
|link=none
|?deity=Deity
|format=template
|?tibgenre=Genre
|template=LinkToPreviousVolume
|?rtzlink=Terdzo
|default=<span class="text-muted">First volume in collection.</span>
}}[[{{{ collectiontitle | }}}|<i class="fa-duotone fa-angles-up mr-2"></i> Back to Collection Page]]{{#ask: [[Category:Tibetan Volumes]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{#expr:{{{ volumenumber | }}}+1}}]]
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToNextVolume
|default=<span class="text-muted">Last volume in collection.</span>
}}
</div>
 
{{DISPLAYTITLE:{{{ volumetitletib | }}} - {{#ask: [[Category:Tibetan Texts]][[Category:{{PAGENAME}}]]|format=count}} Texts - {{#show: {{PAGENAMEE}} |?volumetotalpages}} Pages}}
<center>{{#ask:[[Category:Volume PDFs]][[Category:{{PAGENAME}}]]|format=template|template=VolumePDFLink|link=none}}</center>
 
 
{{#widget:filterInput}}
{{#ask: [[Category:Tibetan Texts]][[Category:{{PAGENAME}}]]{{#ifeq: {{{ collectiontitle | }}}| mkhyen brtse'i bka' 'bum |[[Category:Section (sde tshan) pages]] | }}
|?fulltitletib
|?fulltitle
|?authortib
|?author
|?pagenumbers
|?textnuminvol
|?tibgenre
|?textsubnumber
|?pdflink
|?fulltitlekartib
|?collectiontitle
|format=template
|template=TextTable
|link=none
|limit=500
|intro=<div class="filterableContent">
|outro=</div>
}}{{#ifexist:{{PAGENAME}}-Karchag|
 
<h2> Karchag </h2>
 
[[{{#show: {{PAGENAME}}-Karchag |?pdflink# }}|thumb|Karchag PDF|link={{filepath:{{PAGENAME:{{#show: {{PAGENAME}}-Karchag |?pdflink# }}}}}}]]{{:{{PAGENAME}}-Karchag}}
<div class="text-right">[[{{PAGENAME}}-Karchag|Go to Karchag page <i class="fa-duotone fa-angles-right"></i>]]</div>
 
|}}
 
{{#set:
|collectiontitle={{{ collectiontitle | }}}
|collectiontitletib={{{ collectiontitletib | }}}
|volumetitletib={{{ volumetitletib | }}}
|volumelettertib={{{ volumelettertib | }}}
|volumenumber={{{ volumenumber | }}}
    |volumetotalpages={{{ volumetotalpages | }}}
    |dkarchagpage={{#ifexist:{{PAGENAME}}-Karchag|{{PAGENAME}}-Karchag|}}
    |KarchagContent={{#ifexist:{{PAGENAME}}-Karchag|{{:{{PAGENAME}}-Karchag}}|}}
}}
}}
</includeonly><noinclude>[[Category:Custom Templates]]</noinclude>

Latest revision as of 00:23, 29 August 2023