Template:Highlight/doc

Revision as of 12:39, 25 September 2025 by Shirra (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Text to highlight.

Unbalanced wikitextoptional