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

Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
м (Замена текста — «\{\{(L|l)\|(.*)\}\}» на «$2»)
 
(Добавление документации)
Строка 11: Строка 11:
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{#if:{{{wiki|}}}| {{{wiki}}}|{{{name}}}}}|Статья в википедии}}}}|{{!-}}}}
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{#if:{{{wiki|}}}| {{{wiki}}}|{{{name}}}}}|Статья в википедии}}}}|{{!-}}}}
{{infoend}}</includeonly><noinclude>
{{infoend}}</includeonly><noinclude>
Usage:
{{doc}}
<pre><nowiki>
{{Mineral|name=Bituminous coal|tile=☼|icon=☼|color=0:7:1
|uses =
* 3 coke at [[smelter]]
* [[mason's workshop|Masonry]]
* [[craftsdwarf's workshop|Stone crafting]]
* [[Construction]]
|location =
* [[Sedimentary layer]]s
* Found as veins
|properties =
* Can [[ignite]]
* [[Economic stone]]
* [[Material value]] 1}}
</nowiki></pre>
{{Mineral|name=Bituminous coal|tile=☼|icon=☼|color=0:7:1
|uses =
* 3 coke at [[smelter]]
* [[mason's workshop|Masonry]]
* [[craftsdwarf's workshop|Stone crafting]]
* [[Construction]]
|location =
* [[Sedimentary layer]]s
* Found as veins
|properties =
* Can [[ignite]]
* [[Economic stone]]
* [[Material value]] 1}}
[[Категория:Шаблоны материалов]]
[[en:Template:Mineral]]
</noinclude>
</noinclude>

Версия от 20:51, 22 августа 2018

[Перейти] [Изменить описание]Документация

Шаблон-наследник: Gem и Stonelookup/aux

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

{{Mineral|name=Bituminous coal
|sample=
[[File:Bituminous coalSample.png|200px|right]]
|sprite=[[File:Bituminous coal sprite.png|left]]
|graphic=Bituminous coal sprite.png
|tile=☼|icon=☼|color=0:7:1
|uses =
* 3 coke at [[smelter]]
* [[mason's workshop|Masonry]]
* [[craftsdwarf's workshop|Stone crafting]]
* [[Construction]]
|location =
* [[Sedimentary layer]]s
* Found as veins
|properties =
* [[Economic stone]]
* [[Material value]] 1
|wiki=Ископаемый_уголь#Каменный_уголь}}
Bituminous coal
= = =
= = =
= =
=
Использование
Расположение
Свойства

Статья в википедии