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