Template:GalleryCard: Difference between revisions

From Videogame Morgue File

(a little top margin)
(make date optional too)
 
(9 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}}}|200x300px|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">{{{title}}}<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">{{{description}}}</p> }}
{{#if: {{{description|}}} |<p class="card-text" style="line-height:1.2"><small>{{{description}}}</small></p> }}
</div>
</div>
{{GalleryCardDownloadLink|file={{{file}}}}}
{{GalleryCardDownloadLink|file={{{file}}}}}
</div>
</div>
</div>
</div>

Latest revision as of 08:15, 9 September 2024

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