Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 15: Regel 15:
<includeonly>
<includeonly>
{{#vardefine:page|{{{pagename|{{{?pagename|}}}}}}}}
{{#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 23: Regel 23:
<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">
<div class="card">
<div class="card-image">[[File:{{#var:img}}|link={{#var:page}}|{{#var:title}}|]]</div>
<div class="card-image">[[File:{{#var:img|image-landscape.png}}|link={{#var:page}}|{{#var:title}}|]]</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" template. It should be called in one of the following formats:

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