Template:Highlight/doc
Jump to navigation
Jump to search
This is the documentation page for Highlight. It contains usage information, categories, and other content not part of the original template page. | ||
|---|---|---|
| Main | Documentation | Usage |
Add a highlight to highlight changes in something by adding the bg-highlight class, as defined in MediaWiki:Colors.css.
Syntax
{{Highlight|text to highlight}}
Examples
*** {{Color|Old:}} "A seagull that likes to get some fries on the pier{{Highlight|,}} and frequently ferries passengers on aerial glides. Permanently smeared with honey-mustard stains, it's regularly recruited as {{Highlight|an ambassador for horror movies}}."
*** {{Color|New:}} "A seagull that likes to get some fries on the pier{{Highlight|.}} and frequently ferries passengers on aerial glides. Permanently smeared with honey-mustard stains, it's regularly recruited as {{Highlight|a horror movie icon}}."
yields:
- Old: "A seagull that likes to get some fries on the pier, and frequently ferries passengers on aerial glides. Permanently smeared with honey-mustard stains, it's regularly recruited as an ambassador for horror movies."
- New: "A seagull that likes to get some fries on the pier. and frequently ferries passengers on aerial glides. Permanently smeared with honey-mustard stains, it's regularly recruited as a horror movie icon."
Template Data
Add a gray highlight to text.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Text to highlight. | Unbalanced wikitext | optional |