Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:News"
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
{{#widget:NewsInfo|body={{{Summary|}}}|user={{{Author|}}}|icon_url={{#if:{{{Icon|}}}|{{filepath:{{#sub:{{{Icon}}}|5}}|80}}|http://www.gravatar.com/avatar/{{#show: User:{{{Author}}} | ?Gravatar MD5}}/?s=80&d=retro&r=g}}|date={{#time:F j, Y|{{{Publication Date}}}}} | {{#widget:NewsInfo|body={{{Summary|}}}|user={{{Author|}}}|icon_url={{#if:{{{Icon|}}}|{{filepath:{{#sub:{{{Icon}}}|5}}|80}}|http://www.gravatar.com/avatar/{{#show: User:{{{Author}}} | ?Gravatar MD5}}/?s=80&d=retro&r=g}}|date={{#time:F j, Y|{{{Publication Date}}}}} | ||
}}}} | }}}} | ||
</div></div><div class="row"><div class="col-xs-12"> | </div></div><div class="row"><div class="col-xs-12"></includeonly> | ||
</includeonly> |
Revision as of 20:11, November 6, 2014
Use like so:
{{News |Summary=Test News Item |News Category=General |Author=Drobbins |Publication Status=Draft |Publication Date=2014/10/16 |Deprecated By=News:NewsPageThatContainsNewerInfo |Icon=File:foobar.jpg |News Format=Short (or Extended) }}