k (Tekst vervangen - "BB More like this" door "BB Semantic search")
Geen bewerkingssamenvatting
 
(33 tussenliggende versies door 3 gebruikers niet weergegeven)
Regel 2: Regel 2:
[[Category:BB]]
[[Category:BB]]
[[Category:EMont core]]
[[Category:EMont core]]
This is the "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
|format=Card cover
|...
|limit=3
|formatter=FMT Card cover
|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|{{#show:{{#var:page}}|?Summary}}}}
{{#vardefine:link|{{#replace:{{#replace:{{#var:page}}|File:|Media:}}|Bestand:|Media:}}}}
{{#vardefine: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}}|<div class="medialabels"><p class="medialabel">{{#var:label}}</p></div>}}
<p class="subheader">{{#ifeq:{{#var:show}}|true|{{#var:date}}| }}</p>
<p class="card__subtitle">{{#ifeq:{{#var:show}}|true|{{#var:date}}| }}</p>
<h3 class="header">{{#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
|...
}}