Template:Highlighter/documentation

From WikiLectures

Allows text to be highlighted in a similar way to marking with a highlighter on paper.

Syntax[edit source]

{{highlighter|text|color}}

The order of the parameters does not have to be followed.

An Example[edit source]

{{highlighter|I want a green background|color=green}} Template:Zvýrazňovač.

Parameters[edit source]

The 1st parameter can be almost any string.

Colors[edit source]

  • yellow - text highlighted in yellow
  • light yellow - text highlighted in light yellow
  • green - text highlighted in green
  • light green - text highlighted in light green
  • blue - text highlighted in modře
  • light blue - text highlighted in light blue
  • red - text highlighted in red
  • pink - text highlighted in pink
  • cyan - text highlighted in cyan
  • light cyan - text highlighted in light cyan
  • gray - text highlighted in gray

The default value (unless you fill in the color parameter) is yellow.