Template:Red/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search
  • My {{red|color}} text.
Produces
My color text.

The template writes the code: <span style="color:red;">Example text</span>.
Instead of "red" you can set another color with the optional 2nd parameter, but it should be similar to red.

Examples
  • {{red|'''Example text'''}}
becomes Example text
  • {{red|Example text|goldenRod}}
becomes Example text
  • {{red|''Example text''|#FF0033}}
becomes Example text
  • {{red|'''''Example text'''''|RGB(144,16,128)}}
becomes Example text