Template:GalleryCard: Difference between revisions
From Videogame Morgue File
MorgueFile (talk | contribs) (hmm, not sure I like that top padding after all.) |
MorgueFile (talk | contribs) (make date optional too) |
||
(3 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" 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}}}| ]]