Ero sivun ”Malline:JwEvent” versioiden välillä
Järvi-meriwikistä
Rivi 1: | Rivi 1: | ||
<includeonly> | <includeonly> | ||
− | <div class="card">{{#if: {{{ | + | <div class="card">{{#if: {{{Image|}}} |[[{{{Image|}}}|link=|class=card-img-top]] }} |
<div class="card-body"> | <div class="card-body"> | ||
− | {{#ifeq: {{#time: Y-m-d |{{{ | + | {{#ifeq: {{#time: Y-m-d |{{{Alkaa|}}} }}|{{#time: Y-m-d |{{{Loppuu|}}} }} |
− | |{{#ifeq: {{#time: Y-m-d |{{{ | + | |{{#ifeq: {{#time: Y-m-d |{{{Alkaa|}}} }} |{{#time: Y-m-d |now }} |
− | |<h6 class="card-subtitle text-muted">TÄNÄÄN klo {{#time: G.i |{{{ | + | |<h6 class="card-subtitle text-muted">TÄNÄÄN klo {{#time: G.i |{{{Alkaa|}}} }}–{{#time: G.i |{{{Loppuu|}}} }}</h6> |
− | |<h6 class="card-subtitle text-muted">{{#time: d. F Y |{{{ | + | |<h6 class="card-subtitle text-muted">{{#time: d. F Y |{{{Alkaa|}}} }} klo {{#time: G.i |{{{Alkaa|}}} }}–{{#time: G.i |{{{Loppuu|}}} }}</h6> |
}} | }} | ||
− | |<h6 class="card-subtitle text-muted">{{#time: d. F Y|{{{ | + | |<h6 class="card-subtitle text-muted">{{#time: d. F Y|{{{Alkaa|}}} }} klo {{#time: G.i|{{{Alkaa|}}} }}–{{#time: d. F Y|{{{Loppuu|}}} }} klo {{#time: G.i|{{{Loppuu|}}} }}</h6> |
}} | }} | ||
− | <h3 class="card-title" style="margin-top: 6px; padding-top: 0;">{{{ | + | <h3 class="card-title" style="margin-top: 6px; padding-top: 0;">{{{Event name|}}}</h3> |
− | {{#if: {{{ | + | {{#if: {{{Paikka|}}}| <p class="card-text jw-location">{{{Paikka|}}}</p> }} |
− | {{#if: {{{ | + | {{#if: {{{Organizer|}}}| <p class="card-text jw-organizer">{{{Organizer|}}}</p> }} |
{{#if: {{{Inquiries|}}}| <p class="card-text jw-organizer">{{{Inquiries|}}}</p> }} | {{#if: {{{Inquiries|}}}| <p class="card-text jw-organizer">{{{Inquiries|}}}</p> }} | ||
− | {{#if: {{{ | + | {{#if: {{{Linkki|}}}| <p class="card-text jw-link">{{{Linkki|}}}</p> }} |
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |