Template:Color/doc: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
imported>Ontoclasm
(Created page with "Usage Example: <syntaxhighlight lang="xml"> {{color | B | Text}} </syntaxhighlight> {{color | B | Text}} <syntaxhighlight lang="xml"> {{color | #FF00FF | Text}} </syntaxhigh...")
 
(Category:Template documentation)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Usage Example:
== Usage ==
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
{{color | B | Text}}
{{color | B | Text}}
Line 33: Line 33:
* o: {{color | o | dark orange }}
* o: {{color | o | dark orange }}
* O: {{color | O | light orange }}
* O: {{color | O | light orange }}
== Related Templates ==
[[Template:Qud text|&#91;&#91;Qud text&#93;&#93;]]
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 07:07, 4 April 2022

Usage

{{color | B | Text}}

Text

{{color | #FF00FF | Text}}

Text


The color can be an RGB value or a Caves of Qud color code:

  • r: dark red
  • R: red
  • g: dark green
  • G: green
  • b: dark blue
  • B: blue
  • c: dark chrome
  • C: chrome
  • m: dark purple
  • M: purple
  • w: dark gold
  • W: gold
  • k: background black
  • K: tile black
  • y: grey
  • Y: white
  • o: dark orange
  • O: light orange

Related Templates

[[Qud text]]