Template:VolumePage: Difference between revisions

From Khyentse Lineage - A Tsadra Foundation Project
No edit summary
((by SublimeText.Mediawiker))
 
(6 intermediate revisions by 2 users not shown)
Line 16: Line 16:
</div>
</div>


{{ReplaceFirstHeading|{{{ volumetitletib | }}} - {{#ask: [[Category:Tibetan Texts]][[Category:{{PAGENAME}}]]|format=count}} Texts - {{#show: {{PAGENAMEE}} |?volumetotalpages}} Pages}}
{{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>
<center>{{#ask:[[Category:Volume PDFs]][[Category:{{PAGENAME}}]]|format=template|template=VolumePDFLink|link=none}}</center>


Line 22: Line 22:
{{#widget:filterInput}}
{{#widget:filterInput}}
   
   
{{#ask: [[Category:Tibetan Texts]][[Category:{{PAGENAME}}]]{{#ifeq: {{{ collectiontitle | }}}| mkhyen brtse'i bka' 'bum |[[Category:Section (sde tshan) pages]] | }}{{#ifeq: {{{ collectiontitle | }}}| dil mgo mkhyen brtse bka' 'bum |[[Category:Section (sde tshan) pages]] | }}
{{#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
Line 36: Line 36:
|format=template
|format=template
|template=TextTable
|template=TextTable
|sort=textnuminvol
|order=asc
|link=none
|link=none
|limit=500
|limit=500
|intro=<div class="filterableContent">
|intro=<div class="filterableContent">
|outro=</div>
|outro=</div>
}}{{#ifexist:{{PAGENAME}}-Karchag|
}}{{#ask: [[collectiontitle::{{{ collectiontitle | }}}]][[subclass::Karchags]][[volumenumber::{{{ volumenumber | }}}]]
 
|?pdflink#
<h2> Karchag </h2>
|limit=1
 
|searchlabel=
[[{{#show: {{PAGENAME}}-Karchag |?pdflink# }}|thumb|Karchag PDF|link={{filepath:{{PAGENAME:{{#show: {{PAGENAME}}-Karchag |?pdflink# }}}}}}]]{{:{{PAGENAME}}-Karchag}}
|link=none
<div class="text-right">[[{{PAGENAME}}-Karchag|Go to Karchag page <i class="fa-duotone fa-angles-right"></i>]]</div>
|format=template
 
|template=KarchagSection
|}}
}}{{#set:
 
{{#set:
|collectiontitle={{{ collectiontitle | }}}
|collectiontitle={{{ collectiontitle | }}}
|collectiontitletib={{{ collectiontitletib | }}}
|collectiontitletib={{{ collectiontitletib | }}}
Line 58: Line 58:
     |dkarchagpage={{#ifexist:{{PAGENAME}}-Karchag|{{PAGENAME}}-Karchag|}}
     |dkarchagpage={{#ifexist:{{PAGENAME}}-Karchag|{{PAGENAME}}-Karchag|}}
     |KarchagContent={{#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 02:48, 4 June 2024