Difference between revisions of "Template:News"

From Dashboard samenwerking Wijchen
Line 45: Line 45:
  
 
<div class="list-group"><!--
 
<div class="list-group"><!--
-->{{#if:{{{Samenwerkingsverband|}}}  
+
-->{{#if:{{{Samenwerkingsverband|}}} |{{#widget:Button  
|{{#widget:Button  
 
 
|target=_self  
 
|target=_self  
|class=list-group-item list-group-item-action text-center full-width
+
|class=list-group-item list-group-item-action list-group-item-success full-width
 
|href={{fullurl:{{{Samenwerkingsverband|}}}}}
 
|href={{fullurl:{{{Samenwerkingsverband|}}}}}
 
|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}}
 
}}}}<!--
 
}}}}<!--
-->
+
-->{{#widget: Button  
{{#widget: Button  
 
 
|target=_self  
 
|target=_self  
|class=list-group-item list-group-item-action text-center full-width
+
|class=list-group-item list-group-item-action list-group-item-danger 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>

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