k (Jethro heeft de pagina Sjabloon:BB CTA hernoemd naar Sjabloon:BB Button zonder een doorverwijzing achter te laten) |
Geen bewerkingssamenvatting |
||
(11 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 3: | Regel 3: | ||
[[Category:EMont core]] | [[Category:EMont core]] | ||
This is the "BB | 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 | {{BB Button | ||
|link= | | link = | ||
|text= | | text = | ||
| external = | |||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": " | "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|}}} | |[{{{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
Parameter | Beschrijving | Type | Status | |
---|---|---|---|---|
Link | link |
| Tekenreeks | vereist |
Tekst | text |
| Tekenreeks | vereist |
Externe link | external | Onbekend | voorgesteld |