Template:Upcoming Events: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="card border | <div class="card mb-3 {{#switch: {{{shadow|}}}|small=shadow-sm|large=shadow|#default=}} {{#ifeq:{{{align|}}}|right|text-right}} {{#ifeq:{{{border|}}}|fpin|fpin-shadow|border-0}} {{{class|}}}" data-public="{{{Is public|}}}" data-sort-start="{{#time:Ymd|{{{Date Start|}}}}}" data-sort-end="{{{Date End|}}}"> | ||
<div class="card-title">{{{Event|}}}</div> | <div class="row g-4">{{#if: {{{Event image|}}}| | ||
{{{Event image|}}} | <div class="col-md-{{#ifeq:{{{size|big}}}|big|6|4}} col-lg-{{#ifeq:{{{size|big}}}|big|5|3}} {{#ifeq:{{{align|}}}|right|order-md-1}}">[[File:{{PAGENAME:{{{Event image|}}}}}|class=h-100 {{{imageclass|}}}|800px]]</div>}} | ||
{{{Event image caption|}}} | <div class="{{#if: {{{Event image|}}}|col-md-{{#ifeq:{{{size|big}}}|big|6|8}} col-lg-{{#ifeq:{{{size|big}}}|big|7|9}}|col-12}} d-flex flex-column"> | ||
<div class="card-body px-md-5 d-flex flex-column justify-content-center"> | |||
<div class="h3 card-title">{{{Event|}}}</div>{{#if: {{{badge|}}}| | |||
<div class="badge bg-info align-self-start">{{{badge|}}}</div>}}{{#if: {{{Event image caption|}}}| | |||
<div class="h6 card-subtitle my-1">{{{Event image caption|}}}</div>}} | |||
<div class="card-text mt-3"> | |||
{{{Date Start|}}} | {{{Date Start|}}} | ||
{{{Date End|}}} | {{{Date End|}}} | ||
{{{Event format|}}} | {{{Event format|}}} | ||
{{{Event location|}}} | {{{Event location|}}} | ||
{{{Event admission type|}}} | {{{Event admission type|}}} | ||
{{{Event admission price|}}} | {{{Event admission price|}}} | ||
{{{Event admission price sliding low|}}} | {{{Event admission price sliding low|}}} | ||
{{{Event admission price sliding high|}}} | {{{Event admission price sliding high|}}} | ||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | </div> |
Revision as of 21:53, January 17, 2024