Template:Colors: Difference between revisions
Jump to navigation
Jump to search
(i_<color> and h_<color> should work now) |
mNo edit summary |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1|}}}}} | {{#switch:{{lc:{{{1|}}}}} | ||
|black | |||
|c_black = color:black; background:black <!-- COLOR_PAIR(30) ->COLOR_BLACK, COLOR_BLACK --> | |c_black = color:black; background:black <!-- COLOR_PAIR(30) ->COLOR_BLACK, COLOR_BLACK --> | ||
|c_mouth | |c_mouth | ||
|white | |||
|c_white = color:white; background:black <!-- COLOR_PAIR(1) A_BOLD ->COLOR_WHITE, COLOR_BLACK --> | |c_white = color:white; background:black <!-- COLOR_PAIR(1) A_BOLD ->COLOR_WHITE, COLOR_BLACK --> | ||
|ltgray | |||
|light_gray | |||
|c_ltgray = color:lightgray; background:black <!-- COLOR_PAIR(1) ->COLOR_WHITE, COLOR_BLACK --> | |c_ltgray = color:lightgray; background:black <!-- COLOR_PAIR(1) ->COLOR_WHITE, COLOR_BLACK --> | ||
|c_gray = color:gray; background:black | |||
|c_hat | |c_hat | ||
|dkgray | |||
|dark_gray | |||
|c_dkgray = color:DimGray; background:black <!-- COLOR_PAIR(30) A_BOLD ->COLOR_BLACK, COLOR_BLACK --> | |c_dkgray = color:DimGray; background:black <!-- COLOR_PAIR(30) A_BOLD ->COLOR_BLACK, COLOR_BLACK --> | ||
|red | |||
|c_red = color:red; background:black <!-- COLOR_PAIR(2) ->COLOR_RED, COLOR_BLACK --> | |c_red = color:red; background:black <!-- COLOR_PAIR(2) ->COLOR_RED, COLOR_BLACK --> | ||
|c_store | |c_store | ||
|green | |||
|c_green = color:DarkGreen; background:black <!-- COLOR_PAIR(3) ->COLOR_GREEN, COLOR_BLACK --> | |c_green = color:DarkGreen; background:black <!-- COLOR_PAIR(3) ->COLOR_GREEN, COLOR_BLACK --> | ||
|c_shoes | |c_shoes | ||
|blue | |||
|c_blue = color:darkblue; background:black <!-- COLOR_PAIR(4) ->COLOR_BLUE, COLOR_BLACK --> | |c_blue = color:darkblue; background:black <!-- COLOR_PAIR(4) ->COLOR_BLUE, COLOR_BLACK --> | ||
|c_eyes | |c_eyes | ||
|cyan | |||
|c_cyan = color:darkcyan; background:black <!-- COLOR_PAIR(5) ->COLOR_CYAN, COLOR_BLACK --> | |c_cyan = color:darkcyan; background:black <!-- COLOR_PAIR(5) ->COLOR_CYAN, COLOR_BLACK --> | ||
|magenta | |||
|c_magenta = color:MediumOrchid; background:black <!-- COLOR_PAIR(6) ->COLOR_MAGENTA, COLOR_BLACK --> | |c_magenta = color:MediumOrchid; background:black <!-- COLOR_PAIR(6) ->COLOR_MAGENTA, COLOR_BLACK --> | ||
|c_pants | |c_pants | ||
|brown | |||
|c_brown = color:SaddleBrown; background:black <!-- COLOR_PAIR(7) ->COLOR_YELLOW, COLOR_BLACK --> | |c_brown = color:SaddleBrown; background:black <!-- COLOR_PAIR(7) ->COLOR_YELLOW, COLOR_BLACK --> | ||
|c_torso | |c_torso | ||
|ltred | |||
|c_ltred = color:salmon; background:black <!-- COLOR_PAIR(2) A_BOLD ->COLOR_RED, COLOR_BLACK --> | |c_ltred = color:salmon; background:black <!-- COLOR_PAIR(2) A_BOLD ->COLOR_RED, COLOR_BLACK --> | ||
|c_decor | |c_decor | ||
|ltgreen | |||
|light_green | |||
|c_ltgreen = color:lime; background:black <!-- COLOR_PAIR(3) A_BOLD ->COLOR_GREEN, COLOR_BLACK --> | |c_ltgreen = color:lime; background:black <!-- COLOR_PAIR(3) A_BOLD ->COLOR_GREEN, COLOR_BLACK --> | ||
|c_gloves | |c_gloves | ||
|ltblue | |||
|light_blue | |||
|c_ltblue = color:RoyalBlue; background:black <!-- COLOR_PAIR(4) A_BOLD ->COLOR_BLUE, COLOR_BLACK --> | |c_ltblue = color:RoyalBlue; background:black <!-- COLOR_PAIR(4) A_BOLD ->COLOR_BLUE, COLOR_BLACK --> | ||
|ltcyan | |||
|light_cyan | |||
|c_ltcyan = color:cyan; background:black <!-- COLOR_PAIR(5) A_BOLD ->COLOR_CYAN, COLOR_BLACK --> | |c_ltcyan = color:cyan; background:black <!-- COLOR_PAIR(5) A_BOLD ->COLOR_CYAN, COLOR_BLACK --> | ||
|pink | |||
|c_pink = color:magenta; background:black <!-- COLOR_PAIR(6) A_BOLD ->COLOR_MAGENTA, COLOR_BLACK --> | |c_pink = color:magenta; background:black <!-- COLOR_PAIR(6) A_BOLD ->COLOR_MAGENTA, COLOR_BLACK --> | ||
|c_body | |c_body | ||
|yellow | |||
|c_yellow = color:yellow; background:black <!-- COLOR_PAIR(7) A_BOLD ->COLOR_YELLOW, COLOR_BLACK --> | |c_yellow = color:yellow; background:black <!-- COLOR_PAIR(7) A_BOLD ->COLOR_YELLOW, COLOR_BLACK --> | ||
Line 52: | Line 73: | ||
|i_green = color:black; background:DarkGreen <!-- COLOR_PAIR(10) --> | |i_green = color:black; background:DarkGreen <!-- COLOR_PAIR(10) --> | ||
|i_blue = color:black; background:blue <!-- COLOR_PAIR(11) --> | |i_blue = color:black; background:blue <!-- COLOR_PAIR(11) --> | ||
|i_cyan = color:black; background: | |i_cyan = color:black; background:cyan <!-- COLOR_PAIR(12) --> | ||
|i_magenta = color:black; background:MediumOrchid <!-- COLOR_PAIR(13) --> | |i_magenta = color:black; background:MediumOrchid <!-- COLOR_PAIR(13) --> | ||
|i_brown = color:black; background:SaddleBrown <!-- COLOR_PAIR(14) --> | |i_brown = color:black; background:SaddleBrown <!-- COLOR_PAIR(14) --> | ||
Line 62: | Line 83: | ||
|i_yellow = color:black; background:yellow <!-- COLOR_PAIR(14) A_BLINK --> | |i_yellow = color:black; background:yellow <!-- COLOR_PAIR(14) A_BLINK --> | ||
|c_white_red | |c_white_red = color:white; background:red <!-- COLOR_PAIR(23) A_BOLD --> | ||
|c_ltgray_red | |c_ltgray_red = color:lightgray; background:red <!-- COLOR_PAIR(23) --> | ||
|c_dkgray_red | |dkgray_red | ||
|c_red_red | |c_dkgray_red = color:DimGray; background:red <!-- COLOR_PAIR(9) --> | ||
|c_green_red | |c_red_red = color:red; background:red <!-- COLOR_PAIR(9) --> | ||
|c_blue_red | |c_green_red = color:DarkGreen; background:red <!-- COLOR_PAIR(25) --> | ||
|c_cyan_red | |c_blue_red = color:blue; background:red <!-- COLOR_PAIR(26) --> | ||
|c_magenta_red = <!-- COLOR_PAIR(28) --> | |c_cyan_red = color:darkcyan; background:red <!-- COLOR_PAIR(27) --> | ||
|c_brown_red | |c_magenta_red = color:MediumOrchid; background:red <!-- COLOR_PAIR(28) --> | ||
|c_ltred_red | |c_brown_red = color:SaddleBrown; background:red <!-- COLOR_PAIR(29) --> | ||
|c_ltgreen_red = <!-- COLOR_PAIR(25) A_BOLD --> | |c_ltred_red = color:salmon; background:red <!-- COLOR_PAIR(24) A_BOLD --> | ||
|c_ltblue_red | |c_ltgreen_red = color:lime; background:red <!-- COLOR_PAIR(25) A_BOLD --> | ||
|c_ltcyan_red | |c_ltblue_red = color:RoyalBlue; background:red <!-- COLOR_PAIR(26) A_BOLD --> | ||
|c_pink_red | |c_ltcyan_red = color:cyan; background:red <!-- COLOR_PAIR(27) A_BOLD --> | ||
|c_yellow_red = <!-- COLOR_PAIR(29) A_BOLD --> | |pink_red | ||
|c_pink_red = color:magenta; background:red <!-- COLOR_PAIR(28) A_BOLD --> | |||
|c_yellow_red = color:yellow; background:red <!-- COLOR_PAIR(29) A_BOLD --> | |||
|ltred_green | |||
|c_ltred_green = color:salmon; background:DarkGreen <!-- COLOR_PAIR(25) A_BOLD --> | |||
|ltgreen_yellow | |||
|c_ltgreen_yellow = color:lime; background:yellow <!-- COLOR_PAIR(7) --> | |||
|yellow_green | |||
|c_yellow_green = color:yellow; background:DarkGreen <!-- COLOR_PAIR(29) A_BOLD --> | |||
|white_cyan | |||
|c_white_cyan = color:white; background:cyan <!-- COLOR_PAIR(31) --> | |||
|white_magenta | |||
|c_white_magenta = color:white; background:MediumOrchid <!-- COLOR_PAIR(31) --> | |||
|c_white_purple = color:white; background:Purple | |||
|ltgray_magenta = color:lightgray; background:MediumOrchid | |||
|magenta_yellow = color:yellow; background:MediumOrchid | |||
|ltgreen_green = color:lime; background:DarkGreen | |||
|black_green = color:black; background:DarkGreen | |||
|blue_green = color:blue; background:DarkGreen | |||
|blue_magenta = color:blue; background:MediumOrchid | |||
|green_cyan = color:DarkGreen; background:cyan | |||
|red_cyan = color:red; background:cyan | |||
|#default={{{1|}}} | |#default={{{1|}}} | ||
Line 82: | Line 124: | ||
Template for converting color-codes from sources to html color codes. | Template for converting color-codes from sources to html color codes. | ||
* [https://raw.github.com/CleverRaven/Cataclysm-DDA/master/data/json/colors.json colors.json ] | |||
* [https://github.com/ | |||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 13:15, 29 August 2016
Template for converting color-codes from sources to html color codes.