Sjabloon:Nieuws: verschil tussen versies

Uit Hackerspace Bitlair

Geen bewerkingssamenvatting
kGeen bewerkingssamenvatting
Β 
(Een tussenliggende versie door dezelfde gebruiker niet weergegeven)
Regel 2: Regel 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>

Huidige versie van 11 sep 2016 21:13

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}}}