Template:VolumePage: Difference between revisions

From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 16: Line 16:
</div>
</div>


{{DISPLAYTITLE:{{{ 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 23: Line 23:
   
   
{{#ask: [[Category:Tibetan Texts]][[Category:{{PAGENAME}}]]{{#ifeq: {{{ collectiontitle | }}}| mkhyen brtse'i 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
|?tibgenre
|?Tibgenre
|?textsubnumber
|?Textsubnumber
|?pdflink
|?Pdflink
|?fulltitlekartib
|?Fulltitlekartib
|?collectiontitle
|?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">
|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>

Revision as of 08:09, 1 June 2024