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 (add no)
m (rm old work items)
Line 26: Line 26:
  
  
==To do==
+
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. (ex. [[DF2012:Giant tortoise]], [[DF2012:Fire man]])
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===
 
<s>Fire man: {{creature/variation links|Fire man}}</s>
 
 
<s>Magma man: </s>
 
 
<s>Plump helmet man: {{creature/variation links|Plump helmet man}}</s>
 
 
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===
 
<s>Giant: {{creature/variation links|Giant}}</s>
 
 
===Other incorrect parsing of variations (including redlinks, missing creatures, etc.)===
 
<s>Giant tortoise: {{creature/variation links|Giant tortoise}}([[Giant tortoise man]] is missing)</s> 
 
:'''Note:''' [[Giant tortoise man]] does contain links to other correct variations, but not to itself.
 
 
<s>Giant mantis: {{creature/variation links|Giant mantis}}(Both "giant" and "man" are parsed out)</s>
 
 
</noinclude>
 
</noinclude>

Revision as of 19:26, 11 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:


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. (ex. DF2012:Giant tortoise, DF2012:Fire man)