Відмінності між версіями «Шаблон:StructureCard»
Матеріал з Iron Harvest 1920+ Wikipedia [UA]
Solj (обговорення • внесок) (Новая страница: «<includeonly><div class="item-card"><table class="item-card-table"><!-- -->{{#if: {{{Name|}}} | <tr><th colspan="2">{{{Name}}}</th></tr> }} {{#if: {{{Img|}}}…») |
Solj (обговорення • внесок) |
||
| (Не показано 8 проміжних версій цього користувача) | |||
| Рядок 1: | Рядок 1: | ||
<includeonly><div class="item-card"><table class="item-card-table"><!-- | <includeonly><div class="item-card"><table class="item-card-table"><!-- | ||
-->{{#if: {{{Name|}}} | <tr><th colspan="2">{{{Name}}}</th></tr> | -->{{#if: {{{Name|}}} | <tr><th colspan="2">{{{Name}}}</th></tr> | ||
| − | + | }} {{#if: {{{Img|}}} | <tr><td colspan="2" align="center"> [[File:{{{Img}}}.png|200px|alt={{#if: {{{Name|}}} | {{{name}}} }}]] </td></tr> | |
| − | + | }} {{#if: {{{Desc|}}} | <tr><td colspan="2" class="description">{{{Desc}}}</td></tr> | |
| − | + | }} {{#if: {{{Type|}}} | <tr><td>Тип</td><td>{{{Type}}}[[Category:{{{Type}}}]]</td></tr> | |
| − | + | }} {{#if: {{{Equipment|}}} | <tr><td>Экипировка</td><td>{{{Equipment}}}[[Category:{{{Equipment}}}]]</td></tr> | |
| − | + | }} <tr><td>Прочность</td><td>{{{health|80}}}</td></tr> | |
| − | + | {{#if: {{{RepairSpeed|}}} | <tr><td>Скорость ремонта</td><td>{{{RepairSpeed}}}</td></tr> | |
| − | + | }} <!-- | |
-->{{#if: {{{BuildCost|}}} | <tr><th colspan="2" style="text-align:center;">Стоимость</th></tr> | -->{{#if: {{{BuildCost|}}} | <tr><th colspan="2" style="text-align:center;">Стоимость</th></tr> | ||
| − | + | <tr><td colspan="2">{{IconIron|{{{IronCost|250}}} }} {{IconOil|{{{OilCost|0}}} }}</td></tr> | |
| − | + | <tr><td>Популяция</td><td>{{{PopulationCost|0}}}</td></tr><!-- | |
| − | |||
-->}} <!-- | -->}} <!-- | ||
-->{{#if: {{{ReinforceCost|}}} | <tr><th colspan="2" style="text-align:center;">Модернизация</th></tr> | -->{{#if: {{{ReinforceCost|}}} | <tr><th colspan="2" style="text-align:center;">Модернизация</th></tr> | ||
| − | + | <tr><td colspan="2">{{IconIron|{{{IronCost1|15}}}}} {{IconOil|{{{OilCost1|0}}} }}</td></tr> | |
| − | + | <tr><td>Популяция</td><td>{{{PopulationCost1|0}}}</td></tr><!-- | |
| − | |||
-->}} <!-- | -->}} <!-- | ||
-->{{#if: {{{RepairCost|}}} | <tr><th colspan="2" style="text-align:center;">Ремонт</th></tr> | -->{{#if: {{{RepairCost|}}} | <tr><th colspan="2" style="text-align:center;">Ремонт</th></tr> | ||
| − | + | <tr><td colspan="2"> {{IconIron|{{{IronCost2|15}}}}} {{IconOil|{{{OilCost2|0}}} }}</td></tr> | |
| − | + | <tr><td>BatchSize</td><td>{{{BatchSize|0}}}</td></tr><!-- | |
| − | |||
-->}} <!-- | -->}} <!-- | ||
-->{{#if: {{{Refund|}}} | <tr><th colspan="2" style="text-align:center;">Ремонт</th></tr> | -->{{#if: {{{Refund|}}} | <tr><th colspan="2" style="text-align:center;">Ремонт</th></tr> | ||
| − | + | <tr><td colspan="2">{{IconIron|{{{IronCost3|15}}}}} {{IconOil|{{{OilCost3|0}}} }}</td></tr><!-- | |
| − | |||
-->}} <!-- | -->}} <!-- | ||
-->{{#if: {{{ResourceProduction|}}} | <tr><th colspan="2" style="text-align:center;">Производство</th></tr> | -->{{#if: {{{ResourceProduction|}}} | <tr><th colspan="2" style="text-align:center;">Производство</th></tr> | ||
| − | + | <tr><td colspan="2">{{IconIron|{{{IronAmount|12}}}}} {{IconOil|{{{OilAmount|2}}}}}</td></tr> | |
| − | + | <tr><td>GrantToAllies</td><td>{{{GrantToAllies|false}}}</td></tr><!-- | |
| − | |||
-->}} | -->}} | ||
</table></div>[[Category:Структуры]]</includeonly> | </table></div>[[Category:Структуры]]</includeonly> | ||
| − | <noinclude>{{StructureCard | + | <noinclude> |
| + | <nowiki>{{StructureCard | ||
|Name= structure_hq | |Name= structure_hq | ||
|Img= Polanian Engineer | |Img= Polanian Engineer | ||
| Рядок 64: | Рядок 60: | ||
|GrantToAllies = 0 | |GrantToAllies = 0 | ||
| − | }} | + | }}</nowiki> |
<hr style="clear:both"> | <hr style="clear:both"> | ||
{{StructureCard | {{StructureCard | ||
| Рядок 92: | Рядок 88: | ||
|GrantToAllies = 0 | |GrantToAllies = 0 | ||
}} | }} | ||
| + | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Поточна версія на 14:21, 21 лютого 2020
{{StructureCard
|Name= structure_hq
|Img= Polanian Engineer
|Desc = Полнаский Здание бла бла
|health = 500
|BuildCost = true
|IronCost= 150
|OilCost = 0
|PopulationCost = 3
|ReinforceCost = true
|IronCost1= 15
|OilCost1 = 0
|PopulationCost1 = 0
|RepairCost = true
|IronCost2= 15
|OilCost2 = 0
|BatchSize = 0
|ResourceProduction = true
|IronAmount= 15
|OilAmount = 0
|GrantToAllies = 0
}}
