k (Tekst vervangen - "|frameless|thumb" door "|frameless|500px") |
Geen bewerkingssamenvatting |
||
(36 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 20: | Regel 20: | ||
|show button= | |show button= | ||
|link create text= | |link create text= | ||
|label= | |||
}} | }} | ||
</pre> | </pre> | ||
Regel 29: | Regel 30: | ||
-->{{#vardefine:date|{{#show:{{#var:page}}|?Start date#-F[d/m/Y]}}}}<!-- | -->{{#vardefine:date|{{#show:{{#var:page}}|?Start date#-F[d/m/Y]}}}}<!-- | ||
-->{{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}}<!-- | -->{{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}}<!-- | ||
-->{{#vardefine:summary|{{#show:{{#var:page}}|?Summary}}}}<!-- | -->{{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary{{#if:{{#emmlang:|}}|_{{#emmlang:}}|}}}}|max=200}}}}<!-- | ||
--><div class="media media- | -->{{#if:{{#var:summary}}||{{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary}}|max=200}}}}}}<!-- | ||
--><div class="media__image | |||
-- | -->{{#vardefine:label|{{{label|}}}}}<!-- | ||
-->{{#vardefine:document type|{{#show:{{#var:page}}|?Document type}}}}<!-- | |||
-->{{#vardefine:theme|{{#show:{{#var:page}}|?Theme}}}}<!-- | |||
-->{{#if:{{#var:theme}}||{{#vardefine:theme|{{#show:{{#var:page}}|?FACET Theme}}}}}}<!-- | |||
-->{{#vardefine:link|{{#replace:{{#replace:{{#var:page}}|File:|Media:}}|Bestand:|Media:}}}}<!-- | |||
-->{{#vardefine:project|{{#show:{{#var:page}}|?Project|link=none}}}} | |||
{{#ifeq:{{{projectcode|}}}|kcoi| | |||
{{#if:{{#var:project}}| | |||
{{#vardefine:link|{{#var:project}}}}| | |||
{{#vardefine:link|{{#show:{{#var:page}}|?Self|link=none}}}} | |||
}} | |||
}} | |||
<div class="media media--boxed stack-m mb-l"><!-- | |||
-->[[{{#var:link}}| ]]<!-- | |||
--><div class="media__image mb-s"><!-- | |||
-->[[File:{{#var:img|Image-landscape.png}}|link=|frameless|500px]]<!-- | |||
--></div><!-- | --></div><!-- | ||
--><div class="media__body"><!-- | --><div class="media__body"><!-- | ||
--><div class="media__subtitle mb-xxs tt-u | -->{{#if:{{#var:label}}|<div class="medialabels"><p class="medialabel">{{#var:label}}</p></div>|<div class="medialabels"> | ||
{{#if:{{#var:document type}}|<p class="medialabel medialabel--{{#var:document type}}">{{#var:document type}}</p>}} | |||
{{#if:{{#var:theme}}|<p class="medialabel medialabel--{{lc:{{#var:theme}}}}">{{lc:{{#var:theme}}}}</p>}} | |||
</div> | |||
}}<!-- | |||
--><div class="media__subtitle mb-xxs tt-u fw-b mb-0">{{#var:date|}}</div><!-- | |||
--><h2 class="media__title">{{#var:title|}}</h2><!-- | --><h2 class="media__title">{{#var:title|}}</h2><!-- | ||
--><div class=" | --><div class="media__text"><p>{{#var:summary|}}<p></div><!-- | ||
--><div class="mw-btn"> | --><div class="mw-btn"><span>{{int:EMM Text Read more}}</span></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></includeonly> | --></includeonly> |
Huidige versie van 4 nov 2024 om 15:55
This is the "FMT Item" template. It should be called in the following format:
{{BB Query |show create button= |formatter=FMT Item |lead= |form= |concept= |limit= |sort= |order= |category= |event type= |container page= |show date= |show button= |link create text= |label= }}
Edit the page to see the template text.