Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
(13 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 11: | Regel 11: | ||
|order= | |order= | ||
|sort= | |sort= | ||
|label= | |||
}} | }} | ||
</pre> | </pre> | ||
Regel 16: | Regel 17: | ||
</noinclude> | </noinclude> | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#vardefine:label|{{{label|}}}}}<!-- | |||
-->{{#vardefine:page|{{{pagename|{{{?pagename|}}}}}}}}<!-- | -->{{#vardefine:page|{{{pagename|{{{?pagename|}}}}}}}}<!-- | ||
-->{{#vardefine:img|{{#show:{{#var:page}}|?Imagename}}}}<!-- | -->{{#vardefine:img|{{#show:{{#var:page}}|?Imagename}}}}<!-- | ||
-->{{#vardefine:document type|{{#show:{{#var:page}}|?Document type}}}}<!-- | |||
-->{{#vardefine:theme|{{#show:{{#var:page}}|?Theme}}}}<!-- | |||
-->{{#vardefine:date|{{#show:{{#var:page}}|?Start date#-F[d/m/Y]}}}}<!-- | -->{{#vardefine:date|{{#show:{{#var:page}}|?Start date#-F[d/m/Y]}}}}<!-- | ||
-->{{#vardefine: | -->{{#vardefine:featured|{{#show:{{#var:page}}|?Featured}}}}<!-- | ||
-->{{#ifeq:{{#var: | -->{{#ifeq:{{#var:featured}}|waar| | ||
{{#vardefine: | {{#vardefine:featured title|{{#show:{{#var:page}}|?Featured title}}}} | ||
{{#vardefine: | {{#vardefine:featured summary|{{#show:{{#var:page}}|?Featured summary}}}} | ||
| | |}}<!-- | ||
-->{{#vardefine:title|{{#var:featured title|{{#show:{{#var:page}}|?Heading}}}}}}<!-- | |||
-->{{#vardefine:summary|{{#var:featured summary|{{#show:{{#var:page}}|?Summary}}}}}}<!-- | |||
}}<!-- | |||
-->{{#vardefine:title|{{#var: | |||
-->{{#vardefine:summary|{{#var: | |||
--><div class="col col-m-6"><!-- | --><div class="col col-m-6"><!-- | ||
--><div class="media"><!-- | --><div class="media media--boxed"><!-- | ||
--><div class="media__image">[[File:{{#var:img|image-square.png}}|link= | -->[[{{#var:page}}| ]]<!-- | ||
--><div class="media__image">[[File:{{#var:img|image-square.png}}|link=|{{#var:title|}}|frameless|500px]]</div><!-- | |||
--><div class="media__body"><!-- | --><div class="media__body"><!-- | ||
-->{{#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--{{#var:theme}}">{{#var:theme}}</p>}} | |||
</div> | |||
}}<!-- | |||
--><p class="media__subtitle">{{#var:date|}}</p><!-- | --><p class="media__subtitle">{{#var:date|}}</p><!-- | ||
--><h3 class="media__title">{{#var:title|}}</h3><!-- | --><h3 class="media__title">{{#var:title|}}</h3><!-- | ||
--><div class="media__text">{{Text max length|text={{#var:summary|}}|max=175}}</div><!-- | --><div class="media__text line-clamp-2">{{Text max length|text={{#var:summary|}}|max=175}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></includeonly> | --></includeonly> |
Huidige versie van 19 jun 2024 om 15:48
This is the "FMT Featured" template. It should be called in the following format:
{{BB Query |formatter=FMT Featured |named args=true |limit= |order= |sort= |label= }}
Edit the page to see the template text.