Template:Highlight/doc
Appearance
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:Gadget-Colors.css.
Syntax
{{Highlight|text to highlight}}
Examples
* {{Color|Old:}} This magnificent mansion was built by an ancient ascetic warrior in the depths of the earth using scenery borrowed from the outside world. {{Highlight|In latter days, [[Scaramouche|a deeply disheartened eccentric]] would be discovered within.}}
* {{Color|New:}} This magnificent mansion was built by an ancient ascetic warrior in the depths of the earth using scenery borrowed from the outside world. {{Highlight|At some point during the many years that followed, it was sealed for reasons unknown.}}
yields:
- Old: This magnificent mansion was built by an ancient ascetic warrior in the depths of the earth using scenery borrowed from the outside world. In latter days, a deeply disheartened eccentric would be discovered within.
- New: This magnificent mansion was built by an ancient ascetic warrior in the depths of the earth using scenery borrowed from the outside world. At some point during the many years that followed, it was sealed for reasons unknown.
Template Data
Add a gray highlight to text.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Text to highlight. | Unbalanced wikitext | optional |