Template:NewsItem: Difference between revisions

From RevSpace
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
''[[PageName::{{PAGENAME}}]]''
''[[PageName::{{PAGENAME}}]]''


{{#if:{{{Date|}}}|NewsItem: [[NewsItem_Date::{{{Date}}}]] - }} [[NewsItem_Name::{{{Name}}}]]  
{{#if:{{{Date|}}}|NewsItem: [[NewsItem_Date::{{{Date}}}]] - }} [[NewsItem_Name::{{{Info}}}]]  


{{#if:{{{Image|}}}|[[Image:{{{Image}}}{{!}}thumb]]}} [[NewsItem_Info::{{{Info}}}]]
{{#if:{{{Image|}}}|[[Image:{{{Image}}}{{!}}thumb]]}}


<includeonly>[[Category:NewsItem|{{{Name}}}]]</includeonly>
<includeonly>[[Category:NewsItem|{{{Name}}}]]</includeonly>

Revision as of 15:03, 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
 }}


NewsItem

{{{Info}}}