Difference between revisions of "Template:40d creaturelookup/aux"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
(the raws are supposed to be passed in as parameter #1, otherwise it ONLY works on the creature's own page)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{CreatureInfo|
+
<includeonly>{{CreatureInfo 40d|
 
name={{ucfirst:{{tagentry|{{{1}}}|NAME|1}}}}|
 
name={{ucfirst:{{tagentry|{{{1}}}|NAME|1}}}}|
 
symbol={{tagvalue|{{{1}}}|TILE}}|
 
symbol={{tagvalue|{{{1}}}|TILE}}|
Line 5: Line 5:
 
alignment={{#if:{{tag|{{{1}}}|GOOD}}|Good<br />}}{{#if:{{tag|{{{1}}}|EVIL}}|Evil<br />}}{{#if:{{tag|{{{1}}}|SAVAGE}}|Savage}}|
 
alignment={{#if:{{tag|{{{1}}}|GOOD}}|Good<br />}}{{#if:{{tag|{{{1}}}|EVIL}}|Evil<br />}}{{#if:{{tag|{{{1}}}|SAVAGE}}|Savage}}|
 
biome={{biomelist/aux|{{{1}}}}}|
 
biome={{biomelist/aux|{{{1}}}}}|
 +
bldgdest={{tagvalue|{{{1}}}|BUILDINGDESTROYER|notfound=0}}|
 +
attribs={{attrib_proc|{{{1}}}|{{PAGENAME}}}}|
 +
tame_attribs={{tame_attrib_proc/{{NAMESPACE}}|{{{1}}}}}|
 +
pet={{tag|{{{1}}}|PET}}|
 +
exotic={{tag|{{{1}}}|PET_EXOTIC}}|
 +
petvalue={{tagvalue|{{{1}}}|PETVALUE|notfound=0}}|
 +
train_hunt={{#if:{{tag|{{{1}}}|TRAINABLE}}|1|0}}|
 +
train_war={{#if:{{tag|{{{1}}}|TRAINABLE}}|1|0}}|
 +
childage={{tagvalue|{{{1}}}|BABY|notfound=}}|
 +
adultage={{tagvalue|{{{1}}}|CHILD|notfound=Birth}}|
 +
maxage={{#mreplace:{{tagvalue|{{{1}}}|MAXAGE|notfound=Immortal}}|:|-}}|
 
item={{{item|}}}|
 
item={{{item|}}}|
butcher={{#if:{{tag|{{{1}}}|NOT_BUTCHERABLE}}|no|{{{butcher|yes}}}}}|
+
butcher={{#if:{{tag|{{{1}}}|NOT_BUTCHERABLE}}{{tag|{{{1}}}|EQUIPMENT_WAGON}}|no|{{{butcher|yes}}}}}|
size={{tagvalue|{{{1}}}|SIZE}}|
+
size={{tagvalue|{{{1}}}|SIZE|notfound=6}}|
bones={{#if:{{tag|{{{1}}}|NOBONES}}|None|{{tagvalue|{{{1}}}|SIZE}}}}|
+
bones={{#if:{{tag|{{{1}}}|NOBONES}}{{tag|{{{1}}}|EQUIPMENT_WAGON}}|None|{{tagvalue|{{{1}}}|SIZE|notfound=6}}}}|
chunks={{#if:{{tag|{{{1}}}|NOMEAT}}|None|{{tagvalue|{{{1}}}|SIZE}}}}|
+
chunks={{#if:{{tag|{{{1}}}|NOMEAT}}{{tag|{{{1}}}|EQUIPMENT_WAGON}}|None|{{tagvalue|{{{1}}}|SIZE|notfound=6}}}}|
meat={{#if:{{tag|{{{1}}}|NOMEAT}}|None|{{tagvalue|{{{1}}}|SIZE}}}}|
+
meat={{#if:{{tag|{{{1}}}|NOMEAT}}{{tag|{{{1}}}|EQUIPMENT_WAGON}}|None|{{tagvalue|{{{1}}}|SIZE|notfound=6}}}}|
 
fat={{tagvalue|{{{1}}}|FAT|notfound=None}}|
 
fat={{tagvalue|{{{1}}}|FAT|notfound=None}}|
skulls={{#if:{{tag|{{{1}}}|NOSKULL}}|None|1}}|
+
skulls={{#if:{{tag|{{{1}}}|NOSKULL}}{{tag|{{{1}}}|EQUIPMENT_WAGON}}|None|1}}|
skin={{#if:{{tag|{{{1}}}|NOSKIN}}|None|{{#if:{{tag|{{{1}}}|CHITIN}}|Chitin|Leather}}}}|
+
skin={{#if:{{tag|{{{1}}}|NOSKIN}}{{tag|{{{1}}}|EQUIPMENT_WAGON}}|None|{{#if:{{tag|{{{1}}}|CHITIN}}|Chitin|Leather}}}}|
modvalue={{tagvalue|{{{1}}}|MODVALUE|notfound=1}}|
+
modvalue={{tagvalue|{{{1}}}|MODVALUE|notfound=}}|
 
wiki={{{wiki|}}}|
 
wiki={{{wiki|}}}|
 
}}</includeonly><noinclude>[[category:raw templates]]</noinclude>
 
}}</includeonly><noinclude>[[category:raw templates]]</noinclude>

Latest revision as of 14:22, 26 April 2020