Sjabloon:Bericht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
 
(3 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
{{#ifeq:{{#urlget:mode}}|edit|<!--
+
<noinclude>{{Managed
-->{{Bericht form
+
|Version=1.0
|Domein={{{Domein|}}}
+
|Version notes=1.0 - First managed version
|Datum={{{Datum|}}}
+
|Short description=
|Bericht={{{Bericht|}}}
+
}}
|Titel={{{Titel|}}}
+
 
|Samenvatting={{{Samenvatting|}}}
+
This is the "Bericht" template. It should be called in the following format:
|Auteur={{{Auteur|}}}
 
|Image={{{Image|}}}
 
|tags={{{tags|}}}
 
|Layout={{{Layout|}}}
 
|Show date={{{Show date|}}}
 
}}<!--
 
-->|<!--
 
--><div class="main-wrapper"><!--{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}-->__NOTOC__ __NOTITLE__<!--
 
--><div class="d-flex justify-content-end align-items-center"><!--
 
-->{{#if: adsf | {{#widget:link|type=a|class=btn float-right|text={{fa|edit}}|href={{fullurl:Bewerk bericht|page={{FULLPAGENAME}}}} }} }}<!--
 
--></div><!--  
 
--><div class="bericht-grid {{{Layout|}}}"><!--
 
--><div class="grid-tags"><!--
 
    --><h1 class="mt-0 pt-0 mr-4 pr-4">{{uc:{{{tags|}}} }}</h1><!--
 
--></div><!--
 
--><div class="grid-datum"><!--
 
  -->{{#ifeq:{{{Show date|}}}|false||<b>{{{Datum|}}}</b>}}<!--
 
--></div><!--
 
--><div class="grid-titel"><!--
 
  --><h2>{{{Titel|}}}</h2><!--
 
--></div><!--
 
--><div class="grid-bericht">
 
  
{{{Bericht|}}}<!--
+
<pre>
--></div><!--
+
{{Bericht
--><!--
+
|Domein=
--><div class="grid-img mt-5"><!--
+
|Datum=
  --><div class="image-wrapper">{{#vardefine:@img|{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|sort=Modification date|limit=1|link=none|order=desc|format=array}} }}{{#if:{{#var:@img}}|[[{{#var:@img}}|link={{#ifeq:{{#show:{{#var:@img}}|?type}}|pdf|{{filepath:{{#replace:{{#var:@img}}|Bestand:|}} }} }}]]}}</div><!--
+
|Show date=
--></div><!--
+
|Bericht=
--></div><!--
+
|Titel=
--></div>{{#set:Class=Bericht
+
|Samenvatting=
 +
|Auteur=
 +
|Layout=
 +
|Image=
 +
|tags=
 +
}}
 +
</pre>
 +
</noinclude><includeonly>{{#set:Class=Bericht
 
|Domein={{{Domein|}}}
 
|Domein={{{Domein|}}}
 
|Datum={{{Datum|}}}
 
|Datum={{{Datum|}}}
Regel 44: Regel 29:
 
|Samenvatting={{{Samenvatting|}}}
 
|Samenvatting={{{Samenvatting|}}}
 
|Persoon={{{Auteur|}}}
 
|Persoon={{{Auteur|}}}
 +
|Layout={{{Layout|}}}
 
|Image={{{Image|}}}
 
|Image={{{Image|}}}
|Tags={{{tags|}}}|sep=,
+
|Tags={{{tags|}}}|+sep=,
 
}}{{DISPLAYTITLE:{{{Titel|}}} }}
 
}}{{DISPLAYTITLE:{{{Titel|}}} }}
}}<!--
+
__NOTITLE__
 +
</includeonly>

Huidige versie van 9 sep 2021 om 14:15

Sjabloon:Managed

This is the "Bericht" template. It should be called in the following format:

{{Bericht
|Domein=
|Datum=
|Show date=
|Bericht=
|Titel=
|Samenvatting=
|Auteur=
|Layout=
|Image=
|tags=
}}