Template:CyclePage: Difference between revisions
From Rinchen Terdzö
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 13: | Line 13: | ||
}}{{#if: {{{notes|}}} | | }}{{#if: {{{notes|}}} | | ||
<h2> Notes about this cycle </h2> | |||
{{{notes|}}} | }}{{#if: {{{parentcycle|}}}{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]}} | | {{{notes|}}} | }}{{#if: {{{parentcycle|}}}{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]]}} | | ||
<h2> Parent cycle(s) </h2> | |||
<ul>{{#arraymap:{{{parentcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul> | <ul>{{#arraymap:{{{parentcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul> | ||
{{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]] | {{#ask:[[-parentcycle::<q>[[Category: Tibetan Texts]][[cycle::{{PAGENAME}}]]</q>]] | ||
Line 23: | Line 23: | ||
}} | }}{{#if: {{{subcycle|}}}{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]}} | | }} | }}{{#if: {{{subcycle|}}}{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]]}} | | ||
<h2> Sub-cycle(s)</h2> | |||
<ul>{{#arraymap:{{{subcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul> | <ul>{{#arraymap:{{{subcycle|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul> | ||
{{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]] | {{#ask:[[-cycle::<q>[[Category:Tibetan Texts]][[parentcycle::{{PAGENAME}}]]</q>]] |