Template:CyclePage: Difference between revisions

From Rinchen Terdzö
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(84 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[Category:{{PAGENAME}}]]{{#ask:[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]
<includeonly>__NOTOC__{{#ask:[[Category:Mandalas]][[Category:{{PAGENAME}}]]
|?parentcycle
|format=gallery
|sort=parentcycle
|fileextensions=yes
|link=none
|widths=150
|format=template
|heights=150
|template=ParentCycleTags
|intro=Mandala Tsaglis for this Cycle
}}[[Category:Cycles]][[Category:Rin chen gter mdzod Shechen Edition]][[Category:Rin chen gter mdzod]]
}}{{#if: {{{ notes | }}} |
 
<h2> Notes about this cycle </h2>
{{{ notes | }}} | }}{{#if: {{{ parentcycle | }}}{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]}} |


{{#tag:gallery|
<h2> Parent cycle(s) </h2>
{{#arraymap:{{#ask:[[Category:Mandalas]][[Category:{{PAGENAME}}]]|link=none}}|,|@@@|@@@|\n}}
<ul>{{#arraymap:{{{parentcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul>
|mode="slideshow"
{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]
|class="cycle-gallery"
|limit=10000
|caption="Mandala Tsaglis for this Cycle"
|format=ul
}}
}} | }}{{#if: {{{subcycle|}}}{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]}} |


{{#if:{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]}}|<h2>Sub-cycles</h2>|}}
<h2> Sub-cycle(s)</h2>
{{#arraydefine: values|
<ul>{{#arraymap:{{{subcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul>
{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]
{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]
|?cycle
|limit=10000
|sort=cycle
|format=ul
|order=asc
}} | }}
|format=list
|template=subCycleList
}}
|,}}
{{#arrayunique:values}}
<ul>
<li>{{#arrayprint:values|</li><li>}}</li>
</ul>


==[[textcount::{{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]|format=count}}]] Text(s) in this Cycle==
== [[textcount::{{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]|format=count}}]] Text(s) in this Cycle ==


{{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]
{{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]
|?fulltitle
|?fulltitle
|?fulltitletib
|?fulltitletib
|?author
|?authorraw
|?sourcerevealer
|?sourcerevealerraw
|?colophontib
|?colophontib
|?volumenumber
|?volumenumber
|?pagenumbers
|?pagenumbers
|?textnuminvol
|?textnuminvol
|?cycle
|?cycle
|?rectonotes
|?rectonotes
|?versonotes
|?versonotes
|?parentcycle
|?parentcycle
|sort=volumenumber, textnuminvol
|sort=volumenumber, textnuminvol
|order=asc, asc
|order=asc, asc
|link=none
|link=none
|format=template
|format=template
|template=tmp98457532
|template=tmp98457532
|intro=<div class="searchresults">
|intro=<div class="searchresults">
|outro=</div>
|outro=</div>
|limit=10000
|limit=10000
}}</includeonly>
}}{{#set:
|classification=Cycles
|fulltitle={{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]|?cycle#=|mainlabel=-|limit=1|searchlabel=}}
|Fulltitletib={{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]|?Cycletib=|mainlabel=-|limit=1|searchlabel=}}
}}[[Category:{{PAGENAME}}]]{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[Cycle::{{PAGENAME}}]]</q>]]
|link=none
|format=template
|template=makeCategory
|limit=10000
}}[[Category:Cycles]][[Category:Rin chen gter mdzod Shechen Edition]][[Category:Rin chen gter mdzod]]</includeonly>

Latest revision as of 14:32, 7 June 2024