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)
(→‎Examples: add rat)
 
(2 intermediate revisions by 2 users not shown)
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|Masterwork={{NAMESPACE}}|#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")
Line 10: Line 10:
  
 
Cat:{{creature/variation|cat}}
 
Cat:{{creature/variation|cat}}
 +
 +
Rat:{{creature/variation|rat}} ([[Large rat]], [[giant rat]], but no [[Special:search/rat man|rat man]])
 
</noinclude>
 
</noinclude>

Latest revision as of 20:50, 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[edit]

Ant:00

Bat:11

Cat:00

Rat:11L (Large rat, giant rat, but no rat man)