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 links"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (link to more examples)
Line 20: Line 20:
 
Squid: {{creature/variation links|Squid}}
 
Squid: {{creature/variation links|Squid}}
  
Giant red panda: {{creature/variation links|Giant red panda}}
+
[[/case examples|Case sensitivity examples]]
 
 
 
===List===
 
===List===
 
Harp seal:
 
Harp seal:
Line 35: Line 34:
 
<s>Fire man: {{creature/variation links|Fire man}}</s>
 
<s>Fire man: {{creature/variation links|Fire man}}</s>
  
<s>Magma man: {{creature/variation links|Magma man}}</s>
+
<s>Magma man: </s>
  
 
<s>Plump helmet man: {{creature/variation links|Plump helmet man}}</s>
 
<s>Plump helmet man: {{creature/variation links|Plump helmet man}}</s>
Line 41: Line 40:
 
I think I've got all the odd "man" creature pages fixed...
 
I think I've got all the odd "man" creature pages fixed...
  
:Confirmed, [[Amethyst man]] and [[blood man]] work correctly:
+
:Confirmed, [[Amethyst man]] and [[blood man]] work correctly
  
 
===Creatures that produce unwanted text===
 
===Creatures that produce unwanted text===

Revision as of 14:11, 6 March 2013

Examples:

Bat: Bat - Bat man - Giant bat

Bat man: Bat - Bat man - Giant bat

Giant bat: Bat - Bat man - Giant bat

Ant man: Ant

Giant giraffe: Giraffe - Giraffe man - Giant giraffe

Giant badger: Badger - Badger man - Giant badger

Rat: Rat - Rat man - Large rat - Giant rat

Panda: Panda - Panda man - Gigantic panda

Squid: Squid - Squid man - Gigantic squid

Case sensitivity examples

List

Harp seal:


To do

Fix errant links:

NOTE: the automatic variation information can be overridden by passing a "vary" parameter to creaturelookup/0. Passing a value of "no" will disable variation information; all other passed values will be displayed in the variation box.

Links that link to non-creatures

Fire man: Fire - Fire man

Magma man:

Plump helmet man: Plump helmet - Plump helmet man

I think I've got all the odd "man" creature pages fixed...

Confirmed, Amethyst man and blood man work correctly

Creatures that produce unwanted text

Giant: Giant

Other incorrect parsing of variations (including redlinks, missing creatures, etc.)

Giant tortoise: - Giant tortoise - Gigantic tortoise(Giant tortoise man is missing)

Note: Giant tortoise man does contain links to other correct variations, but not to itself.

Giant mantis: Mantis - Mantis man - Giant mantis (Both "giant" and "man" are parsed out)