Template:CyclePage: Difference between revisions

From Rinchen Terdzö
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 3: Line 3:
{{#ask:[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]
{{#ask:[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]
|?parentcycle
|?parentcycle
|sort=parentcycle
|link=none
|link=none
|format=template
|format=template
Line 20: Line 19:


{{#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}}]]
 
|format=array
 
|name=values
 
}}
 
{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]
|?cycle
|?sort=cycle
|format=template
|name=values
}}
{{#arrayunique:values}}
{{#arrayunique:values}}
<ul>
<ul>
<li>{{#arrayprint:values|</li><li>}}</li>
<li>{{#arrayprint:values|</li><li>}}</li>
</ul>
</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==


{{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]
{{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]
|?fulltitle
|?fulltitle
|?fulltitletib
|?fulltitletib
|?author
|?author
|?sourcerevealer
|?sourcerevealer
|?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=tmp98457532
|template=tmp98457532
|intro=<div class="searchresults">
|intro=<div class="searchresults">
|outro=</div>
|outro=</div>
|limit=10000
|limit=10000
}}</includeonly>
}}</includeonly>

Revision as of 12:42, 15 December 2017