Template:TileLongTall: Difference between revisions
From Bodhicitta
(Created page with "<includeonly><div id="{{{ id | }}}" class="{{#if: {{{ wrapper-classes | }}} |{{{ wrapper-classes | }}} |{{#if: {{{ #userparam | }}} |{{{ #userparam | }}} |{{#if: {{{ wrapperClasses | }}} |{{{ wrapperClasses | }}} |col-md-12 mb-3 mb-md-4 }} }} }} filterable"> <div class="tsdwiki-pop-off tsdwiki-tile tsdwiki-tile-library " style="{{#if: {{{ min-height | }}} | min-height: {{{ min-height | }}}; | min-height: 280px; }}">{{#ifeq:{{{ 5 | }}}|Clas...") |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
<div class="tsdwiki-pop-off tsdwiki-tile tsdwiki-tile-library " style="{{#if: {{{ min-height | }}} | <div class="tsdwiki-pop-off tsdwiki-tile tsdwiki-tile-library " style="{{#if: {{{ min-height | }}} | ||
| min-height: {{{ min-height | }}}; | | min-height: {{{ min-height | }}}; | ||
| min-height: | | min-height: {{#switch: {{{ size | }}} | ||
| small = 220px | |||
| medium = 260px | |||
| large = 320px | |||
| #default = 260px | |||
}}; | |||
}}">{{#ifeq:{{{ 5 | }}}|Classical Works||{{#ifeq:{{{ image | }}}|none|| | }}">{{#ifeq:{{{ 5 | }}}|Classical Works||{{#ifeq:{{{ image | }}}|none|| | ||
{{#widget:TsdwikiImgDiv | {{#widget:TsdwikiImgDiv | ||
|classes=tsdwiki-tile-library-img- | |classes=tsdwiki-tile-library-img | ||
|style=flex: 0 0 {{#if: {{{ img-width | }}} | |||
| {{{ img-width | }}} | |||
| {{#switch: {{{ size | }}} | |||
| small = 160px | |||
| medium = 180px | |||
| large = 240px | |||
| #default = 180px | |||
}} | |||
}}; max-width: {{#if: {{{ img-width | }}} | |||
| {{{ img-width | }}} | |||
| {{#switch: {{{ size | }}} | |||
| small = 160px | |||
| medium = 180px | |||
| large = 240px | |||
| #default = 180px | |||
}} | |||
}}; min-height: {{#if: {{{ min-height | }}} | |||
| {{{ min-height | }}} | |||
| {{#switch: {{{ size | }}} | |||
| small = 220px | |||
| medium = 260px | |||
| large = 320px | |||
| #default = 260px | |||
}} | |||
}}; | |||
|src={{#if:{{{ src-image | }}} | |src={{#if:{{{ src-image | }}} | ||
|{{{ src-image | }}} | |{{{ src-image | }}} | ||
| Line 32: | Line 62: | ||
}} | }} | ||
|bgPosition={{{ bgPosition | 50% 50% }}} | |bgPosition={{{ bgPosition | 50% 50% }}} | ||
|bgSize={{{ bgSize | | |bgSize={{{ bgSize | cover }}} | ||
}} }} }} | }} }} }} | ||
<div class="tsdwiki-tile-library-content" {{#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: {{#ifeq:{{{ 6 | }}}|Tibetan Original Work|.1em 1.5em .5em|.7em 1.5em .5em}} !important;"|}}}}>{{#if: {{{ header | }}} | <div class="tsdwiki-tile-library-content" {{#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: {{#ifeq:{{{ 6 | }}}|Tibetan Original Work|.1em 1.5em .5em|.7em 1.5em .5em}} !important;"|}}}}>{{#if: {{{ header | }}} | ||
| Line 50: | Line 80: | ||
}} | }} | ||
}} | }} | ||
<div class="text-muted clipped- | <div class="text-muted clipped-8-lines unclamp-here">{{#ifeq:{{{ 5 | }}}|Classical Works|{{#if: {{{ 15 | }}} | ||
|{{PersonPill|{{{ 15 | }}}}} - | |{{PersonPill|{{{ 15 | }}}}} - | ||
| | | | ||