Template:Tweet: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 13: Line 13:
<div class="tweet-media {{#if:{{{media4|}}}|count-4|{{#if:{{{media3|}}}|count-3|{{#if:{{{media2|}}}|count-2|count-1}}}}}}">
<div class="tweet-media {{#if:{{{media4|}}}|count-4|{{#if:{{{media3|}}}|count-3|{{#if:{{{media2|}}}|count-2|count-1}}}}}}">
<img src="{{filepath:File:{{{media1|{{{media|}}}}}}}}" alt="">
<img src="{{filepath:File:{{{media1|{{{media|}}}}}}}}" alt="">
{{#if:{{{media2|}}}|<img src="{{filepath:File:{{{media2}}}}}" alt="">}}
{{#if:{{{media2|}}}|<img src="{{filepath:{{{media2}}}}}" alt="">}}
{{#if:{{{media3|}}}|<img src="{{filepath:File:{{{media3}}}}}" alt="">}}
{{#if:{{{media3|}}}|<img src="{{filepath:{{{media3}}}}}" alt="">}}
{{#if:{{{media4|}}}|<img src="{{filepath:File:{{{media4}}}}}" alt="">}}
{{#if:{{{media4|}}}|<img src="{{filepath:{{{media4}}}}}" alt="">}}
</div>}}
</div>}}
     <div class="tweet-timestamp"><span>{{{timestamp|date}}}</span></div>
     <div class="tweet-timestamp"><span>{{{timestamp|date}}}</span></div>