Template:Decoration/ColoredText: Difference between revisions

Template page
(Install package: OSW Core)
 
(Update package: OSW Core)
 
Line 1: Line 1:
<includeonly><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></includeonly>
<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 03:37, 6 July 2024

Adds a colored text

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
texttext

no description

Stringrequired
redred

no description

Auto value
1
Booleansuggested
blueblue

no description

Auto value
0
Booleansuggested
greengreen

no description

Auto value
0
Booleansuggested
blackblack

no description

Auto value
0
Booleansuggested

Test

  • Default red
  • black
  • blue
  • green
  • red
  • Explicit blue
Cookies help us deliver our services. By using our services, you agree to our use of cookies.