Difference between pages "Template:ArticleFooter" and "Widget:ArticleBio"

(Difference between pages)
 
 
Line 1: Line 1:
{{#vardefine:Summary:{{#show:{{FULLPAGENAME}}|?Summary}}}}
+
<div class="media"><div class="media-body" style="color: #555;"><img class="media-object img-rounded" style="opacity: 0.8;" src="<!--{$icon_url|escape:'html'}-->">
{{#vardefine:Author:{{#show:{{FULLPAGENAME}}|?Author}}}}
+
<p><!--{$body|escape:'html'}--></p>
{{#vardefine:Icon:{{#show:{{FULLPAGENAME}}|?Icon}}}}
+
</div>
{{#var:Author}}
+
</div>
{{#widget:NewsInfo|body={{#var:Summary|}}|user={{#var:Author|}}|icon_url={{#if:{{#var:Icon|}}|{{filepath:{{#sub:{{#var:Icon}}|5}}|80}}|http://www.gravatar.com/avatar/{{#show: {{FULLPAGENAME}} | ?Gravatar MD5}}/?s=80&d=retro&r=g}}}}
+
{{#show: {{#var:Author}} | ?Bio }}
+
{{#var:Author}}
+

Revision as of 08:13, December 28, 2014