Template:CyclePage: Difference between revisions
From Rinchen Terdzö
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 8: | Line 8: | ||
{{#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}}]] | |||
|?cycle | |||
|sort=cycle | |||
|order=asc | |||
|format=list | |||
|sep=, | |||
|template=subCycleList | |||
}} | |||
|,}} | |||
{{#arrayunique:values}} | |||
{{#arrayprint:values|<br>}} | |||
<ul> | <ul> | ||
{{#arraymap: | {{#arraymap: | ||
|,|@@|<li>@@</li>|}} | |,|@@|<li>@@</li>|}} | ||
</ul> | </ul> |