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
Cdombroski (talk | contribs) m (Pass masterwork namespace to Template:creature/variation/0 when appropriate) |
(→Examples: add rat) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{creature/variation/0|{{creature/basename|{{{1|{{PAGENAME}} }}} }}|ns={{#switch:{{NAMESPACE}}| | + | {{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