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

(Difference between pages)
 
 
Line 1: Line 1:
{{#widget:NewsDisplay|user={{#sub:{{{5|}}}|5}}|gravatar_url=http://www.gravatar.com/avatar/{{{6|}}}/?s=80&d=retro&r=g|article_url=/{{{1}}}|title={{#sub:{{{1}}}|5}}|body={{{4}}}|date={{{2}}}}}
+
<div class="media"><a class="pull-left" href="/User:<!--{$user|escape:'html'}-->"><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" style="line-height: 18px; font-size: 14px;  font-weight: bold; "><!--{$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:<!--{$user|escape:'html'}-->"><!--{$user|escape:'html'}--></a></span>
 +
</div>
 +
</div>

Revision as of 03:31, October 20, 2014

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

</a>

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