Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
(10 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 7: | Regel 7: | ||
<pre> | <pre> | ||
{{BB Button | {{BB Button | ||
|link= | | link = | ||
|text= | | text = | ||
| external = | |||
}} | }} | ||
</pre> | </pre> | ||
Regel 16: | Regel 17: | ||
"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 |