Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
Regel 1: | Regel 1: | ||
<noinclude> | |||
[[Category:BB]] | |||
[[Category:EMont core]] | |||
This is the "Card" template. | |||
Child of "Card". | |||
It should be called in one of the following formats: | |||
<pre> | |||
{{Card header}} | |||
{{Card | |||
|pagenames=array, | |||
{{Card footer}} | |||
}} | |||
</pre> | |||
</noinclude> | |||
<includeonly> | |||
{{#vardefine:page|{{{pagename|KCKT_Project_PR_00021}}}}} | {{#vardefine:page|{{{pagename|KCKT_Project_PR_00021}}}}} | ||
{{#vardefine:img|{{#show:{{#var:page}}|?Imagename}}}} | {{#vardefine:img|{{#show:{{#var:page}}|?Imagename}}}} | ||
Regel 5: | Regel 20: | ||
{{#vardefine:summary|{{#show:{{#var:page}}|?Summary}}}} | {{#vardefine:summary|{{#show:{{#var:page}}|?Summary}}}} | ||
{{#vardefine:more|{{{readmore|true}}}}} | {{#vardefine:more|{{{readmore|true}}}}} | ||
{{#vardefine:show|{{{showdate|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"> | <div class="card"> | ||
<div class="card-image">[[File:{{#var:img}}|link={{#var:page}}|{{#var:title}}|]]</div> | <div class="card-image">[[File:{{#var:img}}|link={{#var:page}}|{{#var:title}}|]]</div> | ||
<div class="card-body"> | <div class="card-body"> | ||
<p class="subheader">{{#var:date}}</p> | <p class="subheader">{{#ifeq:{{#var:show|}}|true|{{#var:date}}|}}</p> | ||
<h2 class="header">{{#var:title}}</h2> | <h2 class="header">{{#var:title}}</h2> | ||
<p>{{#var:summary}}</p> | <p>{{#var:summary}}</p> | ||
Regel 18: | Regel 34: | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> |
Versie van 17 jul 2023 08:26
This is the "Card" template. Child of "Card". It should be called in one of the following formats:
{{Card header}} {{Card |pagenames=array, {{Card footer}} }}