Template:CyclePage: Difference between revisions

From Rinchen Terdzö
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 20: Line 20:


{{#if:{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]}}|<h2>Sub-cycles</h2>|}}
{{#if:{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]}}|<h2>Sub-cycles</h2>|}}
{{#arraydefine: values|
{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]
{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]
|?cycle
|?cycle
|sort=cycle
|sort=cycle
|order=asc
|order=asc
|format=list
|format=array
|template=subCycleList
|name=values
}}
}}
|,}}
{{#arrayunique:values}}
{{#arrayunique:values}}
<ul>
<ul>

Revision as of 12:12, 15 December 2017