Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
Regel 14: | Regel 14: | ||
</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: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}}}} | ||
Regel 23: | Regel 24: | ||
<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"> | ||
{{#if:{{#var:label}}|<p class="card__label">{{#var:label}}</p>}} | |||
<p class="card__subtitle">{{#ifeq:{{#var:show}}|true|{{#var:date}}| }}</p> | <p class="card__subtitle">{{#ifeq:{{#var:show}}|true|{{#var:date}}| }}</p> | ||
<h3 class="card__title">{{#var:title|{{#replace:{{#replace:{{#replace:{{#var:page}}|File:|}}|Bestand:|}}|_|<nowiki/> <nowiki/>}}}}</h3> | <h3 class="card__title">{{#var:title|{{#replace:{{#replace:{{#replace:{{#var:page}}|File:|}}|Bestand:|}}|_|<nowiki/> <nowiki/>}}}}</h3> |
Versie van 9 nov 2023 12:54
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 }}