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

Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
м (Небольшой перевод)
Нет описания правки
Строка 12: Строка 12:
{{infoheader|Attributes}}
{{infoheader|Attributes}}
{{#if:{{{alignment|}}}|{{inforow|Alignment:|{{{alignment}}} }}|{{!-}}}}
{{#if:{{{alignment|}}}|{{inforow|Alignment:|{{{alignment}}} }}|{{!-}}}}
{{#ifexpr:{{{bldgdest|0}}}>0|{{infocell|[[Building destroyer]]: Level {{{bldgdest}}}{{Category|Building destroyer}}}}|{{!-}}}}}}
{{#ifexpr:{{{bldgdest|0}}}>0|{{infocell|[[Building destroyer|Разрушитель построек]]: Уровень{{{bldgdest}}}{{Category|Building destroyer}}}}|{{!-}}}}}}
{{#if:{{{attribs|}}}|{{infocell|{{span-hide}}{{{attribs}}}{{end-span}}}}|{{!-}}}}
{{#if:{{{attribs|}}}|{{infocell|<span style="display:none;">{{{attribs}}}</span>}}|{{!-}}}}
{{#ifexpr:{{#if:{{{pet|}}}|1|0}} or {{#if:{{{exotic|}}}|1|0}}|
{{#ifexpr:{{#if:{{{pet|}}}|1|0}} or {{#if:{{{exotic|}}}|1|0}}|
{{infoheader|Tamed Attributes}}
{{infoheader|Tamed Attributes}}
Строка 20: Строка 20:
{{#if:{{{tame_attribs|}}}|{{infocell|{{span-hide}}{{{tame_attribs}}}{{end-span}}}}|{{!-}}}}
{{#if:{{{tame_attribs|}}}|{{infocell|{{span-hide}}{{{tame_attribs}}}{{end-span}}}}|{{!-}}}}
{{infocell|{{#ifexpr:{{#expr:{{{train_hunt|0}}}+{{{train_war|0}}}>0}}
{{infocell|{{#ifexpr:{{#expr:{{{train_hunt|0}}}+{{{train_war|0}}}>0}}
|[[Animal trainer|Trainable]]:&nbsp; {{#ifexpr:{{{train_hunt|0}}}>0|Hunting {{Category|Hunting Animals}}|}} &nbsp; {{#ifexpr:{{{train_war|0}}}>0|War {{Category|War Animals}}|}}|Not hunting/war [[Animal trainer|trainable]]}}}}|{{infoheader|bg=#fbb|Не приручается}}}}{{
|[[Animal trainer|Trainable]]:&nbsp; {{#ifexpr:{{{train_hunt|0}}}>0|Охотничье {{Category|Hunting Animals}}|}} &nbsp; {{#ifexpr:{{{train_war|0}}}>0|Боевое {{Category|War Animals}}|}}|Ни боевое, ни охотничье [[Animal trainer|trainable]]}}}}|{{infoheader|bg=#fbb|Не приручается}}}}{{
#ifexpr:{{#expr:{{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}}}}>0|&nbsp;
#ifexpr:{{#expr:{{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}}}}>0|&nbsp;
{{infoheader|Size}}
{{infoheader|Size}}
Строка 27: Строка 27:
|{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Child:'''|{{formatnum:{{{size1}}} cm<sup>3</sup> }}}}}}}}
|{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Child:'''|{{formatnum:{{{size1}}} cm<sup>3</sup> }}}}}}}}
{{#ifexpr:{{{size2|0}}}>0|{{inforow|'''Adult:'''|{{formatnum:{{{size2}}} cm<sup>3</sup> }}}}}}}}||}}
{{#ifexpr:{{{size2|0}}}>0|{{inforow|'''Adult:'''|{{formatnum:{{{size2}}} cm<sup>3</sup> }}}}}}}}||}}
{{#if:{{{eggs|}}}|{{infoheader|[[Food|Food products]]}}
{{#if:{{{eggs|}}}|{{infoheader|[[Food|Пищевые продукты]]}}
{{#if:{{{eggs|}}}|{{inforow|[[Egg]]s|{{{eggs}}}}}}}}}{{
{{#if:{{{eggs|}}}|{{inforow|[[Egg|Яйца]]|{{{eggs}}}}}}}}}{{
#if:{{{childage|}}}{{{adultage|}}}{{{maxage|}}}|<nowiki/>
#if:{{{childage|}}}{{{adultage|}}}{{{maxage|}}}|<nowiki/>
{{infoheader|Age}}
{{infoheader|Age}}
{{#if:{{{childage|}}}|{{inforow|Child at:|{{{childage}}}}}}}
{{#if:{{{childage|}}}|{{inforow|Child at:|{{{childage}}}}}}}
{{inforow|Adult at:|{{{adultage}}}}}
{{inforow|Взрослый:|{{{adultage}}}}}
{{inforow|Max age:|{{{maxage}}}}}}}
{{inforow|Максимальный возраст:|{{{maxage}}}}}}}
{{infoheader|{{#switch:{{{death|}}}
{{infoheader|{{#switch:{{{death|}}}
|rot=Rotting leaves
|rot=Rotting leaves

Версия от 15:01, 1 августа 2018

{{{name}}}
Символ

?

Биом

Особый

Не приручается
Результат разделки

Съедобные части

Сырье и материалы

There is too little information about this creature.
Please contribute if you can!

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

Шаблон-наследник: Creaturelookup/0

Sperm whale
Символ

W

Биом
Не приручается 
Size
Child: 500 000 cm3
Adolescent: 12 500 000 cm3
Adult: 25 000 000 cm3
Результат разделки

Съедобные части

Мясо 574-773
Жир 107-236
Мозг 42-60
Сердце 21-30
Легкоеs 84-120
Кишки 127-180
Печень 42-60
Почкиs 42-60
Желудок 42-60
Поджелудочная 21-30
Глазаs 2
Селезенка 21-30

Сырье и материалы

Кости 109-157
Череп 1

Wikipedia article

CreatureInfo

  • It is possible to display Itemcorpses (for example bronze colossus).
  • It is possible to display [NOT_BUTCHERABLE] ( for example magma crab).
  • Unnecessary lines are not displayed (like hooves for whales)
  • Alignment (good evil savage) integrated, but not displayed if it is neutral
  • Pet attributes shown if the creature can be tamed

Variables

General

  • name = name of the creature
  • symbol = symbol of the creature
  • color = color of the symbol
  • align = alignment
    • good -> good alignment is displayed
    • evil -> evil alignment is displayed
    • savage -> savage alignment is displayed
    • neutral or nothing -> alignment is ignored
  • biome = list of the biomes
  • pet attributes = list of pet attributes
    • petv = pet value
    • train -> can be trained at a kennel
  • death = selects caption for "what happens after death"
    • rot -> rotting leaves
    • item -> turns after Death to
      • item = if death=item then item description
    • nobutcher -> creature can not be butchered
    • butcher or nothing -> butchering returns
  • valm = Value multiplier returns nothing when left out
  • contrib = displays contribute message
  • wiki = links to the given wikipedia page (a value of "yes" uses the value of the parameter "name" instead)

Butchering results

  • meat
  • fat
  • brain
  • heart
  • lung
  • intestine
  • liver
  • kidney
  • tripe
  • sweetbread
  • eye
  • spleen
  • bone
  • skull
  • ivory
  • tooth
  • hoof
  • horn
  • shell
  • skin = selects skintype (and skinnable)
    • none -> not skinnable
    • scale -> scale
    • chitin -> chitin
    • hide -> raw hide
  • wool
  • gizzard_stone

Usage

{{CreatureInfo v0.34
|name=Sperm whale
|symbol=W|color=7:0:0
|biome=* Any [[ocean]]
|align=neutral
|meat=574-773
|fat=107-236
|eye=2
|lung=84-120
|heart=21-30
|intestine=127-180
|liver=42-60
|tripe=42-60
|sweetbread=21-30
|spleen=21-30
|kidney=42-60
|brain=42-60
|bone=109-157
|skull=1
|contrib=no
|wiki=yes
}}