(创建页面,内容为“<includeonly>{{#switch:{{lc: {{{1}}} }} | achaemenid mauve = rgb{ 140 30 40 } | yuezhi color = rgb{ 226 157 83 } | kushan color = rgb{ 69 7 145 } | argead blue =…”) |
(括号错了) |
||
| 第1行: | 第1行: | ||
<includeonly>{{#switch:{{lc: {{{1}}} }} | <includeonly>{{#switch:{{lc: {{{1}}} }} | ||
| achaemenid mauve = rgb | | achaemenid mauve = rgb( 140 30 40 ) | ||
| yuezhi color = rgb | | yuezhi color = rgb( 226 157 83 ) | ||
| kushan color = rgb | | kushan color = rgb( 69 7 145 ) | ||
| argead blue = rgb | | argead blue = rgb( 34 108 210 ) | ||
| egypt color = | | egypt color = ( 177 183 23 ) | ||
| saxonia color = rgb | | saxonia color = rgb( 11 71 187 ) | ||
| suebia color = rgb | | suebia color = rgb( 204 161 83 ) | ||
| judea blue = rgb | | judea blue = rgb( 0 125 168 ) | ||
| rhodes color = rgb | | rhodes color = rgb( 207 189 169 ) | ||
| dahae color = rgb | | dahae color = rgb( 63 193 75 ) | ||
| assyria color = rgb | | assyria color = rgb( 31 198 35 ) | ||
| dravida color = rgb | | dravida color = rgb( 31 198 35 ) | ||
| armenia color = rgb | | armenia color = rgb( 172 58 52 ) | ||
| pontus color = rgb | | pontus color = rgb( 149 101 186 ) | ||
| bharatavarsha orange color = rgb | | bharatavarsha orange color = rgb( 232 151 23 ) | ||
| galatia light blue color = rgb | | galatia light blue color = rgb( 23 232 204 ) | ||
| achaea color = rgb | | achaea color = rgb( 240 0 9 ) | ||
| ck2 white = rgb | | ck2 white = rgb( 255 255 255 ) | ||
| bone white = rgb | | bone white = rgb( 245 237 222 ) | ||
| light gold = rgb | | light gold = rgb( 242 223 158 ) | ||
| sun yellow = rgb | | sun yellow = rgb( 246 223 15 ) | ||
| bright yellow = rgb | | bright yellow = rgb( 212 208 19 ) | ||
| ck2 yellow = rgb | | ck2 yellow = rgb( 250 188 00 ) | ||
| roman gold = rgb | | roman gold = rgb( 250 183 60 ) | ||
| samnite beige = rgb | | samnite beige = rgb( 216 183 146 ) | ||
| ck2 red = rgb | | ck2 red = rgb( 188 0 7 ) | ||
| ck2 blue = rgb | | ck2 blue = rgb( 0 86 148 ) | ||
| ck2 green = rgb | | ck2 green = rgb( 48 137 4 ) | ||
| ck2 black = rgb | | ck2 black = rgb( 30 30 30 ) | ||
| ck2 purple = rgb | | ck2 purple = rgb( 132 0 132 ) | ||
| navy blue = rgb | | navy blue = rgb( 1 33 105 ) | ||
| burned red = rgb | | burned red = rgb( 195 86 44 ) | ||
| athens blue = rgb | | athens blue = rgb( 57 79 152 ) | ||
| beige = rgb | | beige = rgb( 154 145 116 ) | ||
| dark grey = rgb | | dark grey = rgb( 49 46 48 ) | ||
| light green = rgb | | light green = rgb( 117 161 109 ) | ||
| light blue = rgb | | light blue = rgb( 89 136 155 ) | ||
| very light green = rgb | | very light green = rgb( 169 192 166 ) | ||
| pink = rgb | | pink = rgb( 207 141 171 ) | ||
| desaturated green = rgb | | desaturated green = rgb( 94 129 93 ) | ||
| mint green = rgb | | mint green = rgb( 168 191 165 ) | ||
| light purple = rgb | | light purple = rgb( 131 136 185 ) | ||
| mid grey = rgb | | mid grey = rgb( 106 107 113 ) | ||
| dark burgundy = rgb | | dark burgundy = rgb( 93 54 57 ) | ||
| yellowish grey = rgb | | yellowish grey = rgb( 112 110 100 ) | ||
| dark purple = rgb | | dark purple = rgb( 104 79 108 ) | ||
| red nougat = rgb | | red nougat = rgb( 148 116 107 ) | ||
| dark chocolate = rgb | | dark chocolate = rgb( 56 31 25 ) | ||
| rust brown = rgb | | rust brown = rgb( 100 35 0 ) | ||
| pink skin = rgb | | pink skin = rgb( 255 200 160 ) | ||
| etruscan blue = rgb | | etruscan blue = rgb( 14 2 84 ) | ||
| roman red = rgb | | roman red = rgb( 139 16 13 ) | ||
| macedonian blue = rgb | | macedonian blue = rgb( 65 74 185 ) | ||
| phrygia red = rgb | | phrygia red = rgb( 160 11 25 ) | ||
| light yellow = rgb | | light yellow = rgb( 253 226 105 ) | ||
| pitch black = rgb | | pitch black = rgb( 40 40 40 ) | ||
| ocean blue = rgb | | ocean blue = rgb( 40 121 173 ) | ||
| frost blue = rgb | | frost blue = rgb( 230 240 255 ) | ||
| spartan brown = rgb | | spartan brown = rgb( 195 133 77 ) | ||
| spartan rust = rgb | | spartan rust = rgb( 125 46 28 ) | ||
| spartan ocra = rgb | | spartan ocra = rgb( 138 84 71 ) | ||
| offwhite = rgb | | offwhite = rgb( 240 231 213 ) | ||
| dark green = rgb | | dark green = rgb( 29 97 36 ) | ||
| samnite green = rgb | | samnite green = rgb( 73 70 42 ) | ||
| samnite red = rgb | | samnite red = rgb( 144 41 0 ) | ||
| epirus light yellow = rgb | | epirus light yellow = rgb( 215 212 180 ) | ||
| pure white = rgb | | pure white = rgb( 255 255 255 ) | ||
| maurya brown = rgb | | maurya brown = rgb( 154 72 0 ) | ||
| syracuse yellow = rgb | | syracuse yellow = rgb( 228 203 11 ) | ||
| dark rust = rgb | | dark rust = rgb( 101 32 10 ) | ||
| green = rgb | | green = rgb( 25 98 2 ) | ||
| parthia color = rgb | | parthia color = rgb( 15 6 112 ) | ||
| cretan blue = rgb | | cretan blue = rgb( 242 116 7 ) | ||
| numidia color = rgb | | numidia color = rgb( 121 129 142 ) | ||
| gallaecia color = rgb | | gallaecia color = rgb( 193 165 100 ) | ||
| asturia color = rgb | | asturia color = rgb( 221 211 93 ) | ||
| lusitania color = rgb | | lusitania color = rgb( 102 9 60 ) | ||
| vettonia color = rgb | | vettonia color = rgb( 72 145 76 ) | ||
| carpetania color = rgb | | carpetania color = rgb( 163 83 40 ) | ||
| celtiberia color = rgb | | celtiberia color = rgb( 255 67 0 ) | ||
| cantabria color = rgb | | cantabria color = rgb( 49 119 113 ) | ||
| hiberia color = rgb | | hiberia color = rgb( 216 189 15 ) | ||
| helvetia color = rgb | | helvetia color = rgb( 144 90 155 ) | ||
| armorica color = rgb | | armorica color = rgb( 100 127 77 ) | ||
| noricum color = rgb | | noricum color = rgb( 99 83 88 ) | ||
| albion color = rgb | | albion color = rgb( 197 200 229 ) | ||
| ccc color = rgb | | ccc color = rgb( 14 25 140 ) | ||
| bretonnia color = rgb | | bretonnia color = rgb( 186 68 109 ) | ||
| aquitania color = rgb | | aquitania color = rgb( 91 44 122 ) | ||
| belgia color = rgb | | belgia color = rgb( 99 147 10 ) | ||
| gaul color = rgb | | gaul color = rgb( 169 133 191 ) | ||
| dacia color = rgb | | dacia color = rgb( 58 77 109 ) | ||
| yamnat color = rgb | | yamnat color = rgb( 193 180 83 ) | ||
| illyria color = rgb | | illyria color = rgb( 216 226 204 ) | ||
| persia color = rgb | | persia color = rgb( 135 32 16 ) | ||
| syria color = rgb | | syria color = rgb( 45 150 122 ) | ||
| phoenicia color = rgb | | phoenicia color = rgb( 204 161 197 ) | ||
| cilicia color = rgb | | cilicia color = rgb( 51 49 48 ) | ||
| sicily color = rgb | | sicily color = rgb( 173 143 34 ) | ||
| babylon color = rgb | | babylon color = rgb( 21 167 196 ) | ||
| #default = <span style="color: red; font-size: 11px;">请检查输入的颜色名</span> | | #default = <span style="color: red; font-size: 11px;">请检查输入的颜色名</span> | ||
}}</includeonly><noinclude>{{template doc}}[[Category:模板]]</noinclude> | }}</includeonly><noinclude>{{template doc}}[[Category:模板]]</noinclude> | ||
2019年4月27日 (六) 00:46的版本
输入游戏中命名的颜色(named_colors)输出HTML的rgb色彩数组,可以用于其它模板的样式代码。脚本代码位于:/ImperatorRome/game/common/named_colors/default_colors.txt
用法
{{named_colors|下列的颜色名}}
示例
- 输入:
{{named_colors|achaemenid_mauve}} - 输出:请检查输入的颜色名
achaemenid_mauve = rgb { 140 30 40 }
yuezhi_color = rgb { 226 157 83 }
kushan_color = rgb { 69 7 145 }
argead_blue = rgb { 34 108 210 }
egypt_color = { 177 183 23 }
saxonia_color = rgb { 11 71 187 }
suebia_color = rgb { 204 161 83 }
judea_blue = rgb { 0 125 168 }
rhodes_color = rgb { 207 189 169 }
dahae_color = rgb { 63 193 75 }
assyria_color = rgb { 31 198 35 }
dravida_color = rgb { 31 198 35 }
armenia_color = rgb { 172 58 52 }
pontus_color = rgb { 149 101 186 }
bharatavarsha_orange_color = rgb { 232 151 23 }
galatia_light_blue_color = rgb { 23 232 204 }
achaea_color = rgb { 240 0 9 }
ck2_white = rgb { 255 255 255 }
bone_white = rgb { 245 237 222 }
light_gold = rgb { 242 223 158 }
sun_yellow = rgb { 246 223 15 }
bright_yellow = rgb { 212 208 19 }
ck2_yellow = rgb { 250 188 00 }
roman_gold = rgb { 250 183 60 }
samnite_beige = rgb { 216 183 146 }
ck2_red = rgb { 188 0 7 }
ck2_blue = rgb { 0 86 148 }
ck2_green = rgb { 48 137 4 }
ck2_black = rgb { 30 30 30 }
ck2_purple = rgb { 132 0 132 }
navy_blue = rgb { 1 33 105 }
burned_red = rgb { 195 86 44 }
athens_blue = rgb { 57 79 152 }
beige = rgb { 154 145 116 }
dark_grey = rgb { 49 46 48 }
light_green = rgb { 117 161 109 }
light_blue = rgb { 89 136 155 }
very_light_green = rgb { 169 192 166 }
pink = rgb { 207 141 171 }
desaturated_green = rgb { 94 129 93 }
mint_green = rgb { 168 191 165 }
light_purple = rgb { 131 136 185 }
mid_grey = rgb { 106 107 113 }
dark_burgundy = rgb { 93 54 57 }
yellowish_grey = rgb { 112 110 100 }
dark_purple = rgb { 104 79 108 }
red_nougat = rgb { 148 116 107 }
dark_chocolate = rgb { 56 31 25 }
rust_brown = rgb { 100 35 0 }
pink_skin = rgb { 255 200 160 }
etruscan_blue = rgb { 14 2 84 }
roman_red = rgb { 139 16 13 }
macedonian_blue = rgb { 65 74 185 }
phrygia_red = rgb { 160 11 25 }
light_yellow = rgb { 253 226 105 }
pitch_black = rgb { 40 40 40 }
ocean_blue = rgb { 40 121 173 }
frost_blue = rgb { 230 240 255 }
spartan_brown = rgb { 195 133 77 }
spartan_rust = rgb { 125 46 28 }
spartan_ocra = rgb { 138 84 71 }
offwhite = rgb { 240 231 213 }
dark_green = rgb { 29 97 36 }
samnite_green = rgb { 73 70 42 }
samnite_red = rgb { 144 41 0 }
epirus_light_yellow = rgb { 215 212 180 }
pure_white = rgb { 255 255 255 }
maurya_brown = rgb { 154 72 0 }
syracuse_yellow = rgb { 228 203 11 }
dark_rust = rgb { 101 32 10 }
green = rgb { 25 98 2 }
parthia_color = rgb { 15 6 112 }
cretan_blue = rgb { 242 116 7 }
numidia_color = rgb { 121 129 142 }
gallaecia_color = rgb { 193 165 100 }
asturia_color = rgb { 221 211 93 }
lusitania_color = rgb { 102 9 60 }
vettonia_color = rgb { 72 145 76 }
carpetania_color = rgb { 163 83 40 }
celtiberia_color = rgb { 255 67 0 }
cantabria_color = rgb { 49 119 113 }
hiberia_color = rgb { 216 189 15 }
helvetia_color = rgb { 144 90 155 }
armorica_color = rgb { 100 127 77 }
noricum_color = rgb { 99 83 88 }
albion_color = rgb { 197 200 229 }
ccc_color = rgb { 14 25 140 }
bretonnia_color = rgb { 186 68 109 }
aquitania_color = rgb { 91 44 122 }
belgia_color = rgb { 99 147 10 }
gaul_color = rgb { 169 133 191 }
dacia_color = rgb { 58 77 109 }
yamnat_color = rgb { 193 180 83 }
illyria_color = rgb { 216 226 204 }
persia_color = rgb { 135 32 16 }
syria_color = rgb { 45 150 122 }
phoenicia_color = rgb { 204 161 197 }
cilicia_color = rgb { 51 49 48 }
sicily_color = rgb { 173 143 34 }
babylon_color = rgb { 21 167 196 }