Шаблон:Fgcolor: различия между версиями
Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
(ixpRcGScFJoVjXSbbFq) |
Нет описания правки |
||
Строка 1: | Строка 1: | ||
<includeonly>{{#tag:nowiki|{{#switch:{{{1}}}| | |||
0:0=#000000|1:0=#000080|2:0=#008000|3:0=#008080|4:0=#800000|5:0=#800080|6:0=#808000|7:0=#C0C0C0|0:1=#808080|1:1=#0000FF|2:1=#00FF00|3:1=#00FFFF|4:1=#FF0000|5:1=#FF00FF|6:1=#FFFF00|7:1=#FFFFFF| | |||
0:0:0=#000000|1:0:0=#000080|2:0:0=#008000|3:0:0=#008080|4:0:0=#800000|5:0:0=#800080|6:0:0=#808000|7:0:0=#C0C0C0|0:0:1=#808080|1:0:1=#0000FF|2:0:1=#00FF00|3:0:1=#00FFFF|4:0:1=#FF0000|5:0:1=#FF00FF|6:0:1=#FFFF00|7:0:1=#FFFFFF| | |||
0:1:0=#000000|1:1:0=#000080|2:1:0=#008000|3:1:0=#008080|4:1:0=#800000|5:1:0=#800080|6:1:0=#808000|7:1:0=#C0C0C0|0:1:1=#808080|1:1:1=#0000FF|2:1:1=#00FF00|3:1:1=#00FFFF|4:1:1=#FF0000|5:1:1=#FF00FF|6:1:1=#FFFF00|7:1:1=#FFFFFF| | |||
0:2:0=#000000|1:2:0=#000080|2:2:0=#008000|3:2:0=#008080|4:2:0=#800000|5:2:0=#800080|6:2:0=#808000|7:2:0=#C0C0C0|0:2:1=#808080|1:2:1=#0000FF|2:2:1=#00FF00|3:2:1=#00FFFF|4:2:1=#FF0000|5:2:1=#FF00FF|6:2:1=#FFFF00|7:2:1=#FFFFFF| | |||
0:3:0=#000000|1:3:0=#000080|2:3:0=#008000|3:3:0=#008080|4:3:0=#800000|5:3:0=#800080|6:3:0=#808000|7:3:0=#C0C0C0|0:3:1=#808080|1:3:1=#0000FF|2:3:1=#00FF00|3:3:1=#00FFFF|4:3:1=#FF0000|5:3:1=#FF00FF|6:3:1=#FFFF00|7:3:1=#FFFFFF| | |||
0:4:0=#000000|1:4:0=#000080|2:4:0=#008000|3:4:0=#008080|4:4:0=#800000|5:4:0=#800080|6:4:0=#808000|7:4:0=#C0C0C0|0:4:1=#808080|1:4:1=#0000FF|2:4:1=#00FF00|3:4:1=#00FFFF|4:4:1=#FF0000|5:4:1=#FF00FF|6:4:1=#FFFF00|7:4:1=#FFFFFF| | |||
0:5:0=#000000|1:5:0=#000080|2:5:0=#008000|3:5:0=#008080|4:5:0=#800000|5:5:0=#800080|6:5:0=#808000|7:5:0=#C0C0C0|0:5:1=#808080|1:5:1=#0000FF|2:5:1=#00FF00|3:5:1=#00FFFF|4:5:1=#FF0000|5:5:1=#FF00FF|6:5:1=#FFFF00|7:5:1=#FFFFFF| | |||
0:6:0=#000000|1:6:0=#000080|2:6:0=#008000|3:6:0=#008080|4:6:0=#800000|5:6:0=#800080|6:6:0=#808000|7:6:0=#C0C0C0|0:6:1=#808080|1:6:1=#0000FF|2:6:1=#00FF00|3:6:1=#00FFFF|4:6:1=#FF0000|5:6:1=#FF00FF|6:6:1=#FFFF00|7:6:1=#FFFFFF| | |||
0:7:0=#000000|1:7:0=#000080|2:7:0=#008000|3:7:0=#008080|4:7:0=#800000|5:7:0=#800080|6:7:0=#808000|7:7:0=#C0C0C0|0:7:1=#808080|1:7:1=#0000FF|2:7:1=#00FF00|3:7:1=#00FFFF|4:7:1=#FF0000|5:7:1=#FF00FF|6:7:1=#FFFF00|7:7:1=#FFFFFF| | |||
{{{1}}}}}}}</includeonly><noinclude> | |||
{{raw Tile|A|{{fgcolor|#808080}}|{{bgcolor|#808080|#c0c0c0}}}} | |||
{{raw Tile|A|{{fgcolor|#880}}|{{bgcolor|#880|#800}}}} | |||
{{raw Tile|A|{{fgcolor|5:1}}|{{bgcolor|5:1|5:1}}}} | |||
{{raw Tile|A|{{fgcolor|3:3:1}}|{{bgcolor|3:3:1|3:3:1}}}} | |||
"Test inline string - 4:6:0 becomes {{fgcolor|4:6:0}} and {{bgcolor|4:6:0|4:6:0}}." | |||
{| | |||
|- | |||
|style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|#00FFFF}}; background: black; text-align:center;"|M | |||
|- | |||
|style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|3:3:1}}; background: black; text-align:center;"|M | |||
|} | |||
<table> | |||
<tr><td style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|#00FFFF}}; background: black; text-align:center;">M</td><tr> | |||
<tr><td style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|3:3:1}}; background: black; text-align:center;">M</td><tr> | |||
</table> | |||
</noinclude> |
Версия от 14:52, 28 ноября 2015
A
A
A
A
"Test inline string - 4:6:0 becomes #800000 and #D79B2D."
M |
M |
M |
M |