Template:ColoredText: Difference between revisions

From ArdakazMC Wiki
Jump to navigation Jump to search
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>

Latest revision as of 11:16, 10 July 2026

{{{1}}}

Color the text!

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

no description

Example
Hello
Stringrequired
Color2

no description

Stringoptional