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.

Template talk:Creature/variation links

From Dwarf Fortress Wiki
Revision as of 23:57, 5 March 2013 by Lethosor (talk | contribs) (preventing links to non-creatures)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Preventing links to non-creatures[edit]

I changed #ifexists to look for /raw, which looks like it prevents Fire man from showing a link to Fire. Conveniently, however, magma contains raws, which cause magma man to point to it (as does plump helmet). I guess the only foolproof way it to actually check for a [CREATURE] tag. --Lethosor (talk) 23:57, 5 March 2013 (UTC)