Template:Card: Difference between revisions
From Drinking and Dragons
Wizardoest (talk | contribs) WIP |
Wizardoest (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<div class="card" style="width: 18rem;"> | <div class="card" style="width: 18rem;"> | ||
{{#if: {{{image|}}}|{{{image}}} }} | |||
<div class="card-body"> | <div class="card-body"> | ||
===== | {{#if: {{{header|}}}|===== {{{header}}} ===== }} | ||
< | {{#if: {{{body|}}}||<code>body</code> is required }} | ||
</div> | </div> | ||
{{#if: {{{footer|}}}| | |||
<div class="card-footer"> | <div class="card-footer"> | ||
<small class="text-muted"> | <small class="text-muted">{{{footer}}}</small> | ||
</div> | </div> | ||
}} | |||
</div> | </div> | ||
<noinclude> | |||
<pre> | |||
<nowiki> | |||
{{Card | |||
|image= | |||
|header= | |||
|body= | |||
|footer= | |||
}} | |||
</nowiki> | |||
</pre> | |||
</noinclude> |
Revision as of 19:12, 4 May 2020
body
is required
{{Card |image= |header= |body= |footer= }}