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
(Testing)
m
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{/0|{{ucfirst:{{#mreplace:{{{1}}}|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:
  
{{/0|Ant}}
+
Bat: {{creature/variation links|Bat}}
  
{{/0|Ant man}}
+
Bat man: {{creature/variation links|Bat man}}
  
{{/0|Giant ant}}
+
Giant bat: {{creature/variation links|Giant bat}}
 +
 
 +
Ant man: {{creature/variation links|Ant man}}
 +
 
 +
Giant giraffe: {{creature/variation links|Giant giraffe}}
 +
 
 +
Giant badger: {{creature/variation links|Giant badger}}
 +
 
 +
Rat: {{creature/variation links|Rat}}
 +
 
 +
Panda: {{creature/variation links|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)