Difference between revisions of "Template:News"

From Dashboard samenwerking Wijchen
Line 33: Line 33:
 
<div class="container-fluid">
 
<div class="container-fluid">
 
<div class="row">
 
<div class="row">
<div class="col-lg-8">
+
<div class="col-md-8">
 
{{{Description|}}}
 
{{{Description|}}}
 
</div>
 
</div>
<div class="col-lg-4">
+
<div class="col-md-4">
<div class="panel panel-info">
+
 
<div class="panel-body"><!--
+
<!--
 
--><ul class="list-group">
 
--><ul class="list-group">
 
   <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>
 
</ul>
 
+
<br>
 
<div class="list-group"><!--
 
<div class="list-group"><!--
 
-->{{#if:{{{Samenwerkingsverband|}}} |{{#widget:Button  
 
-->{{#if:{{{Samenwerkingsverband|}}} |{{#widget:Button  
 
|target=_self  
 
|target=_self  
|class=list-group-item list-group-item-action list-group-item-success full-width
+
|class=list-group-item list-group-item-action list-group-item-success text-center full-width
 
|href={{fullurl:{{{Samenwerkingsverband|}}}}}
 
|href={{fullurl:{{{Samenwerkingsverband|}}}}}
 
|title=Naar het samenwerkingsverband
 
|title=Naar het samenwerkingsverband
Line 54: Line 54:
 
-->{{#widget: Button  
 
-->{{#widget: Button  
 
|target=_self  
 
|target=_self  
|class=list-group-item list-group-item-action list-group-item-danger full-width
+
|class=list-group-item list-group-item-action list-group-item-danger text-center full-width
 
|href=/Nieuwsberichten  
 
|href=/Nieuwsberichten  
 
|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}}  
 
}}</div>
 
}}</div>
 
</div>
 
</div>
 
  
 
</div>
 
</div>

Revision as of 15:15, 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.