Difference between revisions of "Template:News"
From Dashboard samenwerking Wijchen
Line 40: | Line 40: | ||
<div class="panel-body"><!-- | <div class="panel-body"><!-- | ||
--><ul class="list-group"> | --><ul class="list-group"> | ||
− | <li class="list-group-item list-group-item- | + | <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> | ||
{{#if:{{{Samenwerkingsverband|}}} | {{#if:{{{Samenwerkingsverband|}}} | ||
− | |<li class="list-group-item">{{#widget: | + | |<li class="list-group-item">{{#widget:Button |
− | | | + | |target=_self |
− | |class= | + | |class=btn btn-default full-width |
− | |href={{fullurl:{{{Samenwerkingsverband|}}}}} | + | |href={{fullurl:{{{Samenwerkingsverband|}}}}} |
− | | | + | |title=Naar het samenwerkingsverband |
+ | |buttontext={{Fa|users fa-fw}} {{Getdisplaytitle |1={{{Samenwerkingsverband|}}}}} {{Fa|chevron-right}} | ||
}}</li> | }}</li> | ||
}} | }} | ||
Line 53: | Line 54: | ||
|target=_self | |target=_self | ||
|class=btn btn-primary full-width | |class=btn btn-primary full-width | ||
− | |href=/Nieuwsberichten |title=Naar het nieuwsoverzicht | + | |href=/Nieuwsberichten |
− | |buttontext={{Fa|newspaper-o}} Naar het nieuwsoverzicht {{Fa|chevron-right}} }} | + | |title=Naar het nieuwsoverzicht |
− | + | |buttontext={{Fa|newspaper-o}} Naar het nieuwsoverzicht {{Fa|chevron-right}} | |
+ | }}</li> | ||
</ul> | </ul> | ||
Revision as of 14:57, 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.