Template:Collection: Difference between revisions
From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(32 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="text-center"> | <includeonly>{{#widget:NoFirstHeading}}<div class="text-center"> | ||
<div class="d-inline-block mt-4 position-relative px-3 py-4"> | <div class="d-inline-block mt-4 position-relative px-3 py-4"> | ||
<div class="mb-3">{{#widget:RoundFancyboxImage | <div class="mb-3">{{#widget:RoundFancyboxImage | ||
Line 8: | Line 8: | ||
|linkclasses={{#ifeq: {{#show: {{{ author | }}} |?FirstImage }} | File:Noimagefound.jpg | d-none | }} | |linkclasses={{#ifeq: {{#show: {{{ author | }}} |?FirstImage }} | File:Noimagefound.jpg | d-none | }} | ||
}}</div> | }}</div> | ||
<div class=" | <div class="text-150 font-serif">{{#show: {{{ author | }}} |?MainNamePhon }}</div> | ||
<div class="top-blue-links text-center | <div class="top-blue-links text-center">[[{{{ author | }}}|<i class="fa-duotone fa-angles-up mr-2"></i> Back to Author Page]]</div>{{#widget:OverlayLink | ||
|link=/index.php/{{PAGENAMEE:{{{ author | }}}}} | |link=/index.php/{{PAGENAMEE:{{{ author | }}}}} | ||
|classes=rounded grey-hoverlay | |classes=rounded grey-hoverlay | ||
Line 21: | Line 21: | ||
<div class="main-header-title tibetan-jomolhari">{{{ header | }}}</div> | <div class="main-header-title tibetan-jomolhari">{{{ header | }}}</div> | ||
<div class="main-header-subtitle">{{{ subheader | }}}</div> | <div class="main-header-subtitle">{{{ subheader | }}}</div> | ||
</div> | </div>{{#if: {{{ description | }}} | | ||
<div class="my-5 text-150 font-serif line14 mx-auto" style="max-width: 1024px;"> | |||
{{{ description | }}} | |||
</div> | }}{{#if: {{{ sectionTemplate | }}} | | |||
<h2> Browse by ''sa bcad'' section </h2> | |||
{{{{{ sectionTemplate | }}}}} | }} | |||
== 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>== | |||
<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 37: | Line 46: | ||
|sort=volumenumber | |sort=volumenumber | ||
|order=asc | |order=asc | ||
|userparam={{{ imageDivClasses | }}} | |||
}} | }} | ||
</div> | </div> | ||
</div> | </div> | ||
{{MakeCategories|Tibetan Collections;{{{ title | }}};{{{ categories | }}}}} | {{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> |