Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
 
(17 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 3: Regel 3:
[[Category:EMont core]]
[[Category:EMont core]]
This is the "FMT Card cover" template.
This is the "FMT Card cover" template.
It should be called in the following format:
It should be called in one of the following formats:
<pre>
<pre>
{{BB Semantic search
{{BB Semantic search
|...
|formatter=FMT Card cover
|formatter=FMT Card cover
|limit=3
|...
|show date=true
}}
{{BB Query
|...
|formatter=FMT Card cover
|...
}}
}}
</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:date|{{#show:{{#var:page}}|?Start date#-F[d/m/Y]}}}}
{{#vardefine:date|{{#show:{{#var:page}}|?Start 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:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary}}|max=100}}}}
{{#vardefine:link|{{#replace:{{#replace:{{#var:page}}|File:|Media:}}|Bestand:|Media:}}}}
{{#vardefine:label|{{{label|}}}}}
{{#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}}]]
[[{{#var:page}}|{{#var:title}}]]
<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}}]]</div>
<div class="card__body">
<div class="card__body">
{{#if:{{#var:label}}|<p class="card__label">{{#var:label}}</p>}}
{{#if:{{#var:label}}|<div class="medialabels"><p class="medialabel">{{#var:label}}</p></div>}}
<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|{{#replace:{{#replace:{{#replace:{{#var:page}}|File:|}}|Bestand:|}}|_|<nowiki/> <nowiki/>}}}}</h3>
<p>{{#var:summary}}</p>
</div>
</div>
</div>
</div>
</div>
</div>
</includeonly>
</includeonly>

Huidige versie van 21 feb 2024 om 15:47

This is the "FMT Card cover" template. It should be called in one of the following formats:

{{BB Semantic search
|...
|formatter=FMT Card cover
|...
}}
{{BB Query
|...
|formatter=FMT Card cover
|...
}}