Difference between pages "Widget:NewsDisplay" and "Template:NewsDisplay"

(Difference between pages)
 
 
Line 1: Line 1:
<div class="media"><div class="pull-left"><img class="media-object img-circle" style="opacity: 0.5;" src="<!--{$icon_url|escape:'html'}-->" alt="<!--{$user|escape:'html'}-->"></div>
+
{{#widget:NewsDisplay|user={{#sub:{{{5|}}}|5}}|{{#if:{{{7|}}}|icon_url={{filepath:{{#sub:{{{7}}}|5}}|64}}|icon_url=http://www.gravatar.com/avatar/{{{6|}}}/?s=64&d=retro&r=g|article_url=/{{{1}}}}}|title={{#sub:{{{1}}}|5}}|body={{{4|}}}|date={{{2}}}|format={{{8}}}}}
<div class="media-body"><!--{if $format eq 'Short'}-->
+
<h4 class="media-heading" style="line-height: 18px; font-size: 14px;  font-weight: bold; "><!--{$title|escape:'html'}--></h4>
+
<!--{else}--><!--{$format|escape:'html'}-->
+
<a href="/News:<!--{$title|escape:'html'}-->"><h4 class="media-heading" style="line-height: 18px; font-size: 14px;  font-weight: bold; "><!--{$title|escape:'html'}--></h4></a><!--{/if}-->
+
<!--{$body|escape:'html'}-->
+
</div>
+
<div style="float: right; text-align: right; display: inline-block;">
+
<span style="color: #888; font-size: 10px;"><!--{$date|escape:'html'}--> by <a href="/User:<!--{$user|escape:'html'}-->"><!--{$user|escape:'html'}--></a></span>
+
</div>
+
</div>
+

Revision as of 06:32, October 21, 2014

{{{2}}} by