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:Creature/exists"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (close pre tag)
m (cat link, end noinclude)
Line 10: Line 10:
 
<pre>{{creature/exists|Clown}}</pre>
 
<pre>{{creature/exists|Clown}}</pre>
 
Returns {{creature/exists|Clown}}
 
Returns {{creature/exists|Clown}}
 +
[[Category:Creature macros]]</noinclude>

Revision as of 22:42, 27 February 2013

0 Use to determine if a creature exists.

Usage:

{{creature/exists|name|namespace={{DF:Current}}}}
{{creature/exists|Aardvark}}

Returns 1

{{creature/exists|Clown}}

Returns 0