Template:Igen/cbox

From Multilingual Bookbinding Dictionary
Revision as of 16:46, 13 September 2020 by Adminsuzy (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  default text

Template:Lua Depending on the parameter (2 of Igen/cbx, 3 of that template) either

  • "B": a

"colorbox" was not recognized as a supported language code."colorbox" was not recognized as a supported language code. "colorbox" was not recognized as a supported language code. box (single color code parameter), or

  • "D": a

"colorbox" was not recognized as a supported language code."colorbox" was not recognized as a supported language code. "colorbox" was not recognized as a supported language code. box (2 parameters: color code and text), or

  • "L": a

"legend" was not recognized as a supported language code."legend" was not recognized as a supported language code. "legend" was not recognized as a supported language code. color box (single color code parameter), or

  • "S": a

"legend-small" was not recognized as a supported language code."legend-small" was not recognized as a supported language code. "legend-small" was not recognized as a supported language code. color box (single color code parameter), or

  • "T": a

"tbc" was not recognized as a supported language code."tbc" was not recognized as a supported language code. "tbc" was not recognized as a supported language code. line (2 parameters: color code and text), or

  • else a

"legend" was not recognized as a supported language code."legend" was not recognized as a supported language code. "legend" was not recognized as a supported language code. (2 parameters: color code and text; decoding occurs in the module) will be transcluded (parameter 2/3= " ", "-", "C", "M")

The template can replace valid Tincture names by their hexadecimal color code,
and it ensures that a colors display text becomes an eventually leading "#" replaced by its decimal numeric character reference.