Template:NewsItem: Difference between revisions

From RevSpace
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:


''[[PageName::{{PAGENAME}}|{{{Name}}}]]''  
''[[PageName::{{PAGENAME}}|{{{Name}}}]]''  
{{#if:{{{Date|}}}|[[NewsItem Date::{{{Date}}}]]
{{#if:{{{Date|}}}|[[NewsItem Date::{{{Date}}}]]}}


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

Revision as of 12:05, 12 December 2011

Use this template in the following way on event pages:

 {{NewsItem
 |Name=News Title
 |Date=2011-12-12
 |Info=Text of the newsitem
 }}


{{{Name}}}