k (1 versie geïmporteerd)
 
k (1 versie geïmporteerd: Zie Jira-task KP-222.)
 
(6 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 5: Regel 5:
<pre>
<pre>
{{BB Hero
{{BB Hero
|Heading=
|heading=
|Summary={{#show: {{PAGENAME}}|?Summary }}
|lead text=
|Lead text=
|summary=
|Imagename=
|imagename=
|Button text=
|button text=
|Button link=
|button link=
|Contact button text=
|contact button text=
|Contact button link=
|contact button link=
}}
}}
</pre>
</pre>
</noinclude><includeonly><!--
</noinclude><includeonly><!--
--><div class="section Hero bg-primary pt-xxl pb-xxl">
--><div class="section o-v hero hero--fullwidth  bg-primary pt-xxl pb-xxl">
<div class="limit-12">
<div class="limit-12">
<div class="row row-default ai-c">
<div class="row row-default ai-c">
<div class="col col-m-6 mb-s-m">
<div class="col col-m-6 mb-s-m">
<h1 class="c-white">{{{Heading|}}}</h1>
<h1 class="c-white">{{{heading|}}}</h1>
<p class="c-white h2 fw-b">{{{Lead text|}}}</p>
<p class="c-white h2 fw-b">{{{lead text|}}}</p>
<p class="c-white">{{{Summary|}}}</p>
<p class="c-white">{{{summary|{{#show: {{PAGENAME}}|?Summary}} }}}</p>
<div>
<div>
<div class="mw-btn  mw-btn-diap  d-ib mr-s mb-xs">[[{{{Button link|}}}|{{{Button text|}}}]]</div>
<div class="mw-btn  mw-btn-diap  d-ib mr-s mb-xs">[[{{{button link|}}}|{{{button text|}}}]]</div>
<div class="mw-btn  mw-btn-ghostdiap d-ib">[[{{{Contact button link|}}}|{{{Contact button text|}}}]]</div>
<div class="mw-btn  mw-btn-ghostdiap d-ib">[[{{{contact button link|}}}|{{{contact button text|}}}]]</div>
</div>
</div>
</div>
</div>
<div class="col  col-m-6"><div class="img-border">[[File:{{#if:{{{Imagename|}}}|{{{Imagename|}}}|image-landscape-white.png}}|link=]]</div>
<div class="col  col-m-6"><div class="img-border">[[File:{{#if:{{{imagename|}}}|{{{imagename|}}}|image-landscape-white.png}}|link=]]</div>
</div>
</div>
</div>
</div>
Regel 34: Regel 34:
</div><!--
</div><!--
--></includeonly>
--></includeonly>
<noinclude>
<templatedata>
{
"params": {
"heading": {
"label": {
"nl": "Titel",
"en": "Heading"
},
"required": true,
"suggested": true,
"type": "string"
},
"summary": {
"label": {
"nl": "Samenvatting",
"en": "Summary"
},
"required": true,
"suggested": true,
"type": "string"
},
"button link": {
"label": {
"nl": "Knop pagina link",
"en": "Button link"
},
"type": "wiki-page-name",
"required": true,
"suggested": true
},
"button text": {
"label": {
"nl": "Knop tekst",
"en": "Button text"
},
"required": true,
"suggested": true,
"type": "string"
},
"contact button link": {
"label": {
"nl": "Contact knop link",
"en": "Contact button link"
},
"required": true,
"suggested": true,
"type": "wiki-page-name"
},
"contact button text": {
"label": {
"nl": "Contact knop text",
"en": "Contact button text"
},
"required": true,
"suggested": true,
"type": "string"
},
"imagename": {
"label": {
"nl": "Afbeelding",
"en": "Image"
},
"required": true,
"suggested": true,
"type": "wiki-file-name"
}
},
"format": "block",
"description": "Bouwblok banner - variant a"
}
</templatedata>
</noinclude>

Huidige versie van 15 okt 2024 om 16:11

This is the "BB Hero" template.

{{BB Hero
|heading=
|lead text=
|summary=
|imagename=
|button text=
|button link=
|contact button text=
|contact button link=
}}


Bouwblok banner - variant a

Sjabloonparameters

Voor dit sjabloon heeft het de voorkeur de parameters als blok te rangschikken.

ParameterBeschrijvingTypeStatus
Titelheading

geen beschrijving

Tekenreeksvereist
Samenvattingsummary

geen beschrijving

Tekenreeksvereist
Knop pagina linkbutton link

geen beschrijving

Paginanaamvereist
Knop tekstbutton text

geen beschrijving

Tekenreeksvereist
Contact knop linkcontact button link

geen beschrijving

Paginanaamvereist
Contact knop textcontact button text

geen beschrijving

Tekenreeksvereist
Afbeeldingimagename

geen beschrijving

Bestandvereist