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