Ero sivun ”Malline:JwCard” versioiden välillä
Järvi-meriwikistä
Rivi 1: | Rivi 1: | ||
<includeonly><div class="card mb-2 JwCard {{{class|}}}"> | <includeonly><div class="card mb-2 JwCard {{{class|}}}"> | ||
{{#if: {{{header|}}}|<div class="card-header">{{{header|}}}</div>}} | {{#if: {{{header|}}}|<div class="card-header">{{{header|}}}</div>}} | ||
− | {{#if: {{{body|}}}|<div class="card-body">{{{body|}}}</div>}} | + | {{#if: {{{body|}}}|<div class="card-body {{#if: {{{body-class|}}}|{{{body-class|}}} }}">{{{body|}}}</div>}} |
{{#if: {{{footer|}}}|<div class="card-footer">{{{footer|}}}</div>}} | {{#if: {{{footer|}}}|<div class="card-footer">{{{footer|}}}</div>}} | ||
</div></includeonly> | </div></includeonly> |