Template: Event-card: Difference between revisions
From Dreams Knowledge Platform
No edit summary |
No edit summary |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- | |||
Parameters: | |||
{{{1}}} - Page name (link target) | |||
{{{2}}} - Display title | |||
{{{3}}} - City | |||
{{{4}}} - Country | |||
{{{5}}} - Category tag label | |||
{{{6}}} - Full description | |||
{{{7}}} - Image filename | |||
{{{8}}} - Short description ( | |||
--> | |||
<includeonly><div class="event-card"> | <includeonly><div class="event-card"> | ||
{{#if:{{{7|}}}|<div class="event-card-image">[[File:{{{7|}}}| | {{#if:{{{7|}}}|<div class="event-card-image">[[File:{{#explode:{{{7|}}}|;|0}}|400px|thumb|link={{{1|}}}]]</div>|<div class="event-card-image event-card-image--placeholder"></div>}} | ||
<div class="event-card-body"> | <div class="event-card-body"> | ||
{{#if:{{{5|}}}|<div class="event-card-tag">{{{5|}}}</div>}} | {{#if:{{{5|}}}|<div class="event-card-tag">{{{5|}}}</div>}} | ||
| Line 6: | Line 17: | ||
{{#if:{{{3|}}}|<div class="event-card-location"><i class="fas fa-map-marker-alt"></i> {{{3|}}}{{#if:{{{4|}}}|, {{{4|}}}}}</div>}} | {{#if:{{{3|}}}|<div class="event-card-location"><i class="fas fa-map-marker-alt"></i> {{{3|}}}{{#if:{{{4|}}}|, {{{4|}}}}}</div>}} | ||
{{#if:{{{8|}}}|<div class="event-card-desc">{{{8|}}}</div>|{{#if:{{{6|}}}|<div class="event-card-desc">{{{6|}}}</div>}}}} | {{#if:{{{8|}}}|<div class="event-card-desc">{{{8|}}}</div>|{{#if:{{{6|}}}|<div class="event-card-desc">{{{6|}}}</div>}}}} | ||
<div class="event-card-readmore">[[{{{1|}}}|Read more →]]</div> | |||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> | ||
Latest revision as of 12:17, 25 March 2026