(Install package: OSW Core) |
(Update package: OSW Core) |
||
Line 1: | Line 1: | ||
< | <onlyinclude><span style="color:{{{color| {{#ifeq: {{{black|}}}|1|black| {{#ifeq: {{{blue|}}}|1|blue| {{#ifeq: {{{green|}}}|1|green| {{#ifeq: {{{red|}}}|1|red|red<!-- default value -->}} }} }} }} }}}">{{{text|}}}</span><nowiki /></onlyinclude> | ||
<noinclude>[[Category:OSL/Infrastructure/Template/User]] | <noinclude>[[Category:OSL/Infrastructure/Template/User]] | ||
<templatedata> | <templatedata> |
Latest revision as of 02:01, 29 April 2024
Adds a colored text
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | text | no description | String | required |
red | red | no description
| Boolean | suggested |
blue | blue | no description
| Boolean | suggested |
green | green | no description
| Boolean | suggested |
black | black | no description
| Boolean | suggested |
Test
- Default red
- black
- blue
- green
- red
- Explicit blue