Відмінності між версіями «Шаблон:BS badge»

нема опису редагування
(Створена сторінка: <span class="badge badge-pill badge-{{{color}}}">{{{text}}}</span> <noinclude> <templatedata> { "params": { "color": { "label": "Колір бейджу", "example": "primary", "type": "string", "default": "primary", "autovalue": "primary", "suggested": true }, "text": { "label": "Текст", "autovalue": "" } }, "description": "Bootstrap pill-badges template", "format": "block" } </templatedata> </noinclude>)
 
Рядок 1: Рядок 1:
<span class="badge badge-pill badge-{{{color}}}">{{{text}}}</span>
<span class="badge {{{badge-pill}}} badge-{{{color}}}">{{{text}}}</span>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Рядок 6: Рядок 6:
"color": {
"color": {
"label": "Колір бейджу",
"label": "Колір бейджу",
"example": "primary",
"example": "primary, secondary, success, danger, warning, info, light, dark",
"type": "string",
"type": "string",
"default": "primary",
"default": "primary",
Рядок 15: Рядок 15:
"label": "Текст",
"label": "Текст",
"autovalue": ""
"autovalue": ""
},
"badge-pill": {
"label": "Як таблетка",
"example": "badge-pill",
"type": "content"
}
}
},
},