Template:VolumePage: Difference between revisions

From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(48 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#addbodyclass:no-first-heading}}‎‎
<includeonly><div class="top-blue-links d-flex justify-content-between my-4">{{#ask: [[Category:Tibetan Volumes]] [[collectiontitle::{{{ collectiontitle | }}}]] [[volumenumber::{{#expr:{{{ volumenumber | }}}-1}}]]
== {{#show: {{PAGENAME}} |?volumetitletib }} - {{#ask: [[Category:Tibetan Texts]][[Category:{{PAGENAME}}]]|format=count}} Texts ==
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToPreviousVolume
|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>


{{#ask: [[Category:Tibetan Texts]][[Category:{{PAGENAME}}]]
{{DISPLAYTITLE:{{#if:{{{ volumetitletib | }}}|{{{ volumetitletib | }}}|{{PAGENAME}}}} · {{#ask: [[Category:Tibetan Texts]][[Category:{{PAGENAME}}]]|format=count}} Texts {{#if:{{#show: {{PAGENAMEE}} |?volumetotalpages}}| · {{#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
|?fulltitletib
|?fulltitle
|?fulltitle
|?authortib
|?authortib
|?author
|?WorkAuthor
|?pagenumbers
|?pagenumbers
|?textnuminvol
|?textnuminvol
|?tibgenre
|?tibgenre
|?textsubnumber
|?textsubnumber
|?pdflinkDirect
|?pdflink
|?pdflink
|?fulltitlekartib
|?collectiontitle
|format=template
|format=template
|template=TextTable
|template=TextTable
|sort=textnuminvol
|order=asc
|link=none
|link=none
|limit=500
|limit=500
}}
|intro=<div class="filterableContent">
 
|outro=</div>
== Quality Control ==
}}{{#ask: [[collectiontitle::{{{ collectiontitle | }}}]][[Subclass::Karchags]][[volumenumber::{{{ volumenumber | }}}]]
 
|?pdflink#
{{#ask: [[Category:{{PAGENAME}}]][[:+]]
|limit=1
|?fulltitle=Title
|searchlabel=
|?author=Author
|link=none
|?pagenumbers=Pages
|format=template
|?deity=Deity
|template=KarchagSection
|?tibgenre=Genre
}}{{#set:
|?transmissiontype=Transmission Type
    |?sabcadcategory=Sab cad Category
|?cycle=Cycle
    |?sourcerevealer=Revealed by
|?rtzlink=Terdzo
}}
 
{{#set:
|collectiontitle={{{ collectiontitle | }}}
|collectiontitle={{{ collectiontitle | }}}
|collectiontitletib={{{ collectiontitletib | }}}
|collectiontitletib={{{ collectiontitletib | }}}
Line 40: Line 55:
|volumelettertib={{{ volumelettertib | }}}
|volumelettertib={{{ volumelettertib | }}}
|volumenumber={{{ volumenumber | }}}
|volumenumber={{{ volumenumber | }}}
}}
    |volumetotalpages={{{ volumetotalpages | }}}
    |dkarchagpage={{#ifexist:{{PAGENAME}}-Karchag|{{PAGENAME}}-Karchag|}}
    |KarchagContent={{#ifexist:{{PAGENAME}}-Karchag|{{:{{PAGENAME}}-Karchag}}|}}
}}[[Category:Tibetan Volumes]][[Category:{{{ collectiontitle | }}}]][[Category:{{PAGENAME}}]]
</includeonly><noinclude>[[Category:Custom Templates]]</noinclude>
</includeonly><noinclude>[[Category:Custom Templates]]</noinclude>

Latest revision as of 09:34, 1 June 2024