Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 12: Regel 12:
</pre>
</pre>
</noinclude><includeonly>{{#vardefine:page|{{{pagename|{{{?pagename|}}}}}}}}
</noinclude><includeonly>{{#vardefine:page|{{{pagename|{{{?pagename|}}}}}}}}
{{#vardefine:img|{{#show:{{#var:page}}|?Imagename}}|image-landscape.png}}
{{#vardefine:img|{{#show:{{#var:page}}|?Imagename}}}}
{{#vardefine:date|{{#show:{{#var:page}}|?Start date#-F[d/m/Y]}}}}
{{#vardefine:date|{{#show:{{#var:page}}|?Start date#-F[d/m/Y]}}}}
{{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}}
{{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}}
Regel 20: Regel 20:
<div class="card card--cover">
<div class="card card--cover">
[[{{#var:page}}|{{#var:title}}]]
[[{{#var:page}}|{{#var:title}}]]
<div class="card-image">[[File:{{#var:img}}]]</div>
<div class="card-image">[[File:{{#var:img|image-landscape.png}}]]</div>
<div class="card-body">
<div class="card-body">
<p class="subheader">{{#ifeq:{{#var:show}}|true|{{#var:date}}| }}</p>
<p class="subheader">{{#ifeq:{{#var:show}}|true|{{#var:date}}| }}</p>

Versie van 18 jul 2023 16:37

This is the "Card cover" template. It should be called in the following format:

{{BB More like this
|format=Card cover
|limit=3
|date=true
}}