Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
Regel 8: | Regel 8: | ||
|formatter=FMT Card | |formatter=FMT Card | ||
|limit=3 | |limit=3 | ||
|label=theme | |||
|show button=true | |show button=true | ||
|show date=true | |show date=true | ||
Regel 19: | Regel 20: | ||
{{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}} | {{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}} | ||
{{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary}}|max=100}}}} | {{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary}}|max=100}}}} | ||
{{#vardefine:label|{{{label|}}}}} | |||
{{#vardefine:button|{{{show button|true}}}}} | {{#vardefine:button|{{{show button|true}}}}} | ||
{{#vardefine:show|{{{show date|true}}}}} | {{#vardefine:show|{{{show date|true}}}}} | ||
Regel 25: | Regel 27: | ||
<div class="card__image">[[File:{{#var:img|image-landscape.png}}|frameless|500px|link={{#var:page}}|{{#var:title}}|]]</div> | <div class="card__image">[[File:{{#var:img|image-landscape.png}}|frameless|500px|link={{#var:page}}|{{#var:title}}|]]</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}}</h3> | <h3 class="card__title">{{#var:title}}</h3> |
Versie van 15 okt 2023 17:08
This is the "FMT Card" template. It should be called in one of the following formats:
{{BB Semantic search |formatter=FMT Card |limit=3 |label=theme |show button=true |show date=true }}