Sjabloon:Bericht: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 1: | Regel 1: | ||
− | + | <div class="main-wrapper">{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}__NOTOC__ __NOTITLE__<!-- | |
− | --><div class=" | + | --><div class="bericht-grid {{{Type|}}}"><!-- |
− | + | --><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 class="grid-datum"><!-- | |
− | -- | + | --><b>{{{Datum|}}}</b><!-- |
− | --><div class=" | + | --></div><!-- |
− | + | --><div class="grid-bericht"><!-- | |
− | -->< | + | -->{{{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><!-- | ||
− | + | --></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>{{#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=, | ||
− | }}<!-- | + | }}<!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Versie van 5 nov 2020 14:32
Aanvullende informatie: