Шаблон:ColorPalettePreview: различия между версиями
Материал из Celadon | Wiki Shiptest
Дополнительные действия
Нет описания правки |
Нет описания правки |
||
| Строка 1: | Строка 1: | ||
<div style="width: 13.7%; margin: 0.25em; border: 1px solid #{{ColorPalette|{{{1}}}|Light}}; text-align: center;"> | <div style="width: 13.7%; margin: 0.25em; border: 1px solid #{{#if: {{{type|}}} | {{#ifeq: {{{type}}} | planets | {{ColorPalettePlanets|{{{1}}}|Light}} | {{ColorPalette|{{{1}}}|Light}} }} | {{ColorPalette|{{{1}}}|Light}} }}; text-align: center;"> | ||
<div style="background-color:#{{ColorPalette|{{{1}}}|Primary Bold}}; padding: 1em 0; text-align: center;">{{{1|Misc}}}</div> | <div style="background-color:#{{#if: {{{type|}}} | {{#ifeq: {{{type}}} | planets | {{ColorPalettePlanets|{{{1}}}|Primary Bold}} | {{ColorPalette|{{{1}}}|Primary Bold}} }} | {{ColorPalette|{{{1}}}|Primary Bold}} }}; padding: 1em 0; text-align: center;">{{{1|Misc}}}</div> | ||
<div style="background-color:#{{ColorPalette|{{{1}}}|Primary}}; padding: 1em 0; text-align: center;">Primary</div> | <div style="background-color:#{{#if: {{{type|}}} | {{#ifeq: {{{type}}} | planets | {{ColorPalettePlanets|{{{1}}}|Primary}} | {{ColorPalette|{{{1}}}|Primary}} }} | {{ColorPalette|{{{1}}}|Primary}} }}; padding: 1em 0; text-align: center;">Primary</div> | ||
<div style="background-color:#{{ | <div style="background-color:#{{#if: {{{type|}}} | {{#ifeq: {{{type}}} | planets | {{ColorPalettePlanets|{{{1}}}|Secondary}} | {{ColorPalette|{{{1}}}|Secondary}} }} | {{ColorPalette|{{{1}}}|Secondary}} }}; padding: 1em 0; text-align: center;">Secondary</div> | ||
<div style="background-color:#{{#if: {{{type|}}} | {{#ifeq: {{{type}}} | planets | {{ColorPalettePlanets|{{{1}}}|Light}} | {{ColorPalette|{{{1}}}|Light}} }} | {{ColorPalette|{{{1}}}|Light}} }}; padding: 1em 0; text-align: center;">Light</div> | |||
<div style="background-color:#{{#if: {{{type|}}} | {{#ifeq: {{{type}}} | planets | {{ColorPalettePlanets|{{{1}}}|Very Light}} | {{ColorPalette|{{{1}}}|Very Light}} }} | {{ColorPalette|{{{1}}}|Very Light}} }}; padding: 1em 0; text-align: center;">Very Light</div> | |||
</div> | |||
<div style=" | |||
<div style="background-color:#{{ColorPalettePlanets|{{{1}}}| | |||
</div> | </div> | ||
[[Категория:Шаблоны]] | [[Категория:Шаблоны]] | ||
Версия от 10:29, 23 августа 2025
Misc
Primary
Secondary
Light
Very Light