Template:GalleryCard: Difference between revisions

From Videogame Morgue File

m (layout tweak, maybe better?)
(make title optional)
Line 1: Line 1:
<div class="col mb-4 mr-4 flex-grow-0">
<div class="col mb-4 mr-4 flex-grow-0">
<div class="card h-100" style="width: 16rem;">[[File:{{{file}}}|200x250px|center]]<div class="card-body">
<div class="card h-100" style="width: 16rem;">[[File:{{{file}}}|200x250px|center]]<div class="card-body">
<div class="card-title mb-2"><strong>{{{title}}}</strong><br><span class="text-muted">{{#if: {{{country|}}} |{{Flag-{{uc:{{{country}}}}}}}}} {{{date}}}</span></div>
<div class="card-title mb-2">{{#if: {{{title|}}}<strong>{{{title}}}</strong><br>}}<span class="text-muted">{{#if: {{{country|}}} |{{Flag-{{uc:{{{country}}}}}}}}} {{{date}}}</span></div>
{{#if: {{{description|}}} |<p class="card-text" style="line-height:1.2"><small>{{{description}}}</small></p> }}
{{#if: {{{description|}}} |<p class="card-text" style="line-height:1.2"><small>{{{description}}}</small></p> }}
</div>
</div>

Revision as of 08:08, 9 September 2024

[[File:{{{file}}}|200x250px|center]]
{{{date}}}
[[Media:{{{file}}}|]]