From Wazeopedia
Documentation icon Template documentation[view] [edit] [history] [purge]


Basic function

Use {{HighlightBar|This is highlighted}} to create  This is highlighted  text.

Use {{HighlightBar|This is highlighted|style= display: inline-block; width: 250px;}}

to create the highlight block with a certain width.

 This is highlighted 

With optional parameters

  | color = <your desired text color>
  | background-color = <your desired background color>
  | style = <your additional css style codes>
  | <your desired text>

The parameters |color= and |background-color= can be entered directly or as part of the |style= parameter.


The default style is the following:

color: black;
background-color: #FDFBA8;
border:2px solid black;
padding-left: 10px;
padding-right: 10px;
border-radius: 100px;
white-space: nowrap;

Examples with custom formats

{{HighlightBar|Blood|color = red}}



{{HighlightBar|Read This|color = #F0FFFF|background-color = #006400|style = border-width:2px; border-color: #DC143C}}


 Read This 

{{HighlightBar|Text|style = color: red; background-color: white; display: inline-block; width: 250px; text-align: right}}



The above documentation is transcluded from Template:HighlightBar/doc.
Please add categories to the /doc subpage.
Subpages of this template.