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"
Jump to navigation
Jump to search
m (add PAGENAME) |
(→Examples: add rat) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{/0|{{creature/basename|{{{1|{{PAGENAME}}}}}}}}}<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== | ==Examples== | ||
Ant:{{creature/variation|ant}} | Ant:{{creature/variation|ant}} | ||
Line 7: | 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