Template:CyclePage: Difference between revisions
From Rinchen Terdzö
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(174 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{# | <includeonly>__NOTOC__{{#ask:[[Category:Mandalas]][[Category:{{PAGENAME}}]] | ||
# | |format=gallery | ||
}}[[Category: | |fileextensions=yes | ||
==Texts in this | |widths=150 | ||
{{#ask:[[Category: Tibetan Texts]][[ | |heights=150 | ||
|?fulltitle | |intro=Mandala Tsaglis for this Cycle | ||
|?fulltitletib | }}{{#if: {{{ notes | }}} | | ||
|? | |||
|? | <h2> Notes about this cycle </h2> | ||
|?colophontib | {{{ notes | }}} | }}{{#if: {{{ parentcycle | }}}{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]}} | | ||
|?volumenumber | |||
|?pagenumbers | <h2> Parent cycle(s) </h2> | ||
|?textnuminvol | <ul>{{#arraymap:{{{parentcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul> | ||
|?cycle | {{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]] | ||
|sort=volumenumber, textnuminvol | |limit=10000 | ||
|order=asc, asc | |format=ul | ||
|link=none | }} | }}{{#if: {{{subcycle|}}}{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]}} | | ||
|format=template | |||
|template=tmp98457532 | <h2> Sub-cycle(s)</h2> | ||
|intro=<div class="searchresults"> | <ul>{{#arraymap:{{{subcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul> | ||
|outro=</div> | {{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]] | ||
|limit=10000 | |limit=10000 | ||
}} | |format=ul | ||
}} | }} | |||
== [[textcount::{{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]|format=count}}]] Text(s) in this Cycle == | |||
{{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]] | |||
|?fulltitle | |||
|?fulltitletib | |||
|?authorraw | |||
|?sourcerevealerraw | |||
|?colophontib | |||
|?volumenumber | |||
|?pagenumbers | |||
|?textnuminvol | |||
|?cycle | |||
|?rectonotes | |||
|?versonotes | |||
|?parentcycle | |||
|sort=volumenumber, textnuminvol | |||
|order=asc, asc | |||
|link=none | |||
|format=template | |||
|template=tmp98457532 | |||
|intro=<div class="searchresults"> | |||
|outro=</div> | |||
|limit=10000 | |||
}}{{#set: | |||
|classification=Cycles | |||
|fulltitle={{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]|?cycle#=|mainlabel=-|limit=1|searchlabel=}} | |||
|Fulltitletib={{#ask:[[Category: Tibetan Texts]][[Category:{{PAGENAME}}]]|?Cycletib=|mainlabel=-|limit=1|searchlabel=}} | |||
}}[[Category:{{PAGENAME}}]]{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[Cycle::{{PAGENAME}}]]</q>]] | |||
|link=none | |||
|format=template | |||
|template=makeCategory | |||
|limit=10000 | |||
}}[[Category:Cycles]][[Category:Rin chen gter mdzod Shechen Edition]][[Category:Rin chen gter mdzod]]</includeonly> |