Ero sivun ”Malline:Ask/Lake news” versioiden välillä
Järvi-meriwikistä
Rivi 1: | Rivi 1: | ||
− | <includeonly><div class="card katuma-card">{{#if: {{{Image|}}} |{{#ifeq: {{#count: {{{Image|}}}|https | + | <includeonly><div class="card katuma-card">{{#if: {{{Image|}}} |{{#ifeq: {{#count: {{{Image|}}}|https}}|0|<div class="embed-responsive embed-responsive-16by9">[[{{{Image|}}}|link=|alt={{{Alt|}}}|class=card-img-top embed-responsive-item]]</div>}} }} |
<div class="card-body"> | <div class="card-body"> | ||
<h6 class="card-subtitle text-muted">{{#time: j. F Y|{{{Päivämäärä|}}} }}</h6> | <h6 class="card-subtitle text-muted">{{#time: j. F Y|{{{Päivämäärä|}}} }}</h6> | ||
Rivi 5: | Rivi 5: | ||
{{#if: {{{Text|}}}| <p class="card-text jw-text">{{{Text|}}}</p> }} | {{#if: {{{Text|}}}| <p class="card-text jw-text">{{{Text|}}}</p> }} | ||
{{#if: {{{Linkki|}}}| <p class="card-text jw-link">{{#replace:{{{Linkki|}}}| |_}}</p> }} | {{#if: {{{Linkki|}}}| <p class="card-text jw-link">{{#replace:{{{Linkki|}}}| |_}}</p> }} | ||
− | {{#count: {{{Image|}}}|https | + | {{#count: {{{Image|}}}|https}} |
</div> | </div> | ||
</div> | </div> |