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

(Difference between pages)
 
 
Line 1: Line 1:
{{#widget:NewsDisplay|user={{{5|}}}|gravatar_url=http://www.gravatar.com/avatar/{{{6|}}}/?s=80&d=retro&r=g|article_url=/{{{1}}}|title={{#sub:{{{1}}}|5}}|body=<b>{{{2}}}</b>: {{{4}}}}}
+
<div class="media"><a class="pull-left" href="<!--{$user|escape:'url'}-->"><img class="media-object" src="<!--{$gravatar_url|escape:'html'}-->" alt="<!--{$user|escape:'html'}-->"></a>
 +
<div class="media-body">
 +
<a href="<!--{$article_url|escape:'html'}-->"><h4 class="media-heading"><!--{$title|escape:'html'}--></h4></a>
 +
<!--{$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|escape:'html'}-->"><!--{$user|escape:'html'}--></a></span>
 +
</div>
 +
</div>

Revision as of 03:18, October 20, 2014

<a class="pull-left" href=""></a>
<a href="">

</a>

by <a href=""></a>