Template:Text highlight/doc

From Moegirlpedia
< Template:Text highlight
Revision as of 01:38, 16 July 2023 by LiaMinina (talk | contribs) (Fixed some things)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template produces the effect of highlighted text: This is the content This is the superscript

Usage

{{text highlight|content=|supt=|cont-color=|bg-color=|cont-title=|supt-color=|supt-bg-color=|supt-title=|cont-other=|supt-other=|note-text=}}
content
Obligatory. Text located in the normal position.
supt
Obligatory. Text located in the superscript.
cont-color
Optional. Color code for the content text, the default is the same as the current color.
bg-color
Optional. Color code for the background, the default is the same as the current background color.
cont-title
Optional. Prompt text displayed when hovering the mouse over the content, the default is blank.
supt-color
Optional. Color code for the superscript text, the default is the same as the current color.
supt-bg-color
Optional. Color code for the superscript text background, the default is the same as the current background color.
supt-title
Optional. Prompt text displayed when hovering the mouse over the superscript, the default is blank.
cont-other
Optional. Other HTML for the content text, the default is blank.
supt-other
Optional. Other HTML for the superscript text, the default is blank.
note
Optional. Input yes to add the class="mobileref" and class="nomobile" fields to the superscript, provides mobile support. The default is blank.