(Nieuwe pagina aangemaakt met '<noinclude> Category:BB Category:EMont core This is the "Card cover" template. Child of "Card cover" template. It should be called in the following format:...') |
Geen bewerkingssamenvatting |
||
(50 tussenliggende versies door 3 gebruikers niet weergegeven) | |||
Regel 2: | Regel 2: | ||
[[Category:BB]] | [[Category:BB]] | ||
[[Category:EMont core]] | [[Category:EMont core]] | ||
This is the " | This is the "FMT Card cover" template. | ||
It should be called in one of the following formats: | |||
It should be called in the following | |||
<pre> | <pre> | ||
{{ | {{BB Semantic search | ||
| | |... | ||
| | |formatter=FMT Card cover | ||
| | |... | ||
}} | |||
{{BB Query | |||
|... | |||
|formatter=FMT Card cover | |||
|... | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>{{#vardefine:page|{{{pagename| | </noinclude><includeonly> | ||
{{#vardefine:img|{{#show:{{#var:page}}|?Imagename| | {{#vardefine:page|{{{pagename|{{{?pagename|}}}}}}}} | ||
{{#vardefine:date|{{#show:{{#var:page}}|? | {{#vardefine:img|{{#show:{{#var:page}}|?Imagename}}}} | ||
{{#vardefine:label|{{{label|}}}}} | |||
{{#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: | {{#vardefine:link|{{#replace:{{#replace:{{#var:page}}|File:|Media:}}|Bestand:|Media:}}}} | ||
{{#vardefine:show|{{{show date|true}}}}} | |||
{{#vardefine:show|{{{ | <div class="col col-12 col-m-6 col-l-4"> | ||
<div class="card card--cover"> | <div class="card card--cover">[[{{#var:link}}]] | ||
[[{{#var: | <div class="card__image">[[File:{{#var:img|image-landscape.png}}|frameless|500px|link=none]]</div> | ||
<div class=" | <div class="card__body"> | ||
<div class=" | {{#if:{{#var:label}}|<div class="medialabels"><p class="medialabel">{{#var:label}}</p></div>}} | ||
<p class=" | <p class="card__subtitle">{{#ifeq:{{#var:show}}|true|{{#var:date}}| }}</p> | ||
<h3 class=" | <h3 class="card__title">{{#var:title|{{#replace:{{#replace:{{#replace:{{#var:page}}|File:|}}|Bestand:|}}|_|<nowiki/> <nowiki/>}}}}</h3> | ||
< | |||
</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 |... }}