Template:ColoredText: Difference between revisions
Jump to navigation
Jump to search
adding the template, not sure if it will work yet, i'll check it |
fixed the template to make it work, not sure if it does |
||
| Line 1: | Line 1: | ||
<nowiki></nowiki> [[{{{1}}}|<span style="color:{{{2|}}};">{{{1}}}</span>]]<noinclude><templatedata> | |||
<noinclude> | |||
<templatedata> | |||
{ | { | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Text", | "label": "Text", | ||
"example": "Hello", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
| Line 11: | Line 10: | ||
"2": { | "2": { | ||
"label": "Color", | "label": "Color", | ||
"type": "string" | "type": "string" | ||
} | } | ||
}, | }, | ||
"description": " | "description": "Color the text!", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata></noinclude><noinclude>[[Category:Templates]]</noinclude> | ||
</noinclude> | |||
Revision as of 09:21, 10 July 2026
[[{{{1}}}|{{{1}}}]]
Color the text!
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | no description
| String | required |
| Color | 2 | no description | String | optional |