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"
Jump to navigation
Jump to search
m (fix color.txt order) |
(use #colorfg) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="width: auto; margin:0px 20%"><table style="width:100%"> | <div style="width: auto; margin:0px 20%"><table style="width:100%"> | ||
<tr> | <tr> | ||
− | <td style="background-color:{{#colorconvert:{{{black|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{black|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{black|000}}}}}">BLACK {{{blackt|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{dgray|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{dgray|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{dgray|000}}}}}">DGRAY {{{dgrayt|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{blue|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{blue|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{blue|000}}}}}">BLUE {{{bluet|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{lblue|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lblue|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lblue|000}}}}}">LBLUE {{{lbluet|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{green|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{green|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{green|000}}}}}">GREEN {{{greent|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{lgreen|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lgreen|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lgreen|000}}}}}">LGREEN {{{lgreent|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{cyan|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{cyan|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{cyan|000}}}}}">CYAN {{{cyant|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{lcyan|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lcyan|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lcyan|000}}}}}">LCYAN {{{lcyant|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{red|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{red|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{red|000}}}}}">RED {{{redt|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{lred|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lred|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lred|000}}}}}">LRED {{{lredt|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{magenta|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{magenta|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{magenta|000}}}}}">MAGENTA {{{magentat|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{lmagenta|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lmagenta|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lmagenta|000}}}}}">LMAGENTA {{{lmagentat|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{brown|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{brown|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{brown|000}}}}}">BROWN {{{brownt|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{yellow|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{yellow|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{yellow|000}}}}}">YELLOW {{{yellowt|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{lgray|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lgray|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lgray|000}}}}}">LGRAY {{{lgrayt|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{white|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{white|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{white|000}}}}}">WHITE {{{whitet|}}}</span></td> |
</tr> | </tr> | ||
</table></div> | </table></div> | ||
− | {{ | + | {{gamedata|title=colors.txt| |
[BLACK_R:{{#colorconvert:{{{black|000}}}|hex|rgb1}}] | [BLACK_R:{{#colorconvert:{{{black|000}}}|hex|rgb1}}] | ||
[BLACK_G:{{#colorconvert:{{{black|000}}}|hex|rgb2}}] | [BLACK_G:{{#colorconvert:{{{black|000}}}|hex|rgb2}}] | ||
Line 75: | Line 75: | ||
[WHITE_G:{{#colorconvert:{{{white|000}}}|hex|rgb2}}] | [WHITE_G:{{#colorconvert:{{{white|000}}}|hex|rgb2}}] | ||
[WHITE_B:{{#colorconvert:{{{white|000}}}|hex|rgb3}}] | [WHITE_B:{{#colorconvert:{{{white|000}}}|hex|rgb3}}] | ||
− | + | }} | |
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Latest revision as of 02:51, 2 September 2014
BLACK | DGRAY |
BLUE | LBLUE |
GREEN | LGREEN |
CYAN | LCYAN |
RED | LRED |
MAGENTA | LMAGENTA |
BROWN | YELLOW |
LGRAY | WHITE |
colors.txt |
---|
[BLACK_R:0]
[BLACK_G:0]
[BLACK_B:0]
[BLUE_R:0]
[BLUE_G:0]
[BLUE_B:0]
[GREEN_R:0]
[GREEN_G:0]
[GREEN_B:0]
[CYAN_R:0]
[CYAN_G:0]
[CYAN_B:0]
[RED_R:0]
[RED_G:0]
[RED_B:0]
[MAGENTA_R:0]
[MAGENTA_G:0]
[MAGENTA_B:0]
[BROWN_R:0]
[BROWN_G:0]
[BROWN_B:0]
[LGRAY_R:0]
[LGRAY_G:0]
[LGRAY_B:0]
[DGRAY_R:0]
[DGRAY_G:0]
[DGRAY_B:0]
[LBLUE_R:0]
[LBLUE_G:0]
[LBLUE_B:0]
[LGREEN_R:0]
[LGREEN_G:0]
[LGREEN_B:0]
[LCYAN_R:0]
[LCYAN_G:0]
[LCYAN_B:0]
[LRED_R:0]
[LRED_G:0]
[LRED_B:0]
[LMAGENTA_R:0]
[LMAGENTA_G:0]
[LMAGENTA_B:0]
[YELLOW_R:0]
[YELLOW_G:0]
[YELLOW_B:0]
[WHITE_R:0]
[WHITE_G:0]
[WHITE_B:0]
|
(view - edit - history - purge) Documentation
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 |
colors.txt |
---|
[BLACK_R:0]
[BLACK_G:0]
[BLACK_B:0]
[BLUE_R:0]
[BLUE_G:0]
[BLUE_B:255]
[GREEN_R:0]
[GREEN_G:153]
[GREEN_B:0]
[CYAN_R:0]
[CYAN_G:255]
[CYAN_B:255]
[RED_R:255]
[RED_G:0]
[RED_B:0]
[MAGENTA_R:255]
[MAGENTA_G:0]
[MAGENTA_B:255]
[BROWN_R:153]
[BROWN_G:153]
[BROWN_B:0]
[LGRAY_R:187]
[LGRAY_G:187]
[LGRAY_B:187]
[DGRAY_R:102]
[DGRAY_G:102]
[DGRAY_B:102]
[LBLUE_R:102]
[LBLUE_G:102]
[LBLUE_B:255]
[LGREEN_R:102]
[LGREEN_G:255]
[LGREEN_B:102]
[LCYAN_R:102]
[LCYAN_G:255]
[LCYAN_B:255]
[LRED_R:255]
[LRED_G:102]
[LRED_B:102]
[LMAGENTA_R:255]
[LMAGENTA_G:102]
[LMAGENTA_B:255]
[YELLOW_R:255]
[YELLOW_G:255]
[YELLOW_B:0]
[WHITE_R:255]
[WHITE_G:255]
[WHITE_B:255]
|