Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
Regel 12: | Regel 12: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>{{#vardefine:page|{{{pagename|{{{?pagename|}}}}}}}} | </noinclude><includeonly> | ||
{{#vardefine:page|{{{pagename|{{{?pagename|}}}}}}}} | |||
{{#vardefine:img|{{#show:{{#var:page}}|?Imagename}}}} | {{#vardefine:img|{{#show:{{#var:page}}|?Imagename}}}} | ||
{{#vardefine:label|{{{label|}}}}} | {{#vardefine:label|{{{label|}}}}} | ||
Regel 18: | Regel 19: | ||
{{#vardefine:date|{{#if:{{#var:date}}|{{#var:date}}|{{#show:{{#var:page}}|?Dct:date#-F[d/m/Y]}}}}}} | {{#vardefine:date|{{#if:{{#var:date}}|{{#var:date}}|{{#show:{{#var:page}}|?Dct:date#-F[d/m/Y]}}}}}} | ||
{{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}} | {{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}} | ||
{{#vardefine:link|{{#replace:{{#replace:{{#var:page}}|File:|Media:}}|Bestand:|Media:}}}} | |||
{{#vardefine:show|{{{show date|true}}}}} | {{#vardefine:show|{{{show date|true}}}}} | ||
<div class="col col-12 col-m-6 col-l-4"> | <div class="col col-12 col-m-6 col-l-4"> | ||
<div class="card card--cover"> | <div class="card card--cover">[[{{#var:link}}]] | ||
[[ | |||
<div class="card__image">[[File:{{#var:img|image-landscape.png}}|frameless|500px|link=none]]</div> | <div class="card__image">[[File:{{#var:img|image-landscape.png}}|frameless|500px|link=none]]</div> | ||
<div class="card__body"> | <div class="card__body"> |
Versie van 11 nov 2023 18:27
This is the "FMT Card cover" template. It should be called in the following format:
{{BB Semantic search |formatter=FMT Card cover |limit=3 |show date=true |label=theme }}