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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(creature attributes)
(the raws are supposed to be passed in as parameter #1, otherwise it ONLY works on the creature's own page)
 
(One intermediate revision by one other user not shown)
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|{{/raw}}|BUILDINGDESTROYER|notfound=0}}|
+
bldgdest={{tagvalue|{{{1}}}|BUILDINGDESTROYER|notfound=0}}|
attribs={{attrib_proc|{{/raw}}|{{PAGENAME}}}}|
+
attribs={{attrib_proc|{{{1}}}|{{PAGENAME}}}}|
childage={{tagvalue|{{/raw}}|BABY|notfound=}}|
+
tame_attribs={{tame_attrib_proc/{{NAMESPACE}}|{{{1}}}}}|
adultage={{tagvalue|{{/raw}}|CHILD|notfound=Birth}}|
+
pet={{tag|{{{1}}}|PET}}|
maxage={{#mreplace:{{tagvalue|{{/raw}}|MAXAGE|notfound=Immortal}}|:|-}}|
+
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}}{{tag|{{{1}}}|EQUIPMENT_WAGON}}|no|{{{butcher|yes}}}}}|
 
butcher={{#if:{{tag|{{{1}}}|NOT_BUTCHERABLE}}{{tag|{{{1}}}|EQUIPMENT_WAGON}}|no|{{{butcher|yes}}}}}|

Latest revision as of 14:22, 26 April 2020