Template:TsdwikiVolumeTile: Difference between revisions

From Damngak Dzö
No edit summary
 
((by SublimeText.Mediawiker))
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
<div class="tsdwiki-pop-off tsdwiki-tile tsdwiki-tile-library" style="height: 250px;">{{#widget:TsdwikiImgDiv
<div class="tsdwiki-pop-off tsdwiki-tile tsdwiki-tile-library" style="height: 250px;">{{#widget:TsdwikiImgDiv
|classes=tsdwiki-tile-volume-img {{{#userparam}}}
|classes=tsdwiki-tile-volume-img {{{#userparam}}}
|src={{#ifexist:{{{1}}}-front.pdf
|src={{#ifexist:File:{{{1}}}-front.pdf
|{{SERVER}}/thumb.php?f={{{1}}}-front.pdf&width=800&page=1
|{{SERVER}}/thumb.php?f={{{1}}}-front.pdf&width=800&page=1
|https://commons.tsadra.org/thumb.php?f=Pecha_Collection.jpg&width=800
|https://commons.tsadra.org/thumb.php?f=Pecha_Collection.jpg&width=800
Line 10: Line 10:
<div class="tsdwiki-tile-volume-content py-2">
<div class="tsdwiki-tile-volume-content py-2">
<h4 class="mb-0 py-0 tibetan-jomolhari overflow-visible" style="border-bottom: 0 !important;">{{{ 6 | }}}</h4>
<h4 class="mb-0 py-0 tibetan-jomolhari overflow-visible" style="border-bottom: 0 !important;">{{{ 6 | }}}</h4>
<div class="text-muted text-110">Volume {{r|{{{ 5 | }}}}} of the {{r|{{PAGENAME}}}} collection.</div>
<div class="text-muted text-110">{{r|{{#ifeq:{{{ 5 | }}}|0|Karchag|Volume {{{ 5 | }}}}}}} of the {{r|{{{ 2 | }}}}} collection.</div>
<div class="my-1">{{r|{{#ask: [[Category:Tibetan Texts]][[Category:{{{1}}}]]|format=count}} Texts}}</div>
<div class="my-1">{{r|{{#ask: [[Category:Tibetan Texts]][[Category:{{{1}}}]]|format=count}} Texts}}</div>
</div>
</div>

Latest revision as of 20:37, 27 August 2025