Drinking & Dragons

Template:Card: Difference between revisions

From Drinking and Dragons
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="card" {{#if: {{{flex|}}}|style="flex: {{{flex}}};" }}>
<div class="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 max-h-60 object-contain]]</div> }}
<div class="card-body">
{{#if: {{{header|}}}|<div class="text-2xl font-bold leading-none">{{{header}}}</div>}}
{{#if: {{{header|}}}|===== {{{header}}} ===== }}
<div class="my-2">{{{body}}}</div>
{{#if: {{{body|}}}|{{{body}}}|<code>body</code> is required }}
</div>
</div>
{{#if: {{{footer|}}}|
<div class="card-footer">
<small class="text-muted">{{{footer}}}</small>
</div>
}}
</div>
<noinclude>
<noinclude>
<pre>
<pre>
Line 23: Line 15:
</nowiki>
</nowiki>
</pre>
</pre>
<div class="pb-5 grid gap-5" style="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));">
{{Card
|image=File:Cmdr.jpg
|header=Venda Egaveichna of Trold <small class="text-muted d-block">Commander</small>
|body=Played by Mallory
}}
{{Card
|image=File:Marshal.jpg
|header=Swan <small class="text-muted d-block">Marshal</small>
|body=Played by Remy
}}
{{Card
|image=File:Quartermaster.jpg
|header=Landgrave Albra <small class="text-muted d-block">Quartermaster</small>
|body=Played by Steve
}}
{{Card
|image=File:Zer.jpg
|header=Zer' <small class="text-muted d-block">Loremaster</small>
|body=Played by Daryl
}}
</div>
</noinclude>
</noinclude>

Latest revision as of 00:40, 2 August 2024


{{{body}}}

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

Venda Egaveichna of Trold Commander
Played by Mallory
Swan Marshal
Played by Remy
Landgrave Albra Quartermaster
Played by Steve
Zer' Loremaster
Played by Daryl