Template:Qud text/doc

From Caves of Qud Wiki
< Template:Qud text
Revision as of 20:49, 23 July 2019 by Egocarib (talk | contribs) (add unbolded example)
Jump to navigation Jump to search

Usage

{{Qud text|&amp;olalalalala&amp;OlALALALA&amp;YLALA!}}

lalalalalalALALALALALA!

The text does not remove trailing whitespace, so remove any extra space there is. Use this instead of calling ColorParse directly.

If you're reading color codes not from an xml file (it doesn't have &), add "notxml" as a second argument.

{{Qud text|&REat &rthe rich!| notxml }}

Eat the rich!

To prevent automatic bolding of text, add the "unbolded" argument.

{{Qud text|&Cultra-light &belectronics| notxml | unbolded }}

ultra-light electronics

Related Templates

[[Color]]