Drinking & Dragons

Template:Card: Difference between revisions

From Drinking and Dragons
No edit summary
Updating
Line 1: Line 1:
<div class="card" {{#if: {{{flex|}}}|style="flex: {{{flex}}};" }}>
<div class="w-3/12 border border-solid rounded-sm bg-gray border-grayDarker p-5 leading-tight">
{{#if: {{{image|}}}|{{{image}}} }}
{{#if: {{{image|}}}|<div>[[{{{image}}}|link=|class=rounded mt-0]]</div> }}
<div class="card-body">
{{#if: {{{header|}}}|<div class="text-2xl font-bold leading-none">{{{header}}}</div>}}
{{#if: {{{header|}}}|===== {{{header}}} ===== }}
 
{{#if: {{{body|}}}|{{{body}}}|<code>body</code> is required }}
{{{body}}}
</div>
{{#if: {{{footer|}}}|
<div class="card-footer">
<small class="text-muted">{{{footer}}}</small>
</div>
}}
</div>
</div>



Revision as of 16:04, 15 September 2021


{{{body}}}



{{Card
|image=
|header=
|body=
|footer=
}}