Difference between revisions of "Template:Blog post/tile"

From Wikimedia Australia
Jump to navigation Jump to search
Line 1: Line 1:
 
<templatestyles src="Blog post/tile.css" /><div class="blog-post-tile">
 
<templatestyles src="Blog post/tile.css" /><div class="blog-post-tile">
<div class="image">[[File:{{{image|Example.jpg}}}|250x250px]]</div>
+
<div class="image">[[File:{{#if: {{{image|}}}|{{{image}}}|Example.jpg}}|250x250px]]</div>
 
<div class="title">[[{{{_pageName}}}]]</div>
 
<div class="title">[[{{{_pageName}}}]]</div>
 
<div class="date">{{#time: j F Y | {{{date|}}} }}</div>
 
<div class="date">{{#time: j F Y | {{{date|}}} }}</div>
 
<div class="description">{{{description|}}}</div>
 
<div class="description">{{{description|}}}</div>
 
</div>
 
</div>

Revision as of 08:59, 9 April 2021

Example.jpg
[[{{{_pageName}}}]]
21 June 2021