Template:Red/doc
This is a documentation subpage for Template:Red It contains usage information, categories and other content that is not part of the original template page. |
Usage
edit- My
text.{{red|color}}
- 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