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>|}}
{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]
{{#arraydefine: values|
|?cycle
{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]
|sort=cycle
|?cycle
|order=asc
|sort=cycle
|format=array
|order=asc
|name=values
|format=list
}}
|template=subCycleList
}}
|,}}
{{#arrayunique:values}}
{{#arrayunique:values}}
<ul>
<ul>

Revision as of 17:48, 12 December 2017