Template:Highlighter

From Maths
Revision as of 05:59, 13 December 2016 by Alec (Talk | contribs) (Created page with "<span style="background-color:{{{bgcol|#FAFAFA}}};padding-left:5px;padding-right:5px;<!-- -->{{#if:{{{marktext|}}}||border-left:5px solid {{{markcol|#DADADA}}};}}<!-- -->"><...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Parameters

Name Default Description Comment
msg / text (nothing) the text to highlight msg is dominant (if present text will be ignored)
default (nothing) the text to highlight in the absence of msg or text
bgcol #FAFAFA background colour
markcol #DADADA background colour of left border or mark text if given
marktext (nothing) Use this if you want Caveat: or Note: to appear before the body of whatever is highlight, by default it is absent