Template:Highlight/doc

From Honkai: Nexus Anima Wiki
Revision as of 12:38, 25 September 2025 by Shirra (talk | contribs) (Created page with "{{Documentation/Header}} Add a highlight to highlight changes in something by adding the {{F|bg-highlight}} class, as defined in MediaWiki:Colors.css. ==Syntax== {{T|Highlight|v1=text to highlight}} ==Examples== <pre> *** {{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 m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

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