Template:Text-icon/doc

From Angelina Jordan Wiki
Revision as of 00:49, 12 July 2024 by Dcljr (talk | contribs) (update)
This is a subpage documenting Template:Text-icon. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

Usage

  • {{text-icon|text=|color=|background-color=|font-weight=|font-family=|border=|tip=}}

The parameters color, background-color, font-weight, font-family, and border are used as the values of the same-named CSS style attributes in a <span> element. See, for example, W3C's CSS2 documentation for valid values.

Examples

  • {{text-icon|text=🞂}} 🞂 
  • {{text-icon|text=🞂|color=white|background-color=red}} 🞂 
  • {{text-icon|text=i|color=white|background-color=blue|font-weight=bold|font-family=monospace|tip=information}} i