Sjabloon:Bericht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 1: Regel 1:
<div class="position-relative"><wsfield type="radio" id="info-tab" name="edit-tab" class="d-none"  checked="checked" /><div class="info-tab"><div class="main-wrapper">{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}__NOTOC__ __NOTITLE__<!--  
+
<div class="main-wrapper">{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}__NOTOC__ __NOTITLE__<!--  
--><div class="d-flex"><!--  
+
--><div class="bericht-grid {{{Type|}}}"><!--  
    --><div><!--  
+
--><div class="grid-tags"><!--  
--><h1 class="mt-0 pt-0 mr-4 pr-4">{{uc:{{{tags|}}} }}</h1><!--  
+
    --><h1 class="mt-0 pt-0 mr-4 pr-4">{{uc:{{{tags|}}} }}</h1><!--  
    --></div><!--  
+
--></div><!--
    --><div class="w-100"><!--  
+
--><div class="grid-datum"><!--  
--><div><b>{{{Datum|}}}</b></div> <!--  
+
  --><b>{{{Datum|}}}</b><!--
--><div class="d-flex w-100 justify-content-between"><h2>{{{Titel|}}}</h2><wslabel for="edit-tab">{{fa|edit btn}}</wslabel></div>
+
--></div><!--
{{{Bericht|}}}<!--  
+
--><div class="grid-bericht"><!--  
  --><br><br><div><b>Aanvullende informatie:</b></div><!--  
+
  -->{{{Bericht|}}}<!--
 +
--></div><!--
 +
  --><div class="grid-lijst"><!--
 +
  --><div><b>Aanvullende informatie:</b></div><!--  
 
  --><ul>{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|?Caption|?Type|link=none|format=complexarray|name=@images }}{{#camap:@images|@@@|{{#switch:@@@[Type][fulltext]|Pdf=<li class="red">{{#widget:link|type=a|text={{#if:@@@[Caption]|@@@[Caption]|@@@[catitle]}}|target=blank|href={{filepath:{{#replace:@@@[catitle]|Bestand:|}} }} |class=red}}</li>}} |}} </ul><!--  
 
  --><ul>{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|?Caption|?Type|link=none|format=complexarray|name=@images }}{{#camap:@images|@@@|{{#switch:@@@[Type][fulltext]|Pdf=<li class="red">{{#widget:link|type=a|text={{#if:@@@[Caption]|@@@[Caption]|@@@[catitle]}}|target=blank|href={{filepath:{{#replace:@@@[catitle]|Bestand:|}} }} |class=red}}</li>}} |}} </ul><!--  
  --><br><br><div><b>Tags:</b></div>{{{tags|}}}<!--  
+
--></div><!--
 +
--><div class="grid-img"><!--
 +
  --><div class="image-wrapper">{{#camap:@images|@@@|{{#vardefine:@imagetmplate|[[@@@[catitle]]]<small>@@@[Caption]</small>}}{{#switch:@@@[Type][fulltext]|Peg|Jpg|Svg|Png={{#var:@imagetmplate}} }}|}}</div><!--
 +
--></div><!--
 
--></div><!--  
 
--></div><!--  
--></div><!--
+
--></div>{{#set:Class=Bericht
--><div class="image-wrapper">{{#camap:@images|@@@|{{#vardefine:@imagetmplate|[[@@@[catitle]]]<small>@@@[Caption]</small>}}{{#switch:@@@[Type][fulltext]|Peg|Jpg|Svg|Png={{#var:@imagetmplate}} }}|}}</div><!--
 
--></div></div><!--
 
-->{{#set:Class=Bericht
 
 
|Domein={{{Domein|}}}
 
|Domein={{{Domein|}}}
 
|Datum={{{Datum|}}}
 
|Datum={{{Datum|}}}
Regel 24: Regel 27:
 
|Image={{{Image|}}}
 
|Image={{{Image|}}}
 
|Tags={{{tags|}}}|sep=,
 
|Tags={{{tags|}}}|sep=,
}}<!--  
+
}}<!--
--><!--
 
--><wsfield type="radio" id="edit-tab" name="edit-tab" class="d-none"  /><div class="edit-tab" ><!--
 
-->{{bericht form
 
|Domein={{{Domein|}}}
 
|Datum={{{Datum|}}}
 
|Bericht={{{Bericht|}}}
 
|Samenvatting={{{Samenvatting|}}}
 
|Titel={{{Titel|}}}
 
|Persoon={{{Auteur|}}}
 
|Image={{{Image|}}}
 
|Tags={{{tags|}}}
 
|Files=yes
 
  }}<wslabel for="info-tab">{{fa|arrow-left btn}}</wslabel></div></div>
 

Versie van 5 nov 2020 14:32

Aanvullende informatie: