Difference between revisions of "Template:News"

From Dashboard samenwerking Wijchen
Line 27: Line 27:
 
{{{Description|}}} }}
 
{{{Description|}}} }}
 
}}
 
}}
 +
{{#ifingroup:user|
 +
{#widget:Button |class=btn btn-default|buttontext={{Fa|pencil fa-fw}} Bewerken |href={{fullurl:Special:FormEdit/News/{{FULLPAGENAME}}}}
 +
}}
 +
 
<div class="container-fluid">
 
<div class="container-fluid">
 
<div class="row">
 
<div class="row">
Line 34: Line 38:
 
<div class="col-lg-4">
 
<div class="col-lg-4">
 
<div class="panel panel-info">
 
<div class="panel panel-info">
<div class="panel-body">
+
<div class="panel-body"><!--
 
+
--><ul class="list-group">
 
 
<ul class="list-group">
 
 
   <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>
 
{{#if:{{{Samenwerkingsverband|}}}  
 
{{#if:{{{Samenwerkingsverband|}}}  
|{{#widget:Link |type=a |href={{fullurl:{{{Samenwerkingsverband|}}} }} |text={{Fa|users fa-fw}} {{Getdisplaytitle |1={{{Samenwerkingsverband|}}} }} |class=list-group-item list-group-item-action }}
+
|{{#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">Posdfsdfur ac</li>
+
   <li class="list-group-item">{{#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">dsdfdsfs</li>
 
   <li class="list-group-item">dsdfdsfs</li>
 
</ul>
 
</ul>
 
 
 
  
 
</div>
 
</div>
 
</div>
 
</div>
{{#ifingroup:user|<center>{{#widget:Button |class=btn btn-default|buttontext={{Fa|pencil}} Bewerken |href={{fullurl:Special:FormEdit/News/{{FULLPAGENAME}}}} }} {{#widget: Button |target=_self |class=btn btn-primary |href=/Nieuwsberichten |title=Naar het nieuwsoverzicht |buttontext={{Fa|newspaper-o}} Naar het nieuwsoverzicht}}</center>}}
+
 
 
</div>
 
</div>
 
</div>
 
</div>

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