注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Template:News"

From Funtoo
Jump to navigation Jump to search
Line 20: Line 20:
__NOTITLE__
__NOTITLE__
</div></div><div class="row"><div class="col-xs-12 col-sm-4 col-sm-push-8">
</div></div><div class="row"><div class="col-xs-12 col-sm-4 col-sm-push-8">
<p><b>{{#dateformat:{{{Publication Date|}}}|mdy}}</b></p>
<p><b>{{#time:F j, Y|{{{Publication Date}}}}}</b></p>
<p>{{#show: User:{{{Author|}}} | ?Bio }}</p>
<p>{{#show: User:{{{Author|}}} | ?Bio }}</p>
</div><div class="col-xs-12 col-sm-8 col-sm-pull-4">
</div><div class="col-xs-12 col-sm-8 col-sm-pull-4">
</includeonly>
</includeonly>

Revision as of 04:58, October 20, 2014

Use like so:

{{News
|Summary=Test News Item
|News Category=General
|Author=Drobbins
|Publication Status=Draft
|Publication Date=2014/10/16
|Icon=File:foobar.jpg
}}