Template:CyclePage: Difference between revisions

From Rinchen Terdzö
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<includeonly>[[Category:{{PAGENAME}}]]
<includeonly>[[Category:{{PAGENAME}}]]


{{#ask:[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]][[parentcycle::+]]
{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]
|?parentcycle
|link=none
|link=none
|format=template
|format=ul
|template=ParentCycleTags
|template=ParentCycleTags
|limit=10000
|limit=10000
Line 19: Line 18:


{{#if:{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]}}|<h2>Sub-cycles</h2>|}}
{{#if:{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]}}|<h2>Sub-cycles</h2>|}}


{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]
{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]
Line 26: Line 23:
|format=ul
|format=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==
==[[textcount::{{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]|format=count}}]] Text(s) in this Cycle==

Revision as of 16:44, 15 December 2017