Шаблон:PaintInfo: различия между версиями
Перейти к навигации
Перейти к поиску
New.Day (обсуждение | вклад) (.) |
New.Day (обсуждение | вклад) Нет описания правки |
||
(не показано 36 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
<div | <includeonly><div class="paint-info"> | ||
<div | <div class="paint-info__images"> | ||
{{Image|{{{preview}}}|caption=<center>Превью в гараже</center>}} | |||
{{#if: {{{colormap|}}} | {{Image|{{{colormap|}}}|130px|caption=<center>Текстура</center>}} |}} | |||
</div> | </div> | ||
<div | <div class="paint-info__main-info"> | ||
<div style="display: flex; justify-content: space-between | <div style="display: flex; justify-content: space-between;"> | ||
<div style=" | <div style="margin-bottom: 10px;"> | ||
<p>'''Общая информация'''</p> | <p style="margin: 0">'''Общая информация'''</p> | ||
<div style="margin-bottom: 5px;">''Тип краски:'' {{{paint-type}}}</div> | <div style="margin-bottom: 5px;">''Тип краски:'' {{{paint-type}}}</div> | ||
<div style="margin-bottom: 5px;">''Цена в гараже:'' {{{price}}}</div> | <div style="margin-bottom: 5px;">''Цена в гараже:'' {{{price}}}</div> | ||
<div style="margin-bottom: 5px;">''Доступна со звания:'' {{{rank}}}</div> | <div style="margin-bottom: 5px;">''Доступна со звания:'' {{{rank}}}</div> | ||
{{#if: {{{author|}}} | <div style="margin-bottom: 5px;">''Автор краски:'' {{{author|}}}</div> |}} | |||
</div> | </div> | ||
<div | <div> | ||
{| class="wikitable" style="width: | {| class="wikitable" style="margin: 0; min-width: 200px;" | ||
!colspan= | !colspan={{{amount-of-res|4}}}|Защита | ||
|- | |- | ||
| | {{{rez1|{{!}}{{!}} <span style="font-size: 14px; color: #9da6b0">''Защита отсутствует''</span>}}} {{{rez2|}}} {{{rez3|}}} {{{rez4|}}} {{{rez5|}}} {{{rez6|}}} {{{rez7|}}} {{{rez8|}}} {{{rez9|}}} {{{rez10|}}} {{{rez11|}}} | ||
| | |||
| | |||
| | |||
| | |||
|} | |} | ||
</div> | </div> | ||
</div> | </div> | ||
<hr> | <hr> | ||
<p>'''Описание'''</p> | |||
{{{description}}} | {{{description}}} | ||
= | <p style="margin-bottom: 40px;">'''Вид на танке'''</p> | ||
{{Image|{{{preview-on-tank}}}|{{{preview-on-tank-width|400px}}}|{{{preview-on-tank-height|}}} }} | |||
{{#if: {{{interesting-facts|}}} | <p>'''{{{interesting-facts-section-name|Интересные факты}}}'''</p> | |||
{{{interesting-facts|}}} |}} | |||
</div> | |||
<div class="paint-info__interesting-fact"> | |||
{{#ifeq: {{{did-you-know-number|}}} | none | | {{#if: {{{did-you-know-number|}}} | {{DidYouKnow|width=100%|number={{{did-you-know-number|}}} }} | {{#if: {{{did-you-know-text|}}} | {{DidYouKnow|width=100%|text={{{did-you-know-text|}}} }} | {{DidYouKnow|width=100%}} }} }} }} | |||
</div> | |||
</div></includeonly><noinclude>{{/doc}} [[Категория:Шаблоны-заготовки]]</noinclude> |