Template:CyclePage: Difference between revisions

From Rinchen Terdzö
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(63 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[Category:{{PAGENAME}}]]
<includeonly>__NOTOC__{{#ask:[[Category:Mandalas]][[Category:{{PAGENAME}}]]
|format=gallery
|fileextensions=yes
|widths=150
|heights=150
|intro=Mandala Tsaglis for this Cycle
}}{{#if: {{{ notes | }}} |


{{#ask:[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]][[parentcycle::+]]
<h2> Notes about this cycle </h2>
|?parentcycle
{{{ notes | }}} | }}{{#if: {{{ parentcycle | }}}{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]}} |
|link=none
 
|format=template
<h2> Parent cycle(s) </h2>
|template=ParentCycleTags
<ul>{{#arraymap:{{{parentcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul>
{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]
|limit=10000
|limit=10000
}}
|format=ul
 
}} | }}{{#if: {{{subcycle|}}}{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]}} |
[[Category:Cycles]][[Category:Rin chen gter mdzod Shechen Edition]][[Category:Rin chen gter mdzod]]
 
{{#tag:gallery|
{{#arraymap:{{#ask:[[Category:Mandalas]][[Category:{{PAGENAME}}]]|link=none}}|,|@@@|@@@|\n}}
|mode="slideshow"
|class="cycle-gallery"
|caption="Mandala Tsaglis for this Cycle"
}}
 
{{#if:{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]}}|<h2>Sub-cycles</h2>|}}
 
 


<h2> Sub-cycle(s)</h2>
<ul>{{#arraymap:{{{subcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul>
{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]
|limit=10000
|format=ul
}} | }}


<ul>{{#arraymap:
== [[textcount::{{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]|format=count}}]] Text(s) in this Cycle ==
{{#arraydefine: valued
|
{{#ask: [[{{{1|}}}::+]] | mainlabel =- | headers = hide |? {{{1|}}}# | limit = 10000 | searchlabel= }}
|,| print=list, sort=asc, unique}}
|,|@@|<li>[[Special:SearchByProperty/{{Space|{{{1}}}/@@}}{{!}}@@]]</li>
 
|}}
</ul>
 
 
 
 
 
{{#arraydefine: values|
{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]
|?cycle
|sort=cycle
|order=asc
|format=list
|sep=,
|template=subCycleList
}}
|,}}
{{#arrayprint:values}}
{{#arrayunique:values}}
<ul>
<li>{{#arrayprint:values|</li><li>}}</li>
</ul>
 
 
 
 
==[[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=TextsInCycle
|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