Jump to content

Template:Highlight/doc

From The Petit Planet Wiki
This is the documentation page for Highlight.
It contains usage information, categories, and other content not part of the original template page.

Add a highlight to highlight changes in something by adding the bg-highlight class, as defined in MediaWiki:Gadget-Color.css

Syntax

[edit source]

{{Highlight|text to highlight}}

Examples

[edit source]
* {{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

[edit source]

Add a gray highlight to text.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Text to highlight.

Unbalanced wikitextoptional