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.

Editing Template:Creature/variation links

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<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}}
+
<includeonly>{{creature/variation links/0|sep={{{sep|-}}}|ns={{#switch:{{NAMESPACE}}|DF2012=DF2012|#default=cv}}|{{Creature/basename|{{{1|{{PAGENAME}} }}} }} }}</includeonly><noinclude>{{creature/case notice}}
 
Examples:
 
Examples:
  
Line 26: Line 26:
  
  
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]])
+
==To do==
 +
Fix errant links:
  
[[Category:Creature macros]]
+
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>

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)