(Nieuwe pagina aangemaakt met '<noinclude> Category:BB Category:EMont core This is the "BB CTA" template. It should be called in the following format: <pre> {{BB CTA |link= |text= }} </p...')
 
Geen bewerkingssamenvatting
 
(12 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 3: Regel 3:
[[Category:EMont core]]
[[Category:EMont core]]


This is the "BB CTA" template.
This is the "BB Button" template.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{BB CTA
{{BB Button
|link=
| link =
|text=
| text =
| external =
}}
}}
</pre>
</pre>
<templatedata>
<templatedata>
{
{
"description": "CTA-button",
"description": "Button with link",
"params": {
"params": {
"link": {
"link": {
"label": "Link",
"label": {
"nl": "Link",
"en": "Link"
},
"description": "",
"type": "string",
"type": "string",
"autovalue": "",
"autovalue": "",
Regel 22: Regel 27:
},
},
"text": {
"text": {
"label": "Tekst",
"label": {
"nl": "Tekst",
"en": "Text"
},
"description": "",
"type": "string",
"type": "string",
"autovalue": "",
"autovalue": "",
"required": true
"required": true
},
"external": {
"label": {
"nl": "Externe link",
"en": "External link"
},
"description": "",
"suggested": true
}
}
},
},
"paramOrder": [
"paramOrder": [
"link",
"link",
"text"
"text",
]
"external"
],
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<includeonly>
<includeonly><p><div class="mw-btn mw-btn-l mw-btn-primary d-ib">{{#ifeq:{{{external|}}}|true
<p><div class="mw-btn">[[{{{link|}}}|{{{text|}}} >]]</div></p>
|[{{{link|}}} {{{text|}}} »]
|[[{{{link|}}}|{{{text|}}} »]]
}}</div></p>
</includeonly>
</includeonly>

Huidige versie van 1 jul 2024 om 13:21


This is the "BB Button" template. It should be called in the following format:

{{BB Button
| link =
| text =
| external =
}}

Button with link

Sjabloonparameters

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

ParameterBeschrijvingTypeStatus
Linklink

Automatische waarde
Tekenreeksvereist
Teksttext

Automatische waarde
Tekenreeksvereist
Externe linkexternal

Onbekendvoorgesteld