Шаблон:Workshop: различия между версиями

Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
м (Интервики)
Нет описания правки
Строка 1: Строка 1:
<includeonly>{{infostart|{{{name}}}}}
<includeonly>{{infostart|{{{name|{{PAGENAME}}}}}}}
{{infocell|{{key|b}}-{{key|w}}-{{key|{{{key}}}}}|style=text-align:center}}
{{infocell|{{key|b}}-{{key|w}}-{{key|{{{key}}}}}|style=text-align:center}}
{{infocell|{{Building/picture|name={{{name}}}}}}}
{{infocell|{{Building/picture|name={{{name}}}}}}}
{{#if:{{{job|}}}|{{infoheader|Работа:}}
{{#if:{{{job|}}}|{{infoheader|Работа}}
{{infocell|{{{job|}}}}}}}
{{infocell|{{{job|}}}}}}}
{{infoheader|Постройка}}
{{infoheader|Постройка}}
|-
{{#ifeq:{{{onecol|no}}}|no|
! style="text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" | Материалы
{{!}}- <!-- Two columns -->
! style="text-align: left; padding: 0.2em 0.25em 0; width: 50%" | Задания
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" {{!}} Материалы
|-
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%" {{!}} Задания
| style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" |
{{!}}-
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" {{!}}
{{{construction}}}
{{{construction}}}
| style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" |
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" {{!}}
| <!-- One column -->
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" {{!}} Материалы
{{!}}-
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" {{!}}
{{{construction}}}
{{!}}-
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%" {{!}} Задания
{{!}}-
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" {{!}}
}}
{{{construction_job}}}
{{{construction_job}}}
{{infoheader|Используемые материалы}}
{{infoheader|Используемые материалы}}
Строка 17: Строка 28:
{{infoheader|Производит}}
{{infoheader|Производит}}
{{infocell|{{{production}}}}}
{{infocell|{{{production}}}}}
{{infoend}}{{Category|Мастерские}}</includeonly><noinclude>
{{#if:{{{power|}}}|{{infoheader|Энергия}}
{{infocell|{{{power|}}}}}}}
{{infoend}}[[Категория:Мастерские]]</includeonly><noinclude>
== Usage ==
This automatically includes the page in the "Workshops" category.


<nowiki>
== Usage ==
== Usage ==
This automatically includes the page in the "Workshops" category.
This automatically includes the page in the "Workshops" category.
Строка 51: Строка 67:
}}
}}
</nowiki>
</nowiki>
[[Category:Шаблоны построек]]
[[Category:Шаблоны построек]]
[[en:Template:Workshop]]</noinclude>
[[en:Template:Workshop]]</noinclude>

Версия от 09:53, 14 декабря 2020

Usage

This automatically includes the page in the "Workshops" category.

== Usage ==
This automatically includes the page in the "Workshops" category.

 <nowiki>
{{Workshop|name=Carpenter's workshop|key=c|job=[[Carpentry]]
|construction=
1 of
* [[Block]]
* [[Stone]]
* [[Wood]]
|construction_job=
* [[Carpentry]]
|use=
* [[Wood]]
|production=
* [[Animal trap]]
* [[Armor stand]]
* [[Barrel]]
* [[Bin]]
* [[Bucket]]
* [[Buckler]]
* [[Bed]]
* [[Cabinet]]
* [[Chair]]
* [[Chest]]
* [[Door]]
* [[Floodgate]]
* [[Shield]]
* [[Table]]
* [[Weapon rack]]
}}