Template:Collection: Difference between revisions
From Dudjom Wiki
No edit summary |
((by SublimeText.Mediawiker)) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 29: | Line 29: | ||
<h2> Browse by ''sa bcad'' section </h2> | <h2> Browse by ''sa bcad'' section </h2> | ||
{{{{{ sectionTemplate | }}}}} | }} | {{{{{ sectionTemplate | }}}}} | }}{{#if: {{{ textQuery | }}} | | ||
== Browse by volume · <span class="text-70">'''{{#ask: [[Category:Tibetan Volumes]][[Category:{{{ title | }}}]]|format=count}}''' volumes, '''{{#ask: [[Category:Tibetan Texts]][[Category:{{{ title | }}}]]|format=count}}''' texts in this collection</span> | <h2>''{{{ title | }}}'' - {{#ask: {{{ textQuery | }}}|format=count}} texts </h2> | ||
{{#widget:filterInput}} | |||
{{#ask: {{{ textQuery | }}} | |||
|?fulltitletib | |||
|?fulltitle | |||
|?authortib | |||
|?WorkAuthor | |||
|?pagenumbers | |||
|?textnuminvol | |||
|?tibgenre | |||
|?textsubnumber | |||
|?pdflink | |||
|?fulltitlekartib | |||
|?collectiontitle | |||
|format=template | |||
|template=TextTable | |||
|sort=textnuminvol | |||
|order=asc | |||
|link=none | |||
|limit=500 | |||
|intro=<div class="filterableContent"> | |||
|outro=</div> | |||
}} | | |||
<h2> Browse by volume · <span class="text-70">'''{{#ask: [[Category:Tibetan Volumes]][[Category:{{{ title | }}}]]|format=count}}''' volumes, '''{{#ask: [[Category:Tibetan Texts]][[Category:{{{ title | }}}]]|format=count}}''' texts in this collection</span> </h2> | |||
<div class="container mb-5 p-0">__NOTOC__ | <div class="container mb-5 p-0">__NOTOC__ | ||
<div class="row justify-content-center"> | <div class="row justify-content-center"> | ||
| Line 49: | Line 75: | ||
}} | }} | ||
</div> | </div> | ||
</div> | </div> }} | ||
{{MakeCategories|Tibetan Collections;{{{ title | }}};{{{ categories | }}}}}</includeonly><noinclude>[[Category:Custom Templates]]</noinclude> | |||
{{MakeCategories|Tibetan Collections;{{{ title | }}};{{{ categories | }}}}}{{#set: | |||
|WorkAuthor={{{ author | }}} | |||
|Title={{{ title | }}} | |||
|TibTitle={{#if:{{{ TibTitle | }}} | |||
|{{{ TibTitle | }}} | |||
|{{#ask:[[Category:Tibetan Texts]][[collectiontitle::{{{ title | }}}]] | |||
|?collectiontitletib= | |||
|mainlabel=- | |||
|limit=1 | |||
|searchlabel= | |||
}} | |||
}} | |||
|totalvolumes={{#ask:[[Category:Tibetan Texts]][[collectiontitle::{{{ title | }}}]] | |||
|?totalvolumes= | |||
|mainlabel=- | |||
|limit=1 | |||
|searchlabel= | |||
}} | |||
|citation={{#if:{{{ citation | }}} | |||
|{{{ citation | }}} | |||
|{{#ask:[[Category:Tibetan Texts]][[collectiontitle::{{{ title | }}}]] | |||
|?citation= | |||
|mainlabel=- | |||
|limit=1 | |||
|searchlabel= | |||
}} | |||
}} | |||
|Header={{{ header | }}} | |||
|Description={{{ description | }}} | |||
}}</includeonly><noinclude>[[Category:Custom Templates]]</noinclude> | |||