Template:Highlight/doc: Difference between revisions
Jump to navigation
Jump to search
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..." |
mNo edit summary |
||
| Line 7: | Line 7: | ||
==Examples== | ==Examples== | ||
<pre> | <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 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}}." | |||
</pre> | </pre> | ||
yields: | yields: | ||
* {{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}}." | |||
==Template Data== | ==Template Data== | ||
Latest revision as of 12:39, 25 September 2025
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 |