v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Creaturelookup/0"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(add wool to template)
(pass through image parameter)
(41 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{Creaturelookup/aux|{{{{FULLPAGENAME}}/raw}}|
+
<includeonly>{{#if:{{#var:evan}}{{#var:emw}}|<!-- av included already, should be AFTER this template -->
biome={{{biome|}}}|
+
[[Category:Pages with incorrectly-ordered templates]]}}{{CreatureInfo {{#switch:{{NAMESPACE}}|DF2014|v0.40=v0.40|DF2012|v0.34=v0.34|Masterwork=Masterwork|v0.31|40d|23a=v0.31|#default=v0.40}}|
size0={{{size0|}}}|
+
name={{ucfirst:{{tagentry|{{/raw}}|NAME|1}}}}|
size1={{{size1|}}}|
+
pref={{prefstring|{{/raw}}}}|
size2={{{size2|}}}|
+
symbol={{tagvalue|{{/raw}}|CREATURE_TILE}}|
death={{{death|}}}|
+
image={{{image|}}}|
item={{{item|}}}|
+
color={{tagvalue|{{/raw}}|COLOR}}|
meat={{{meat|}}}|
+
biome={{#if:{{{biome|}}}|{{{biome}}}|{{biomelist/aux|{{/raw}}}}}}|
fat={{{fat|}}}|
+
vary={{{vary|{{#ifeq:{{creature/variation}}|00|no|{{creature/variation links}}}}}}}|
brain={{{brain|}}}|
+
alignment={{#if:{{tag|{{/raw}}|GOOD}}|Good<br />}}{{#if:{{tag|{{/raw}}|EVIL}}|Evil<br />}}{{#if:{{tag|{{/raw}}|SAVAGE}}|Savage}}|
gizzard={{{gizzard|}}}|
+
bldgdest={{tagvalue|{{/raw}}|BUILDINGDESTROYER|notfound=0}}|
heart={{{heart|}}}|
+
attribs={{attrib_proc|{{/raw}}|{{PAGENAME}}}}|
lung={{{lung|}}}|
+
tame_attribs={{tame_attrib_proc/{{NAMESPACE}}|{{/raw}}}}|
intestine={{{intestine|}}}|
+
pet={{tag|{{/raw|}}|PET}}|
liver={{{liver|}}}|
+
exotic={{tag|{{/raw|}}|PET_EXOTIC}}|
kidney={{{kidney|}}}|
+
petvalue={{tagvalue|{{/raw}}|PETVALUE|notfound=0}}|
tripe={{{tripe|}}}|
+
grazer={{grazer_proc|{{tagvalue|{{/raw}}|GRAZER|notfound=0}}}}|
sweetbread={{{sweetbread|}}}|
+
train_hunt={{#expr:{{#if:{{tag|{{/raw}}|TRAINABLE}}|1|0}} or {{#if:{{tag|{{/raw}}|TRAINABLE_HUNTING}}|1|0}}}}|
eye={{{eye|}}}|
+
train_war={{#expr:{{#if:{{tag|{{/raw}}|TRAINABLE}}|1|0}} or {{#if:{{tag|{{/raw}}|TRAINABLE_WAR}}|1|0}}}}|
spleen={{{spleen|}}}|
+
valm={{tagvalue|{{#df_raw:{{/raw}}|SELECT_MATERIAL|ALL}}|MULTIPLY_VALUE|notfound=}}|
bone={{{bone|}}}|
+
size0={{#if:{{{size0|}}}|{{{size0|}}}|{{bodysize|{{/raw}}|0}}}}|
skull={{{skull|}}}|
+
size1={{#if:{{{size1|}}}|{{{size1|}}}|{{bodysize|{{/raw}}|1}}}}|
ivory={{{ivory|}}}|
+
size2={{#if:{{{size2|}}}|{{{size2|}}}|{{bodysize|{{/raw}}|2}}}}|
tooth={{{tooth|}}}|
+
childage={{tagvalue|{{/raw}}|BABY|notfound=}}|
hoof={{{hoof|}}}|
+
adultage={{tagvalue|{{/raw}}|CHILD|notfound=Birth}}|
horn={{{horn|}}}|
+
maxage={{#mreplace:{{tagvalue|{{/raw}}|MAXAGE|notfound=Immortal}}|:|-}}|
shell={{{shell|}}}|
+
death={{#if:{{{death|}}}|{{{death}}}|{{#ifexpr:{{#if:{{tag|{{/raw}}|INTELLIGENT}}|1|0}} or {{#if:{{tag|{{/raw}}|CAN_LEARN}}|1|0}} or {{#if:{{tag|{{/raw}}|NOT_BUTCHERABLE}}|1|0}}|nobutcher}}}}|
skin={{{skin|}}}|
+
eggs={{#ifeq:{{creature/eggs}}|0||{{creature/eggs}}}}|
 +
item={{#param:item|items|}}|
 +
meat={{#param:meat|meats|}}|
 +
fat={{#param:fat|fats|}}|
 +
brain={{#param:brain|brains|}}|
 +
gizzard={{#param:gizzard|gizzards|}}|
 +
heart={{#param:heart|hearts|}}|
 +
lung={{#param:lung|lungs|}}|
 +
intestine={{#param:intestine|intestines|}}|
 +
liver={{#param:liver|livers|}}|
 +
kidney={{#param:kidney|kidneys|}}|
 +
tripe={{#param:tripe|tripes|}}|
 +
sweetbread={{#param:sweetbread|sweetbreads|}}|
 +
eye={{#param:eye|eyes|}}|
 +
spleen={{#param:spleen|spleens|}}|
 +
bone={{#param:bone|bones|}}|
 +
skull={{#param:skull|skulls|}}|
 +
ivory={{#param:ivory|ivories|tusk|tusks|}}|
 +
tooth={{#param:tooth|teeth|}}|
 +
hoof={{#param:hoof|hooves|}}|
 +
horn={{#param:horn|horns|}}|
 +
shell={{#param:shell|shells|}}|
 +
skin={{{skin|{{#if:{{{hide|}}}|hide|{{#if:{{#param:scale|scales|}}|scale|{{#if:{{{chitin|}}}|chitin}} }} }} }}}|
 
wool={{{wool|}}}|
 
wool={{{wool|}}}|
gizzard_stone={{{gizzard_stone|}}}|
+
gizzard_stone={{#param:gizzard_stone|gizzard_stones|}}|
 +
feather={{#param:feather|feathers|}}|
 
contrib={{{contrib|}}}|
 
contrib={{{contrib|}}}|
wiki={{{wiki|}}}}}</includeonly><noinclude>[[category:raw templates]]</noinclude>
+
wiki={{#param:wiki|wp|wikipedia|}}}}</includeonly><noinclude>
 +
This is an intermediary template which pulls necessary details from the creature's raws and passes the results on to the proper CreatureInfo template for display.
 +
 
 +
[[category:raw templates]]</noinclude>

Revision as of 03:40, 5 January 2023

This is an intermediary template which pulls necessary details from the creature's raws and passes the results on to the proper CreatureInfo template for display.