Template:Collection: Difference between revisions

From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="d-inline-block my-5 mx-auto">
<includeonly>{{#widget:NoFirstHeading}}<div class="text-center">
<div>{{#widget:RoundFancyboxImage
<div class="d-inline-block mt-4 position-relative px-3 py-4">
|filepath={{filepath:{{#titleparts:{{PAGENAME:{{#show: {{{ author | }}} |?FirstImage }}}}}}|300}}
<div class="mb-3">{{#widget:RoundFancyboxImage
|fullimage={{filepath:{{#titleparts:{{PAGENAME:{{#show: {{{ author | }}} |?FirstImage }}}}}}}}
|filepath={{filepath:{{#titleparts:{{PAGENAME:{{#show: {{{ author | }}} |?FirstImage }}}}}}|300}}
|size=250px
|fullimage={{filepath:{{#titleparts:{{PAGENAME:{{#show: {{{ author | }}} |?FirstImage }}}}}}}}
|depth=3 m-auto
|size=250px
|linkclasses={{#ifeq: {{#show: {{{ author | }}} |?FirstImage }} | File:Noimagefound.jpg | d-none | }}
|depth=3 m-auto
}}</div>
|linkclasses={{#ifeq: {{#show: {{{ author | }}} |?FirstImage }} | File:Noimagefound.jpg | d-none | }}
<div class="">{{{ author | }}}</div>{{#widget:OverlayLink
}}</div>
|link=/index.php/{{PAGENAMEE:{{{ author | }}}}}
<div class="text-150 font-serif">{{#show: {{{ author | }}} |?MainNamePhon }}</div>
|classes=none
<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
|target=_self
|link=/index.php/{{PAGENAMEE:{{{ author | }}}}}
|title={{{ author | }}}
|classes=rounded grey-hoverlay
}}
|target=_self
|title={{{ author | }}}
}}
</div>
</div>
</div>
<div class="top-blue-links text-center my-4">[[{{{ author | }}}|<i class="fa-duotone fa-angles-up mr-2"></i> Back to Author Page]]</div>


<div class="main-header-container">
<div class="main-header-container">
<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 36: 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>

Latest revision as of 09:21, 4 June 2024