Template:Hlight
Jump to navigation
Jump to search
Highlighted Text
- Description
- Highlights text.
- Uses RGBa colors, with fallback hexidecimal colors for browsers that don't support RGBa. Fallback colors are intended for a dark background. While RGBa colors adapt to any background, the hexidecimal fallback colors should be revised for use with light themes.
- Syntax
- {{Hlight|<color=>|<text=>}}
- Example
This creates {{hlight|color=red|text=highlighted text}} in red
- gives...
- This creates highlighted text in red
This creates {{hlight|color= orange|text=highlighted text}} in orange
- gives...
- This creates highlighted text in orange
This creates {{hlight|color= yellow |text=highlighted text}} in yellow
- gives...
- This creates highlighted text in yellow
This creates {{hlight|color=green |text=highlighted text}} in green
- gives...
- This creates highlighted text in green
This creates {{hlight|color=blue|text=highlighted text}} in blue
- gives...
- This creates highlighted text in blue
This creates {{hlight|color=purple|text=highlighted text}} in purple
- gives...
- This creates highlighted text in purple
This creates {{hlight|color=grey|text=highlighted text}} in grey
- gives...
- This creates highlighted text in grey (may also be spelled gray)
This creates {{hlight|text=highlighted text}} in yellow, the default
- gives...
- When no color is specified, creates highlighted text in yellow, the default