Template:GalleryCard: Difference between revisions

From Videogame Morgue File

(don't let images get so tall, it messes up alignment)
(make date optional too)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="col mb-4 flex-grow-0">
<div class="col mb-4 mr-4 flex-grow-0">
<div class="card h-100 pt-4" 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}}}}}}}}} {{#if: {{{date|}}} |{{{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>

Latest revision as of 08:15, 9 September 2024

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