Template:BaseWarning: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{| style="margin: auto; width: {{{width}}}; border: | {| style="background: {{{background-color}}}; margin: auto; width: {{{width}}}; border: {{{border-width}}} solid {{{border-color}}};" | ||
| style="background: {{{bar-color}}}; width:9px;" | | | style="background: {{{bar-color}}}; width:9px;" | | ||
| style="padding: 5px;" | [[{{{icon}}}]] | | style="padding: 5px;" | [[{{{icon}}}]] | ||
| Line 13: | Line 13: | ||
| icon=Example | | icon=Example | ||
| text=Example | | text=Example | ||
| border-width=Example | |||
| border-color=Example | |||
| background-color=Example | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 36: | Line 39: | ||
"type": "string", | "type": "string", | ||
"default": "" | "default": "" | ||
}, | |||
"border-width": { | |||
"suggested": true, | |||
"default": "1px", | |||
"type": "string" | |||
}, | |||
"border-color": { | |||
"suggested": true, | |||
"default": "#b0b4bb", | |||
"type": "string" | |||
}, | |||
"background-color": { | |||
"suggested": true, | |||
"default": "", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
Revision as of 04:05, 10 July 2023
| [[{{{icon}}}]] | {{{text}}} |
Usage example:
{{BaseWarning
| width=Example
| bar-color=Example
| icon=Example
| text=Example
| border-width=Example
| border-color=Example
| background-color=Example
}}
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| width | width | no description
| String | suggested |
| bar-color | bar-color | no description
| String | suggested |
| icon | icon | no description | File | suggested |
| text | text | no description
| String | suggested |
| border-width | border-width | no description
| String | suggested |
| border-color | border-color | no description
| String | suggested |
| background-color | background-color | no description
| String | suggested |