v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Color scheme"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (includeonly/noinclude)
m (Example)
Line 28: Line 28:
 
This is a template for color schemes, designed for [[cv:Color scheme|color scheme]].
 
This is a template for color schemes, designed for [[cv:Color scheme|color scheme]].
  
A few notes:
+
=== Notes===
 
* This uses "gray", not "grey"
 
* This uses "gray", not "grey"
 
* Colors can be defined in any order
 
* Colors can be defined in any order
  
 +
=== Example ===
 +
<pre><nowiki>
 +
{{color scheme
 +
|red=f00
 +
|green=090
 +
|blue=00f
 +
|white=fff
 +
|black=000
 +
|brown=990
 +
|yellow=ff0
 +
|magenta=f0f
 +
|cyan=0ff
 +
|lcyan=6ff
 +
|lred=f66
 +
|lgreen=6f6
 +
|lblue=66f
 +
|lmagenta=f6f
 +
|dgray=666
 +
|lgray=bbb
 +
}}
 +
</nowiki></pre>
 +
Produces:
 +
{{color scheme
 +
|red=f00
 +
|green=090
 +
|blue=00f
 +
|white=fff
 +
|black=000
 +
|brown=990
 +
|yellow=ff0
 +
|magenta=f0f
 +
|cyan=0ff
 +
|lcyan=6ff
 +
|lred=f66
 +
|lgreen=6f6
 +
|lblue=66f
 +
|lmagenta=f6f
 +
|dgray=666
 +
|lgray=bbb
 +
}}
  
 
</noinclude>
 
</noinclude>

Revision as of 21:40, 23 December 2012

This is a template for color schemes, designed for color scheme.

Notes

  • This uses "gray", not "grey"
  • Colors can be defined in any order

Example

{{color scheme
|red=f00
|green=090
|blue=00f
|white=fff
|black=000
|brown=990
|yellow=ff0
|magenta=f0f
|cyan=0ff
|lcyan=6ff
|lred=f66
|lgreen=6f6
|lblue=66f
|lmagenta=f6f
|dgray=666
|lgray=bbb
}}

Produces:

BLACK DGRAY
BLUE LBLUE
GREEN LGREEN
CYAN LCYAN
RED LRED
MAGENTA LMAGENTA
BROWN YELLOW
LGRAY WHITE