Template:Tile: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 38: | Line 38: | ||
|bgSize={{{ bgSize | }}} | |bgSize={{{ bgSize | }}} | ||
}} }} }} | }} }} }} | ||
<div class="tsdwiki-tile-library-content position-relative" {{#ifeq:{{{ image | }}}|none|style="flex: 0 0 100%; max-width: 100%; padding: 1em 1.5em !important;"|{{#ifeq:{{{ 5 | }}}|Classical Works|style="flex: 0 0 100%; max-width: 100%; padding: .5em 1.5em !important;"| }} }}>{{#if:{{{ 19 | }}}| | <div class="tsdwiki-tile-library-content position-relative {{#if:{{{ label | }}}|pb-4|}}" {{#ifeq:{{{ image | }}}|none|style="flex: 0 0 100%; max-width: 100%; padding: 1em 1.5em !important;"|{{#ifeq:{{{ 5 | }}}|Classical Works|style="flex: 0 0 100%; max-width: 100%; padding: .5em 1.5em !important;"| }} }}>{{#if:{{{ 19 | }}}| | ||
<div class="opac-30 text-140 font-sans-alt font-weight-bold position-absolute" style="top: 0px; right: 5px;">{{{ 19 | }}}</div>|}} | <div class="opac-30 text-140 font-sans-alt font-weight-bold position-absolute" style="top: 0px; right: 5px;">{{{ 19 | }}}</div>|}} | ||
<div class="mb-1 d-flex justify-content-between opac-70"> | <div class="mb-1 d-flex justify-content-between opac-70"> | ||
| Line 61: | Line 61: | ||
<div>{{{ 17 | }}}/{{{ 18 | }}}</div> }}|}} | <div>{{{ 17 | }}}/{{{ 18 | }}}</div> }}|}} | ||
</div>{{#if: {{{ header | }}} | </div>{{#if: {{{ header | }}} | ||
|<div class=" | |<div class="p-0 clipped-{{{ header-lines |2-lines}}} border-0 {{{ header-text-size | text-140 }}} {{{ header-line-height | line13 }}} font-serif-alt {{{ header-classes | mb-2 }}}">{{{ header | }}}</div> | ||
|{{#switch:{{{ 6 | }}} | |{{#switch:{{{ 6 | }}} | ||
|Sanskrit Original Work=<div class="d-flex flex-wrap justify-content-between">{{#if:{{{ 13 | }}}| | |Sanskrit Original Work=<div class="d-flex flex-wrap justify-content-between">{{#if:{{{ 13 | }}}| | ||
| Line 67: | Line 67: | ||
<div class="m-0 p-0 clipped-1-line border-0 text-140 line13 pb-1">{{{ 12 | }}}</div> | <div class="m-0 p-0 clipped-1-line border-0 text-140 line13 pb-1">{{{ 12 | }}}</div> | ||
</div>{{#if: {{{ 14 | }}} | | </div>{{#if: {{{ 14 | }}} | | ||
<div class="mb-1 clipped-1-line font-weight-light font-italic">{{ | <div class="mb-1 clipped-1-line font-weight-light font-italic">{{{ 14 | }}}</div> | }} | ||
|Tibetan Original Work=<div class="h4 m-0 pt-0 px-0 clipped-1-line border-0 text-160 pb-2 font-serif-alt">{{{ 12 | }}}</div> | |Tibetan Original Work=<div class="h4 m-0 pt-0 px-0 clipped-1-line border-0 text-160 pb-2 font-serif-alt">{{{ 12 | }}}</div> | ||
<div class="mb-1 clipped-1-line font-weight-light font-italic">{{{ 20 | }}}</div> | <div class="mb-1 clipped-1-line font-weight-light font-italic">{{{ 20 | }}}</div> | ||
| Line 79: | Line 79: | ||
}} | }} | ||
}}{{#ifeq:{{{ text | }}}|none|| | }}{{#ifeq:{{{ text | }}}|none|| | ||
<div class=" | <div class="clipped-{{{ text-lines |3}}}-lines unclamp-here {{{ text-classes | }}}">{{#ifeq:{{{ 5 | }}}|Classical Works|{{#if: {{{ 15 | }}} | ||
|{{PersonPill|{{{ 15 | }}}}} - | |{{PersonPill|{{{ 15 | }}}}} - | ||
| | | | ||
| Line 98: | Line 98: | ||
|{{#if:{{#show:{{{ page | }}}|?TileDescription}} | |{{#if:{{#show:{{{ page | }}}|?TileDescription}} | ||
|{{#show:{{{ page | }}}|?TileDescription}} | |{{#show:{{{ page | }}}|?TileDescription}} | ||
|{{{ 21 | }}} | |{{#if:{{#show:{{{ page | }}}|?Description}} | ||
|{{#show:{{{ page | }}}|?Description}} | |||
|{{{ 21 | }}} | |||
}} | |||
}} | }} | ||
}} | }} | ||