Difference between revisions of "Template:NewsItem"

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

Revision as of 16:06, 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=Example.jpg
 }}


{{{Info}}}