Template:UpdateTile: Difference between revisions

Content deleted Content added
Created page with "<noinclude> Update stream template</noinclude> <includeonly>{{Collapsible |readmore-title={{#if:{{{readmore-title|}}}|{{{readmore-title}}}|{{{link|}}} }} |readmore=<span></spa..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
|icon={{#if: {{{readmore|}}}|plus-circle float-left|no-icon}}
|icon={{#if: {{{readmore|}}}|plus-circle float-left|no-icon}}
|class=updateTile
|class=updateTile
|postfield=<span class="postfields">{{i|calendar-alt}} {{#time:d/m/Y| {{{date|{{REVISIONTIMESTAMP:{{{link}}} }} }}} }}</span> <span class="postfields">{{i|user}} {{Linktouser|{{{updater|}}}|{{{link|}}} }}</span>{{#if:{{{project|}}}|<span class="postfields">{{i|tags}} [[{{{project}}}]]</span>|}}{{#if:{{{attachments|}}}|<span class="postfields attachments">{{i|paperclip}} {{#arraymap: {{{attachments|}}}|;|xx|<span class="attach-link" data-toggle="tooltip" data-placement="bottom" title="Download xx">[[media:xx|{{#sub:xx|0|6}}...]]</span>|, }}</span>|}}<span class="postfields button float-left">[[{{{link}}}|Read entire update {{i|angle-left}}]]</span>}}</includeonly>
|postfield=<span class="postfields">{{i|calendar-alt}} {{#time:d/m/Y| {{{date|{{REVISIONTIMESTAMP:{{{link}}} }} }}} }}</span> <span class="postfields">{{i|user}} {{#arraymap:{{{updater|}}}|;|xxx|<span class="data-tag">xxx</span>|<nowiki> </nowiki>|}}</span>{{#if:{{{tags|}}}|<span class="postfields">{{i|tags}} {{#arraymap:{{{tags}}}|;|xxx|<span class="data-tag">xxx</span>|<nowiki> </nowiki>|}}</span>|}}{{#if:{{{attachments|}}}|<span class="postfields attachments">{{i|paperclip}} {{#arraymap: {{{attachments|}}}|;|xx|<span class="attach-link" data-toggle="tooltip" data-placement="bottom" title="Download xx">[[media:xx|{{#sub:xx|0|6}}...]]</span>|, }}</span>|}}<span class="postfields button float-left">[[{{{link}}}|Read entire update {{i|angle-left}}]]</span>}}</includeonly>
</includeonly>

Latest revision as of 16:35, 25 August 2022

Update stream template