Добро пожаловать на Lesta Games Wiki!

Шаблон:СнаряжениеУстановка — различия между версиями

Перейти к: навигация, поиск
Версия 18:11, 4 июля 2016Текущая версия на 07:51, 18 мая 2020 
не показано 9 промежуточных версии 2 участников
Строка 1:Строка 1:
 <includeonly> <includeonly>
 +<div style="padding: 5px; float: left; display: block; border: none;">
 {| {|
 +!{{#if: {{{Снаряжение1|}}} |<div style="width: 68px; position: relative; text-align: center; color: white; background: #33312c; border: 1px solid #33312c" title="Номер слота снаряжения">1</div>}}!!{{#if: {{{Снаряжение2|}}} |<div style="width: 68px; position: relative; text-align: center; color: white; background: #33312c; border: 1px solid #33312c" title="Номер слота снаряжения">2</div>}}!!{{#if: {{{Снаряжение3|}}} |<div style="width: 68px; position: relative; text-align: center; color: white; background: #33312c; border: 1px solid #33312c" title="Номер слота снаряжения">3</div>}}!!{{#if: {{{Снаряжение4|}}} |<div style="width: 68px; position: relative; text-align: center; color: white; background: #33312c; border: 1px solid #33312c" title="Номер слота снаряжения">4</div>}}!!{{#if: {{{Снаряжение5|}}} |<div style="width: 68px; position: relative; text-align: center; color: white; background: #33312c; border: 1px solid #33312c" title="Номер слота снаряжения">5</div>}}!!{{#if: {{{Снаряжение6|}}} |<div style="width: 68px; position: relative; text-align: center; color: white; background: #33312c; border: 1px solid #33312c" title="Номер слота снаряжения">6</div>}}
 |- |-
?|{{#if: {{{Снаряжение1|}}} | [[Файл:{{{Снаряжение1}}}.png|link=Ship:Снаряжение]] }}+|{{#if: {{{Снаряжение1|}}} |<div style="position: absolute; border: 3px solid #33312c;">[[Файл:Research test 64.png]]</div>
?|{{#if: {{{Снаряжение2|}}} | [[Файл:{{{Снаряжение2}}}.png|link=Ship:Снаряжение]] }}+<div style="position: relative; top: 2px; left: 2px">{{#ifeq: {{{Снаряжение1|}}} | Форсаж | [[Файл:Форсаж_I.png|Форсаж|link=Форсаж_I]] | {{#ifeq: {{{Снаряжение1|}}} | Ремонт | [[Файл:Ремонт_I.png|Ремонт|link=Ремонт_I]] | [[Файл:{{{Снаряжение1}}}.png|{{{Снаряжение1|}}}|link={{{Снаряжение1}}}]]}}}}<span style="position: relative; z-index: 2; bottom: -25px; right:13px; color: white; font-size: 10pt; font-family: WarHeliosCondC">{{{Число зарядов1|}}}</span></div> }}
?|{{#if: {{{Снаряжение3|}}} | [[Файл:{{{Снаряжение3}}}.png|link=Ship:Снаряжение]] }}+|{{#if: {{{Снаряжение2|}}} |<div style="position: absolute; border: 3px solid #33312c;">[[Файл:Research test 64.png]]</div>
?|{{#if: {{{Снаряжение4|}}} | [[Файл:{{{Снаряжение4}}}.png|link=Ship:Снаряжение]] }}+<div style="position: relative; top: 2px; left: 2px">{{#ifeq: {{{Снаряжение2|}}} | Форсаж | [[Файл:Форсаж_I.png|Форсаж|link=Форсаж_I]] | {{#ifeq: {{{Снаряжение2|}}} | Ремонт | [[Файл:Ремонт_I.png|Ремонт|link=Ремонт_I]] | [[Файл:{{{Снаряжение2}}}.png|{{{Снаряжение2|}}}|link={{{Снаряжение2}}}]]}}}}<span style="position: relative; z-index: 1; bottom: -25px; right:8px; color: white; font-size: 10pt; font-family: WarHeliosCondC">{{{Число зарядов2|}}}</span></div> }}
?|{{#if: {{{Снаряжение5|}}} | [[Файл:{{{Снаряжение5}}}.png|link=Ship:Снаряжение]] }}+|{{#if: {{{Снаряжение3|}}} |<div style="position: absolute; border: 3px solid #33312c;">[[Файл:Research test 64.png]]</div>
?|{{#if: {{{Снаряжение6|}}} | [[Файл:{{{Снаряжение6}}}.png|link=Ship:Снаряжение]] }}+<div style="position: relative; top: 2px; left: 2px">{{#ifeq: {{{Снаряжение3|}}} | Форсаж | [[Файл:Форсаж_I.png|Форсаж|link=Форсаж_I]] | {{#ifeq: {{{Снаряжение3|}}} | Ремонт | [[Файл:Ремонт_I.png|Ремонт|link=Ремонт_I]] | [[Файл:{{{Снаряжение3}}}.png | {{{Снаряжение3|}}}|link={{{Снаряжение3}}}]]}}}}<span style="position: relative; z-index: 1; bottom: -25px; right:8px; color: white; font-size: 10pt; font-family: WarHeliosCondC">{{{Число зарядов3|}}}</span></div> }}
 +|{{#if: {{{Снаряжение4|}}} |<div style="position: absolute; border: 3px solid #33312c;">[[Файл:Research test 64.png]]</div>
 +<div style="position: relative; top: 2px; left: 2px">{{#ifeq: {{{Снаряжение4|}}} | Форсаж | [[Файл:Форсаж_I.png|Форсаж|link=Форсаж_I]] | {{#ifeq: {{{Снаряжение4|}}} | Ремонт | [[Файл:Ремонт_I.png|Ремонт|link=Ремонт_I]] | [[Файл:{{{Снаряжение4}}}.png|{{{Снаряжение4|}}}|link={{{Снаряжение4}}}]]}}}}<span style="position: relative; z-index: 1; bottom: -25px; right:8px; color: white; font-size: 10pt; font-family: WarHeliosCondC">{{{Число зарядов4|}}}</span></div> }}
 +|{{#if: {{{Снаряжение5|}}} |<div style="position: absolute; border: 3px solid #33312c;">[[Файл:Research test 64.png]]</div>
 +<div style="position: relative; top: 2px; left: 2px">{{#ifeq: {{{Снаряжение5|}}} | Форсаж | [[Файл:Форсаж_I.png|Форсаж|link=Форсаж_I]] | {{#ifeq: {{{Снаряжение5|}}} | Ремонт | [[Файл:Ремонт_I.png|Ремонт|link=Ремонт_I]] | [[Файл:{{{Снаряжение5}}}.png|{{{Снаряжение5|}}}|link={{{Снаряжение5}}}]]}}}}<span style="position: relative; z-index: 1; bottom: -25px; right:8px; color: white; font-size: 10pt; font-family: WarHeliosCondC">{{{Число зарядов5|}}}</span></div> }}
 +|{{#if: {{{Снаряжение6|}}} |<div style="position: absolute; border: 3px solid #33312c;">[[Файл:Research test 64.png]]</div>
 +<div style="position: relative; top: 2px; left: 2px">{{#ifeq: {{{Снаряжение6|}}} | Форсаж | [[Файл:Форсаж_I.png|Форсаж|link=Форсаж_I]] | {{#ifeq: {{{Снаряжение6|}}} | Ремонт | [[Файл:Ремонт_I.png|Ремонт|link=Ремонт_I]] | [[Файл:{{{Снаряжение6}}}.png|{{{Снаряжение6|}}}|link={{{Снаряжение6}}}]]}}}}<span style="position: relative; z-index: 1; bottom: -25px; right:8px; color: white; font-size: 10pt; font-family: WarHeliosCondC">{{{Число зарядов6|}}}</span></div> }}
 |} |}
 +</div>
 +<div style="clear: left"></div>
 </includeonly><noinclude> </includeonly><noinclude>
 [[Категория:Шаблоны:Ship]] [[Категория:Шаблоны:Ship]]
 {{doc}} {{doc}}
 </noinclude> </noinclude>

Текущая версия на 07:51, 18 мая 2020

Документация

Описание

Шаблон создаёт таблицу установки снаряжения, согласно номера слота.

Использование

Название снаряжения соответствует его названию в игре и в таблице на вики. См. ссылку ниже.

Код
{{СнаряжениеУстановка
|Снаряжение1 =
|Число зарядов1 = 
|Снаряжение2 = 
|Число зарядов2 = 
|Снаряжение3 = 
|Число зарядов3 = 
|Снаряжение4 = 
|Число зарядов4 = 
}}
Если нужно больше 4-х слотов снаряжения

Результат

1
2
3
4
Research_test_64.png
Аварийная команда II
Research_test_64.png
Корректировщик огня II4
Research_test_64.png
Ремонтная команда II5
Research_test_64.png
Гидроакустический поиск II6

Дополнительно

Категория: