Шаблон:ColorPalettePreview: различия между версиями
Материал из Celadon | Wiki Shiptest
Дополнительные действия
Нет описания правки |
мНет описания правки |
||
| (не показаны 3 промежуточные версии этого же участника) | |||
| Строка 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| | <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|Primary Bold}}}</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> | </div> | ||
[[Категория:Шаблоны]] | |||
Текущая версия от 23:13, 31 августа 2025
Primary Bold
Primary
Secondary