Difference between revisions of "Template:News"

Line 24: Line 24:
 
<tr><th class="active">Date</th><td>{{{Publication Date|}}}</td></tr>
 
<tr><th class="active">Date</th><td>{{{Publication Date|}}}</td></tr>
 
<tr><th class="active">Category</th><td>{{{News Category|}}}</td></tr>
 
<tr><th class="active">Category</th><td>{{{News Category|}}}</td></tr>
<tr><th class="active">Author Bio</th><td>{{{#show: {{{Author|}}} | ?Bio }}}</td></tr>
+
<tr><th class="active">Author Bio</th><td>{{{#show: User:{{{Author|}}} | ?Bio }}}</td></tr>
 
{{TableEnd}}
 
{{TableEnd}}
 
</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:21, 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
}}