Difference between revisions of "Template:NewsItem"

From RevSpace
Jump to: navigation, search
Line 16: Line 16:
 
{{#if:{{{Date|}}}|NewsItem: [[NewsItem_Date::{{{Date}}}]] - }} [[NewsItem_Name::{{{Name}}}]]  
 
{{#if:{{{Date|}}}|NewsItem: [[NewsItem_Date::{{{Date}}}]] - }} [[NewsItem_Name::{{{Name}}}]]  
  
{{#if:{{{Image|}}}|[[Image:{{{Image}}}{{!}}thumb]]}} {{{Info}}}
+
{{#if:{{{Image|}}}|[[Image:{{{Image}}}{{!}}thumb]]}} [[NewsItem_Info::{{{Info}}}]]
  
 
<includeonly>[[Category:NewsItem|{{{Name}}}]]</includeonly>
 
<includeonly>[[Category:NewsItem|{{{Name}}}]]</includeonly>

Revision as of 15:58, 16 January 2012

Use this template in the following way on event pages:

 {{NewsItem
 |Name=News Title
 |Date=2011-12-12
 |Info=Text of the newsitem
 |Abstract=Short abstract (one paragraph)
 |Image=Image
 }}


NewsItem

{{{Name}}} 
{{{Info}}}