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)
fixed the template to make it work, not sure if it does
Line 1: Line 1:
 
<nowiki></nowiki>&nbsp;[[{{{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>

Revision as of 09:21, 10 July 2026

 [[{{{1}}}|{{{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