Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 5: Regel 5:
It should be called in one of the following formats:
It should be called in one of the following formats:
<pre>
<pre>
{{Formatter
{{BB More like this
|title=
|title=
|pagenames=
|format=Card
|template=Card
|button=
|readmore=
|show=
|showdate=
}}
}}
</pre>
</pre>
Regel 20: Regel 19:
{{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}}
{{#vardefine:title|{{#show:{{#var:page}}|?Heading}}}}
{{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary}}|max=175}}}}
{{#vardefine:summary|{{Text max length|text={{#show:{{#var:page}}|?Summary}}|max=175}}}}
{{#vardefine:more|{{{readmore|true}}}}}
{{#vardefine:button|{{{button|true}}}}}
{{#vardefine:show|{{{showdate|true}}}}}
{{#vardefine: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">
<div class="card">
Regel 29: Regel 28:
<h3 class="header">{{#var:title}}</h3>
<h3 class="header">{{#var:title}}</h3>
<p>{{#var:summary}}</p>
<p>{{#var:summary}}</p>
{{#ifeq:{{#var:more|}}|true|
{{#ifeq:{{#var:button|}}|true|
<div class="mw-btn mw-btn-l mw-btn-primary d-ib">[[{{#var:page}}|{{int:EMM Text Read more}} »]]</div>
<div class="mw-btn mw-btn-l mw-btn-primary d-ib">[[{{#var:page}}|{{int:EMM Text Read more}} »]]</div>
|}}
|}}

Versie van 18 jul 2023 15:23

This is the "Card" template. It should be called in one of the following formats:

{{BB More like this
|title=
|format=Card
|button=
|show=
}}