Difference between revisions of "Template:CyclePage"

((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(23 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:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]
 
 
|link=none
 
|link=none
|format=ul
+
|format=template
 +
|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|}}} |
 +
 
 +
<h2> Notes about this cycle </h2>
 +
{{{notes|}}} | }}{{#if: {{{parentcycle|}}}{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]}} |
  
{{#if:{{#ask:[[Category: Tibetan Texts]][[parentcycle::{{PAGENAME}}]]}}|<h2>Sub-cycles</h2>|}}
+
<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>]]
 
{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]
 
|limit=10000
 
|limit=10000
 
|format=ul
 
|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