Difference between revisions of "Template:Creature/variation links"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (add no)
m
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{creature/variation links/0|sep={{{sep|-}}}|ns={{#switch:{{NAMESPACE}}|DF2012=DF2012|#default=cv}}|{{Creature/basename|{{{1|{{PAGENAME}} }}} }} }}</includeonly><noinclude>{{creature/case notice}}
+
<includeonly>{{creature/variation links/0|sep={{{sep|-}}}|ns={{#switch:{{NAMESPACE}}|DF2014=DF2014|v0.34=v0.34|v0.31=v0.31|40d=40d|23a=23a|Masterwork=Masterwork|#default=cv}}|{{Creature/basename|{{{1|{{PAGENAME}} }}} }} }}</includeonly><noinclude>{{creature/case notice}}
 
Examples:
 
Examples:
  
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.
+
[[Category:Creature macros]]
 
 
===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>

Latest revision as of 06:30, 13 September 2017

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[edit]

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)