Jump to content

Template:ColoredText: Difference between revisions

Comet (talk | contribs)
adding the template, not sure if it will work yet, i'll check it
 
Comet (talk | contribs)
m removed the example because of template loop
Tag: Manual revert
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 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"
"required": true
}
}
},
},
"description": "Change the color of the text!",
"description": "Color the text!",
"paramOrder": [
"1",
"2"
],
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata></noinclude><noinclude>[[Category:Templates]]</noinclude>
</noinclude>