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/variation"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (add notice)
m (Pass masterwork namespace to Template:creature/variation/0 when appropriate)
Line 1: Line 1:
{{creature/variation/0|{{creature/basename|{{{1|{{PAGENAME}} }}} }}|ns={{#switch:{{NAMESPACE}}|DF2012=DF2012|#default=cv}}}}<noinclude>{{creature/case notice}}
+
{{creature/variation/0|{{creature/basename|{{{1|{{PAGENAME}} }}} }}|ns={{#switch:{{NAMESPACE}}|DF2012=DF2012|Masterwork=Masterwork|#default=cv}}}}<noinclude>{{creature/case notice}}
  
 
Returns a mask for existing creature variations: 00, 01, 10, or 11 (first digit: "man", 2nd: "giant")
 
Returns a mask for existing creature variations: 00, 01, 10, or 11 (first digit: "man", 2nd: "giant")

Revision as of 19:14, 19 June 2013

00

Returns a mask for existing creature variations: 00, 01, 10, or 11 (first digit: "man", 2nd: "giant")

Additionally, "L" means "Large" exists, "G" means "Giant" exists. For compatibility, absence of these produces no text. (No variations=00, not 0000)

Examples

Ant:00

Bat:11

Cat:00