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:RawToTable"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<span style="color:#f00;">RawToTable: Copying the text below will yield a complete creature table as a result.</span>
 
<span style="color:#f00;">RawToTable: Copying the text below will yield a complete creature table as a result.</span>
<blockquote>
+
{{Quote Box|
 
<nowiki>{{CreatureWorking table row</nowiki><nowiki>|name=[[</nowiki>{{lc:{{#df_tagentry:{{{1}}}|NAME|1}}}}<nowiki>]]</nowiki><nowiki>|symbol=</nowiki>{{#df_tagvalue:{{{1}}}|CREATURE_TILE|?}}<nowiki>|color=</nowiki>{{#df_tagvalue:{{{1}}}|COLOR|7:0:1}}<nowiki>|hostile=</nowiki>{{#if:{{#df_tag:{{{1}}}|LARGE_PREDATOR}}|<nowiki>Y</nowiki>|{{#if:{{#df_tag:{{{1}}}|ATTACK_TRIGGER}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}}}<nowiki>|egg=</nowiki>{{#if:{{#df_tag:{{{1}}}|LAYS_EGGS}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}<nowiki>|meat=</nowiki>{{#switch:Y|{{#if:{{#df_tagentry:{{{1}}}|ITEMCORPSE||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|NOMEAT||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|NOT_BUTCHERABLE||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|SMALL_REMAINS||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|INTELLIGENT||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|CAN_LEARN||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|CAN_SPEAK||1}}|N|Y}}=<nowiki>N</nowiki>|#default={{#if:{{#if:{{#df_tagentry:{{{1}}}|FISHITEM||1}}||NONEMPTY}}{{#if:{{#df_tagentry:{{{1}}}|FISHITEM||1}}||NONEMPTY}}{{#if:{{#df_tagentry:{{{1}}}|MILKABLE||1}}||NONEMPTY}}|<nowiki>Y</nowiki>|<nowiki>N/A</nowiki>}}}}<nowiki>|swims=</nowiki>{{#if:{{#df_tag:{{{1}}}|SWIMS_INNATE}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}<nowiki>|flies=</nowiki>{{#if:{{#df_tag:{{{1}}}|FLIER}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}<nowiki>|magmasafe=</nowiki>{{#iferror: {{#ifexpr: ({{#df_tagvalue:{{{1}}}|IF_EXISTS_SET_MELTING_POINT|0}}) > 12000 |<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}|<nowiki>N</nowiki>}}<nowiki>|tamable=</nowiki>{{#if:{{#df_tag:{{{1}}}|PETVALUE}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}<nowiki>|trainable=</nowiki>{{#if:{{#df_tag:{{{1}}}|TRAINABLE}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}<nowiki>|biome=</nowiki>{{#df_foreachtag:{{{1}}}|BIOME|<nowiki>{{bIcon|</nowiki>\2<nowiki>}}</nowiki>}} {{#iferror: {{#ifexpr: ({{#df_tag:{{{1}}}|COMMON_DOMESTIC}}) = 1 |<nowiki>{{bIcon|DOMESTIC}}</nowiki>}}|}}{{#if:{{#df_tag:{{{1}}}|UNDERGROUND_DEPTH}}|<nowiki>{{bIcon|C</nowiki>{{#df_tagentry:{{{1}}}|UNDERGROUND_DEPTH|1}}<nowiki>}}{{bIcon|TO}}{{bIcon|C</nowiki>{{#df_tagentry:{{{1}}}|UNDERGROUND_DEPTH|2}}<nowiki>}}</nowiki>|}}<nowiki>|size=N/A</nowiki><nowiki>|value=</nowiki>{{#df_tagvalue:{{{1}}}|PETVALUE|0}}<nowiki>}}</nowiki>
 
<nowiki>{{CreatureWorking table row</nowiki><nowiki>|name=[[</nowiki>{{lc:{{#df_tagentry:{{{1}}}|NAME|1}}}}<nowiki>]]</nowiki><nowiki>|symbol=</nowiki>{{#df_tagvalue:{{{1}}}|CREATURE_TILE|?}}<nowiki>|color=</nowiki>{{#df_tagvalue:{{{1}}}|COLOR|7:0:1}}<nowiki>|hostile=</nowiki>{{#if:{{#df_tag:{{{1}}}|LARGE_PREDATOR}}|<nowiki>Y</nowiki>|{{#if:{{#df_tag:{{{1}}}|ATTACK_TRIGGER}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}}}<nowiki>|egg=</nowiki>{{#if:{{#df_tag:{{{1}}}|LAYS_EGGS}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}<nowiki>|meat=</nowiki>{{#switch:Y|{{#if:{{#df_tagentry:{{{1}}}|ITEMCORPSE||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|NOMEAT||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|NOT_BUTCHERABLE||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|SMALL_REMAINS||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|INTELLIGENT||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|CAN_LEARN||1}}|N|Y}}=<nowiki>N</nowiki>|{{#if:{{#df_tagentry:{{{1}}}|CAN_SPEAK||1}}|N|Y}}=<nowiki>N</nowiki>|#default={{#if:{{#if:{{#df_tagentry:{{{1}}}|FISHITEM||1}}||NONEMPTY}}{{#if:{{#df_tagentry:{{{1}}}|FISHITEM||1}}||NONEMPTY}}{{#if:{{#df_tagentry:{{{1}}}|MILKABLE||1}}||NONEMPTY}}|<nowiki>Y</nowiki>|<nowiki>N/A</nowiki>}}}}<nowiki>|swims=</nowiki>{{#if:{{#df_tag:{{{1}}}|SWIMS_INNATE}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}<nowiki>|flies=</nowiki>{{#if:{{#df_tag:{{{1}}}|FLIER}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}<nowiki>|magmasafe=</nowiki>{{#iferror: {{#ifexpr: ({{#df_tagvalue:{{{1}}}|IF_EXISTS_SET_MELTING_POINT|0}}) > 12000 |<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}|<nowiki>N</nowiki>}}<nowiki>|tamable=</nowiki>{{#if:{{#df_tag:{{{1}}}|PETVALUE}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}<nowiki>|trainable=</nowiki>{{#if:{{#df_tag:{{{1}}}|TRAINABLE}}|<nowiki>Y</nowiki>|<nowiki>N</nowiki>}}<nowiki>|biome=</nowiki>{{#df_foreachtag:{{{1}}}|BIOME|<nowiki>{{bIcon|</nowiki>\2<nowiki>}}</nowiki>}} {{#iferror: {{#ifexpr: ({{#df_tag:{{{1}}}|COMMON_DOMESTIC}}) = 1 |<nowiki>{{bIcon|DOMESTIC}}</nowiki>}}|}}{{#if:{{#df_tag:{{{1}}}|UNDERGROUND_DEPTH}}|<nowiki>{{bIcon|C</nowiki>{{#df_tagentry:{{{1}}}|UNDERGROUND_DEPTH|1}}<nowiki>}}{{bIcon|TO}}{{bIcon|C</nowiki>{{#df_tagentry:{{{1}}}|UNDERGROUND_DEPTH|2}}<nowiki>}}</nowiki>|}}<nowiki>|size=N/A</nowiki><nowiki>|value=</nowiki>{{#df_tagvalue:{{{1}}}|PETVALUE|0}}<nowiki>}}</nowiki>
</blockquote></includeonly><noinclude>{{documentation}}<noinclude>
+
}}</includeonly><noinclude>{{documentation}}<noinclude>

Revision as of 03:36, 18 April 2011