Difference between revisions of "Template:News"

From Dashboard samenwerking Wijchen
 
 
(18 intermediate revisions by the same user not shown)
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">
<div class="col-lg-8">
+
<div class="col-md-8">
 
{{{Description|}}}
 
{{{Description|}}}
 
</div>
 
</div>
<div class="col-lg-4">
+
<div class="col-md-4">
<div class="panel panel-info">
+
 
<div class="panel-body">
+
<!--
{| class="table"
+
--><ul class="list-group">
{{#if:{{{Samenwerkingsverband|}}} |<br>
+
  <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>
! {{Fa|users fa-fw}} Samenwerkingsverband:
+
</ul>
{{!}} {{Getdisplaytitle |1={{{Samenwerkingsverband|}}} |Link=yes}} }}
+
<br>
|-
+
<div class="list-group"><!--
! {{Fa|calendar fa-fw}} Datum
+
-->{{#if:{{{Samenwerkingsverband|}}} |{{#widget:Button  
| {{#time:d xg Y|{{{News date|}}}|nl}}
+
|target=_self
|-
+
|class=list-group-item list-group-item-action list-group-item-success text-center full-width
! {{Fa|user fa-fw}} Auteur
+
|href={{fullurl:{{{Samenwerkingsverband|}}}}}
| {{{Author|}}}
+
|title=Naar het samenwerkingsverband
|}
+
|buttontext={{Fa|users fa-fw}} {{Getdisplaytitle |1={{{Samenwerkingsverband|}}}}} {{Fa|chevron-right}}
</div>
+
}}}}<!--
</div>
+
-->{{#widget: Button  
{{#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=Terug naar overzicht |buttontext={{Fa|newspaper-o}} Terug naar overzicht}}</center>}}
+
|target=_self  
 +
|class=list-group-item list-group-item-action list-group-item-danger text-center full-width
 +
|href=/Nieuwsberichten  
 +
|title=Naar het nieuwsoverzicht
 +
|buttontext={{Fa|newspaper-o fa-fw}} Naar het nieuwsoverzicht {{Fa|chevron-right}}
 +
}}</div>
 +
 
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 08:53, 31 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.