Шаблон:CreatureInfo: различия между версиями
Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
Ilsi (обсуждение | вклад) Нет описания правки |
Ilsi (обсуждение | вклад) Нет описания правки |
||
Строка 47: | Строка 47: | ||
{{#if:{{{meat|}}}|{{inforow|[[Meat|Мясо]]|{{{meat|}}}}}|{{!-}}}} | {{#if:{{{meat|}}}|{{inforow|[[Meat|Мясо]]|{{{meat|}}}}}|{{!-}}}} | ||
{{#if:{{{fat|}}}|{{inforow|[[Fat|Жир]]|{{{fat|}}}}}|{{!-}}}} | {{#if:{{{fat|}}}|{{inforow|[[Fat|Жир]]|{{{fat|}}}}}|{{!-}}}} | ||
{{#if:{{{brain|}}}|{{inforow|[[Brain]]|{{{brain|}}}}}|{{!-}}}} | {{#if:{{{brain|}}}|{{inforow|[[Brain|Мозг]]|{{{brain|}}}}}|{{!-}}}} | ||
{{#if:{{{gizzard|}}}|{{inforow|[[Gizzard]]|{{{gizzard|}}}}}|{{!-}}}} | {{#if:{{{gizzard|}}}|{{inforow|[[Gizzard|Глотка]]|{{{gizzard|}}}}}|{{!-}}}} | ||
{{#if:{{{heart|}}}|{{inforow|[[Heart]]|{{{heart|}}}}}|{{!-}}}} | {{#if:{{{heart|}}}|{{inforow|[[Heart|Сердце]]|{{{heart|}}}}}|{{!-}}}} | ||
{{#if:{{{lung|}}}|{{inforow|[[Lung]]s|{{{lung|}}}}}|{{!-}}}} | {{#if:{{{lung|}}}|{{inforow|[[Lung|Легкое]]s|{{{lung|}}}}}|{{!-}}}} | ||
{{#if:{{{intestine|}}}|{{inforow|[[Intestines]]|{{{intestine|}}}}}|{{!-}}}} | {{#if:{{{intestine|}}}|{{inforow|[[Intestines|Кишки]]|{{{intestine|}}}}}|{{!-}}}} | ||
{{#if:{{{liver|}}}|{{inforow|[[Liver]]|{{{liver|}}}}}|{{!-}}}} | {{#if:{{{liver|}}}|{{inforow|[[Liver|Печень]]|{{{liver|}}}}}|{{!-}}}} | ||
{{#if:{{{kidney|}}}|{{inforow|[[Kidney]]s|{{{kidney|}}}}}|{{!-}}}} | {{#if:{{{kidney|}}}|{{inforow|[[Kidney|Почки]]s|{{{kidney|}}}}}|{{!-}}}} | ||
{{#if:{{{tripe|}}}|{{inforow|[[Tripe]]|{{{tripe|}}}}}|{{!-}}}} | {{#if:{{{tripe|}}}|{{inforow|[[Tripe|Желудок]]|{{{tripe|}}}}}|{{!-}}}} | ||
{{#if:{{{sweetbread|}}}|{{inforow|[[Sweetbread]]|{{{sweetbread|}}}}}|{{!-}}}} | {{#if:{{{sweetbread|}}}|{{inforow|[[Sweetbread|Поджелудочная железа]]|{{{sweetbread|}}}}}|{{!-}}}} | ||
{{#if:{{{eye|}}}|{{inforow|[[Eye]]s|{{{eye|}}}}}|{{!-}}}} | {{#if:{{{eye|}}}|{{inforow|[[Eye|Глаза]]s|{{{eye|}}}}}|{{!-}}}} | ||
{{#if:{{{spleen|}}}|{{inforow|[[Spleen]]|{{{spleen|}}}}}|{{!-}}}} | {{#if:{{{spleen|}}}|{{inforow|[[Spleen|Селезенка]]|{{{spleen|}}}}}|{{!-}}}} | ||
{{infocell|'''Raw materials'''}} | {{infocell|'''Raw materials'''}} | ||
{{#if:{{{bone|}}}|{{inforow|[[Bones]]|{{{bone|}}}}}|{{!-}}}} | {{#if:{{{bone|}}}|{{inforow|[[Bones|Кости]]|{{{bone|}}}}}|{{!-}}}} | ||
{{#if:{{{skull|}}}|{{inforow|[[Skull]]|{{{skull|}}}}}|{{!-}}}} | {{#if:{{{skull|}}}|{{inforow|[[Skull|Череп]]|{{{skull|}}}}}|{{!-}}}} | ||
{{#if:{{{ivory|}}}|{{inforow|[[Ivory]]|{{{ivory|}}}}}|{{!-}}}} | {{#if:{{{ivory|}}}|{{inforow|[[Ivory|Бивни]]|{{{ivory|}}}}}|{{!-}}}} | ||
{{#if:{{{tooth|}}}|{{inforow|[[Teeth]]|{{{tooth|}}}}}|{{!-}}}} | {{#if:{{{tooth|}}}|{{inforow|[[Teeth|Зубы]]|{{{tooth|}}}}}|{{!-}}}} | ||
{{#if:{{{hoof|}}}|{{inforow|[[Hooves]]|{{{hoof|}}}}}|{{!-}}}} | {{#if:{{{hoof|}}}|{{inforow|[[Hooves|Копыта]]|{{{hoof|}}}}}|{{!-}}}} | ||
{{#if:{{{horn|}}}|{{inforow|[[Horns]]|{{{horn|}}}}}|{{!-}}}} | {{#if:{{{horn|}}}|{{inforow|[[Horns|Рога]]|{{{horn|}}}}}|{{!-}}}} | ||
{{#if:{{{shell|}}}|{{inforow|[[Shell]]|{{{shell|}}}}}|{{!-}}}} | {{#if:{{{shell|}}}|{{inforow|[[Shell|Раковина]]|{{{shell|}}}}}|{{!-}}}} | ||
{{#if:{{{skin|}}}|{{inforow|[[Skin]]|{{#switch:{{{skin|}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable|#default={{{skin|}}}}}}}|{{!-}}}} | {{#if:{{{skin|}}}|{{inforow|[[Skin|Кожа]]|{{#switch:{{{skin|}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable|#default={{{skin|}}}}}}}|{{!-}}}} | ||
{{#if:{{{wool|}}}|{{inforow|[[Wool]]|{{{wool|}}}}}|{{!-}}}} | {{#if:{{{wool|}}}|{{inforow|[[Wool|Шерсть]]|{{{wool|}}}}}|{{!-}}}} | ||
{{#if:{{{feather|}}}|{{inforow|[[Feather]]|{{{feather|}}}}}|{{!-}}}} | {{#if:{{{feather|}}}|{{inforow|[[Feather|Перья]]|{{{feather|}}}}}|{{!-}}}} | ||
{{#if:{{{gizzard_stone|}}}|{{inforow|[[Gizzard stone]]|{{{gizzard_stone|}}}}}|{{!-}}}} | {{#if:{{{gizzard_stone|}}}|{{inforow|[[Gizzard stone|Безоар]]|{{{gizzard_stone|}}}}}|{{!-}}}} | ||
{{#ifeq:{{{contrib|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|''There is too little information about this creature.<br /> Please contribute if you can!''{{Category|Incomplete butchering returns|{{PAGENAME}}}}}}|{{!-}}}} | {{#ifeq:{{{contrib|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|''There is too little information about this creature.<br /> Please contribute if you can!''{{Category|Incomplete butchering returns|{{PAGENAME}}}}}}|{{!-}}}} | ||
}} | }} | ||
{{#ifexpr:{{#if:{{{wiki|}}}|1|0}} and {{#ifeq:{{{wiki|}}}|no|0|1}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#ifeq:{{{wiki|}}}|yes|{{{name}}}|{{{wiki|}}}}}|Wikipedia article]]}}|{{!-}}}} | {{#ifexpr:{{#if:{{{wiki|}}}|1|0}} and {{#ifeq:{{{wiki|}}}|no|0|1}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#ifeq:{{{wiki|}}}|yes|{{{name}}}|{{{wiki|}}}}}|Wikipedia article]]}}|{{!-}}}} | ||
{{infoend}}<noinclude>{{documentation}}[[Category:Infobox templates]]</noinclude> | {{infoend}}<noinclude>{{documentation}}[[Category:Infobox templates]]</noinclude> |
Версия от 08:00, 27 января 2016
Символ | |
---|---|
? | |
Биом | |
Особый | |
Cannot be tamed | |
Butchering returns | |
Food items | |
Raw materials | |
There is too little information about this creature. |
[Перейти] [Изменить описание]Документация
Шаблон-наследник: Creaturelookup/0
Символ | |
---|---|
W | |
Биом | |
| |
Cannot be tamed | |
Size | |
Child: | 500 000 cm3 |
Adolescent: | 12 500 000 cm3 |
Adult: | 25 000 000 cm3 |
Butchering returns | |
Food items | |
Мясо | 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 |
Raw materials | |
Кости | 109-157 |
Череп | 1 |
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
- none -> not skinnable
- 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 }}