Template:GalleryCard: Difference between revisions

From Videogame Morgue File

(don't let images get so tall, it messes up alignment)
(hmm, not sure I like that top padding after all.)
Line 1: Line 1:
<div class="col mb-4 flex-grow-0">
<div class="col mb-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"><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> }}

Revision as of 13:51, 16 Haziran 2022

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