Difference between revisions of "Template:News"

From Dashboard samenwerking Wijchen
Line 40: Line 40:
 
   <li class="list-group-item">{{Fa|calendar fa-fw}} Datum: {{#time:d xg Y|{{{News date|}}}|nl}}</li>
 
   <li class="list-group-item">{{Fa|calendar fa-fw}} Datum: {{#time:d xg Y|{{{News date|}}}|nl}}</li>
 
   <li class="list-group-item">{{Fa|user fa-fw}} Auteur: {{{Author|}}}</li>
 
   <li class="list-group-item">{{Fa|user fa-fw}} Auteur: {{{Author|}}}</li>
  <li class="list-group-item">{{#if:{{{Samenwerkingsverband|}}} |{{Fa|users fa-fw}} [[{{{Samenwerkingsverband|}}}|Naar het samenwerkingsverband: {{Getdisplaytitle |1={{{Samenwerkingsverband|}}} }} ]]
+
{{#if:{{{Samenwerkingsverband|}}}  
}}</li>
+
|{{#widget:Link |type=a |href={{fullurl:{{{Samenwerkingsverband|}}}}} |text={{Fa|users fa-fw}} {{Getdisplaytitle |1={{{Samenwerkingsverband|}}} }} |class=list-group-item list-group-item-action |text=}}
 +
}}
 
   <li class="list-group-item">Posdfsdfur ac</li>
 
   <li class="list-group-item">Posdfsdfur ac</li>
 
   <li class="list-group-item">dsdfdsfs</li>
 
   <li class="list-group-item">dsdfdsfs</li>
 
</ul>
 
</ul>
 +
 +
 +
  
 
</div>
 
</div>

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