Template:Nieuws: Difference between revisions

From Hackerspace Amersfoort
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
This is the "Nieuws" template.
This is the "Nieuws" template.
It should be called in the following format:
It should be called in the following format:
<pre>
{{Nieuws
|Title=
|Image=
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
! Titel
| [[News title::{{{Title|}}}]]
! Afbeelding
| [[News image::{{{Image|}}}]]
|}


[[Category:Nieuws]]
  <nowiki>{{</nowiki>Nieuws
</includeonly>
  |Title=Titel
  |Date=2012-12-22
  |Info=Korte beschrijving
  |Image=File:Afbeelding.jpg
  <nowiki>}}</nowiki>
 
</noinclude>
 
{{#if:{{{Date|}}}|[[News date::{{{Date}}}]] - }} {{{Info}}}
 
{{#if:{{{Image|}}}|[[Image:{{{Image}}}{{!}}thumb]]}}
 
{{#set:News image={{#if:{{{Image|}}}|{{{Image}}}}}}}
{{#set:News info={{{Info}}}}}
{{#set:News title={{{Title}}}}}
 
<includeonly>[[Category:Nieuws|{{{Title}}}]]</includeonly>

Revision as of 21:06, 11 September 2016

This is the "Nieuws" template. It should be called in the following format:

 {{Nieuws
 |Title=Titel
 |Date=2012-12-22
 |Info=Korte beschrijving
 |Image=File:Afbeelding.jpg
 }}


{{{Info}}}