Template:Icon: Difference between revisions

m (1 revision imported)
(Autogenerated)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="{{{1|}}}" style="{{#if:{{{2|}}}|font-size:{{{2|}}};|}}{{#if:{{{3|}}}|color:{{{3|}}};|}}vertical-align:{{#if:{{{4|}}}|vertical-align:{{{4|}}};|text-top}};></span></includeonly><noinclude>
<span {{#ifeq:{{#sub:{{{1|bi bi-clock}}}|0|2}}|bi|class="{{{1|bi bi-clock}}}"|}} style="{{#if:{{{2|}}}|font-size:{{{2|}}};|}}{{#if:{{{3|}}}|color:{{{3|}}};|}}{{#if:{{{4|}}}|vertical-align:{{{4|}}};|vertical-align:middle;}}>{{#ifeq:{{#sub:{{{1|}}}|0|2}}|fa|{{#fas:{{{1|}}}}}|}}</span>
<templatedata>
{
"params": {
"1": {
"label": {
"en": "Icon css class",
"de": "Icon css-Klasse"
},
"required": true
},
"2": {
"label": {
"en": "Font-size",
"de": "Schriftgöße"
},
"example": {
"en": "0.9em; 1.5em",
"de": "0.9em, 1.5em"
},
"suggested": true
},
"3": {
"label": {
"en": "Color",
"de": "Farbe"
},
"example": {
"en": "blue, #0059b3",
"de": "blue, #0059b3"
},
"suggested": true
},
"4": {
"label": {
"en": "Vertical alignment",
"de": "Vertikale Ausrichtung"
},
"example": {
"en": "text-bottom",
"de": "text-bottom"
},
"suggested": true,
"default": {}
}
},
"description": {
"en": "Insert icon",
"de": "Icon einfügen"
}
}
</templatedata></noinclude>

Latest revision as of 16:12, 13 September 2023