Sjabloon:NewsItem: verschil tussen versies

Uit RevSpace

FooBar (overleg | bijdragen)
Created page with "<noinclude> Use this template in the following way on event pages: <nowiki>{{</nowiki>NewsItem |Name=News Title |Date=2011-12-12 |Info=Text of the newsitem <nowiki>}}<..."
 
FooBar (overleg | bijdragen)
Geen bewerkingssamenvatting
Regel 8: Regel 8:
   <nowiki>}}</nowiki>
   <nowiki>}}</nowiki>


</noinclude>{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border-collapse:collapse; font-size:95%; empty-cells:hide"
</noinclude>
|- style="background: {{Style|header}}; text-align:center;"
! colspan=2| ''Event [[PageName::{{PAGENAME}}|{{{Name}}}]]''
|-
| style="vertical-align:top" | Name
|[[NewsItem Name::{{{Name}}}]]
|{{#if:{{{Date|}}}|[[NewsItem Date::{{{Date}}}]]|
|-
| style="vertical-align:top" | Information
|{{#if:{{{Info|}}}| [[NewsItem Info::{{{Info}}}]]|}}
|-


|}<includeonly>[[Category:NewsItem|{{{Name}}}]]</includeonly>
{{Style|header}}''Event [[PageName::{{PAGENAME}}|{{{Name}}}]]''
[[NewsItem Name::{{{Name}}}]] {{#if:{{{Date|}}}|[[NewsItem Date::{{{Date}}}]]
 
{{#if:{{{Info|}}}| [[NewsItem Info::{{{Info}}}]]|}}
<includeonly>[[Category:NewsItem|{{{Name}}}]]</includeonly>

Versie van 12 dec 2011 12:03

Use this template in the following way on event pages:

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


#a6c282Event {{{Name}}} {{{Name}}} {{#if:|{{{Date}}}