Difference between revisions of "Template:News"

From Dashboard samenwerking Wijchen
Line 42: Line 42:
 
   <li class="list-group-item list-group-item-success">{{Fa|calendar fa-fw}} Datum: {{#time:d xg Y|{{{News date|}}}|nl}}</li>
 
   <li class="list-group-item list-group-item-success">{{Fa|calendar fa-fw}} Datum: {{#time:d xg Y|{{{News date|}}}|nl}}</li>
 
   <li class="list-group-item list-group-item-info">{{Fa|user fa-fw}} Auteur: {{{Author|}}}</li>
 
   <li class="list-group-item list-group-item-info">{{Fa|user fa-fw}} Auteur: {{{Author|}}}</li>
 +
</ul>
 
{{#if:{{{Samenwerkingsverband|}}}  
 
{{#if:{{{Samenwerkingsverband|}}}  
|<li class="list-group-item">{{#widget:Button  
+
|{{#widget:Button  
 
|target=_self  
 
|target=_self  
 
|class=btn btn-primary full-width  
 
|class=btn btn-primary full-width  
Line 49: Line 50:
 
|title=Naar het samenwerkingsverband
 
|title=Naar het samenwerkingsverband
 
|buttontext={{Fa|users fa-fw}} {{Getdisplaytitle |1={{{Samenwerkingsverband|}}}}} {{Fa|chevron-right}}
 
|buttontext={{Fa|users fa-fw}} {{Getdisplaytitle |1={{{Samenwerkingsverband|}}}}} {{Fa|chevron-right}}
}}</li>
 
 
}}
 
}}
<li class="list-group-item">{{#widget: Button  
+
}}
 +
{{#widget: Button  
 
|target=_self  
 
|target=_self  
 
|class=btn btn-success full-width  
 
|class=btn btn-success full-width  
Line 57: Line 58:
 
|title=Naar het nieuwsoverzicht  
 
|title=Naar het nieuwsoverzicht  
 
|buttontext={{Fa|newspaper-o fa-fw}} Naar het nieuwsoverzicht {{Fa|chevron-right}}  
 
|buttontext={{Fa|newspaper-o fa-fw}} Naar het nieuwsoverzicht {{Fa|chevron-right}}  
}}</li>
+
}}
</ul>
+
 
  
 
</div>
 
</div>

Revision as of 15:04, 28 July 2017

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

{{News
|News date=
|Author=
|Samenwerkingsverband=
|Title=
|Description=
}}

Edit the page to see the template text.