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 param for separator)
m
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{creature/variation links/0|sep=-|{{ucfirst:{{#mreplace:{{{1|{{PAGENAME}}}}}|Giant||man||}}|}}}}<noinclude>
+
<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:
  
{{creature/variation links|Bat}}
+
Bat: {{creature/variation links|Bat}}
  
{{creature/variation links|Bat man}}
+
Bat man: {{creature/variation links|Bat man}}
  
{{creature/variation links|Giant bat}}
+
Giant bat: {{creature/variation links|Giant bat}}
  
{{creature/variation links|Ant man}}
+
Ant man: {{creature/variation links|Ant man}}
  
{{creature/variation links|Giant giraffe}}
+
Giant giraffe: {{creature/variation links|Giant giraffe}}
  
{{creature/variation links|Giant badger}}
+
Giant badger: {{creature/variation links|Giant badger}}
  
==To do==
+
Rat: {{creature/variation links|Rat}}
Fix creatures like "Giant red panda" so "Gigantic red panda" works:
 
  
{{creature/variation links|panda}}
+
Panda: {{creature/variation links|Panda}}
  
{{creature/variation links|giant red panda}}
+
Squid: {{creature/variation links|Squid}}
  
 +
[[/case examples|Case sensitivity examples]]
 +
===List===
 +
Harp seal:
 +
*{{creature/variation links|Harp seal|sep=<li>}}
 +
 +
 +
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]])
 +
 +
[[Category:Creature macros]]
 
</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)