Difference between revisions of "Template:CyclePage"

((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[Category:{{PAGENAME}}]]
+
<includeonly>__NOTOC__[[Category:{{PAGENAME}}]]{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]
 
 
{{#ask:[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]][[parentcycle::+]]
 
|?parentcycle
 
 
|link=none
 
|link=none
 
|format=template
 
|format=template
|template=ParentCycleTags
+
|template=makeCategory
 
|limit=10000
 
|limit=10000
}}
+
}}[[Category:Cycles]][[Category:Rin chen gter mdzod Shechen Edition]][[Category:Rin chen gter mdzod]]{{#if: {{#ask:[[Category:Mandalas]][[Category:{{PAGENAME}}]]}} |
  
[[Category:Cycles]][[Category:Rin chen gter mdzod Shechen Edition]][[Category:Rin chen gter mdzod]]
+
{{#tag:gallery
 
+
|{{#arraymap:{{#ask:[[Category:Mandalas]][[Category:{{PAGENAME}}]]|link=none}}|,|@@@|@@@|\n}}
{{#tag:gallery|
 
{{#arraymap:{{#ask:[[Category:Mandalas]][[Category:{{PAGENAME}}]]|link=none}}|,|@@@|@@@|\n}}
 
 
|mode="slideshow"
 
|mode="slideshow"
 
|class="cycle-gallery"
 
|class="cycle-gallery"
 
|caption="Mandala Tsaglis for this Cycle"
 
|caption="Mandala Tsaglis for this Cycle"
}}
+
}} | }}{{#if: {{{notes|}}} |
 
 
{{#if:{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]}}|<h2>Sub-cycles</h2>|}}
 
 
 
 
 
 
 
 
 
<ul>{{#arraymap:
 
{{#arraydefine: valued
 
|
 
{{#ask: [[{{{1|}}}::+]] | mainlabel =- | headers = hide |? {{{1|}}}# | limit = 10000 | searchlabel= }}
 
|,| print=list, sort=asc, unique}}
 
|,|@@|<li>[[Special:SearchByProperty/{{Space|{{{1}}}/@@}}{{!}}@@]]</li>
 
 
 
|}}
 
</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>
 
  
 +
<h2> Notes about this cycle </h2>
 +
{{{notes|}}} | }}{{#if: {{{parentcycle|}}}{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]}} |
  
 +
<h2> Parent cycle(s) </h2>
 +
<ul>{{#arraymap:{{{parentcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul>
 +
{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]
 +
|limit=10000
 +
|format=ul
 +
}} | }}{{#if: {{{subcycle|}}}{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]}} |
  
 +
<h2> Sub-cycle(s)</h2>
 +
<ul>{{#arraymap:{{{subcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul>
 +
{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]
 +
|limit=10000
 +
|format=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
+
|?authorraw
|?sourcerevealer
+
|?sourcerevealerraw
|?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=TextsInCycle
+
|template=tmp98457532
|intro=<div class="searchresults">
+
|intro=<div class="searchresults">
|outro=</div>
+
|outro=</div>
|limit=10000
+
|limit=10000
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 16:34, 18 December 2018