Difference between revisions of "Template:News"

From Dashboard samenwerking Wijchen
Line 43: Line 43:
 
   <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>
 
{{#if:{{{Samenwerkingsverband|}}}  
 
{{#if:{{{Samenwerkingsverband|}}}  
|{{#widget:Link |type=a |href={{fullurl:{{{Samenwerkingsverband|}}}}} |class=list-group-item list-group-item-action |text={{Fa|users fa-fw}} {{Getdisplaytitle |1={{{Samenwerkingsverband|}}}}} {{Fa|chevron-right}} }}
+
|<li class="list-group-item">{{#widget:Link  
 +
|type=a  
 +
|class=list-group-item list-group-item-action
 +
|href={{fullurl:{{{Samenwerkingsverband|}}}}}  
 +
|text={{Fa|users fa-fw}} {{Getdisplaytitle |1={{{Samenwerkingsverband|}}}}} {{Fa|chevron-right}}
 +
}}</li>
 
}}
 
}}
  <li class="list-group-item list-group-item-danger">{{#widget: Button |target=_self |class=btn btn-primary |href=/Nieuwsberichten |title=Naar het nieuwsoverzicht {{Fa|chevron-right}} |buttontext={{Fa|newspaper-o}} Naar het nieuwsoverzicht}} </li>
+
<li class="list-group-item">{{#widget: Button  
 +
|target=_self  
 +
|class=btn btn-primary full-width
 +
|href=/Nieuwsberichten |title=Naar het nieuwsoverzicht  
 +
|buttontext={{Fa|newspaper-o}} Naar het nieuwsoverzicht {{Fa|chevron-right}} }} </li>
 
   <li class="list-group-item list-group-item-success">dsdfdsfs</li>
 
   <li class="list-group-item list-group-item-success">dsdfdsfs</li>
 
</ul>
 
</ul>

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