Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
(3 tussenliggende versies door 3 gebruikers niet weergegeven) | |||
Regel 30: | 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}}}}<!-- | ||
-->{{#if:{{#var:summary}}||{{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary}}|max=200}}}}}}<!-- | |||
-->{{#vardefine:label|{{{label|}}}}}<!-- | -->{{#vardefine:label|{{{label|}}}}}<!-- | ||
-->{{#vardefine:document type|{{#show:{{#var:page}}|?Document type}}}}<!-- | -->{{#vardefine:document type|{{#show:{{#var:page}}|?Document type}}}}<!-- | ||
-->{{#vardefine:theme|{{#show:{{#var:page}}|?Theme}}}}<!-- | -->{{#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:link|{{#replace:{{#replace:{{#var:page}}|File:|Media:}}|Bestand:|Media:}}}}<!-- | ||
--><div class="media 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}}| ]]<!-- | -->[[{{#var:link}}| ]]<!-- | ||
--><div class="media__image mb-s"><!-- | --><div class="media__image mb-s"><!-- | ||
Regel 43: | Regel 53: | ||
-->{{#if:{{#var:label}}|<div class="medialabels"><p class="medialabel">{{#var:label}}</p></div>|<div class="medialabels"> | -->{{#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:document type}}|<p class="medialabel medialabel--{{#var:document type}}">{{#var:document type}}</p>}} | ||
{{#if:{{#var:theme}}|<p class="medialabel medialabel--{{#var:theme}}">{{#var:theme}}</p>}} | {{#if:{{#var:theme}}|<p class="medialabel medialabel--{{lc:{{#var:theme}}}}">{{lc:{{#var:theme}}}}</p>}} | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
--><div class="media__subtitle mb-xxs tt-u fw-b mb-0">{{#var:date|}}</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="media__text">{{#var:summary|}}</div><!-- | --><div class="media__text"><p>{{#var:summary|}}<p></div><!-- | ||
--><div class="mw-btn"><span>{{int:EMM Text Read more}}</span></div><!-- | --><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:58
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.