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
(Created page)
 
(→‎Examples: add rat)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{/0|{{creature/basename|{{{1}}}}}<noinclude>
+
{{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")
 +
 +
Additionally, "L" means "Large" exists, "G" means "Giant" exists. For compatibility, absence of these produces no text. (No variations=00, not 0000)
 +
==Examples==
 +
Ant:{{creature/variation|ant}}
 +
 +
Bat:{{creature/variation|bat}}
 +
 +
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)