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/0"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (add existence check for base variation)
m (rm newline)
Line 1: Line 1:
{{#ifexist:{{{ns}}}:{{{1}}}|[[{{{ns}}}:{{{1}}}|{{{1}}}]]}} {{#ifexist:{{{ns}}}:{{{1}}} man/raw|{{{sep|-}}} [[{{{ns}}}:{{{1}}} man|{{{1}}} man]]}} {{#ifexist:{{{ns}}}:Large {{lcfirst:{{{1}}}}}/raw|{{{sep|-}}} [[{{{ns}}}:Large {{lcfirst:{{{1}}}}}|Large {{lcfirst:{{{1}}}}}]]}} {{#ifexist:{{{ns}}}:Giant {{lcfirst:{{{1}}}}}/raw|{{{sep|-}}} [[{{{ns}}}:Giant {{lcfirst:{{{1}}}}}|Giant {{lcfirst:{{{1}}}}}]]}} {{#ifexist:{{{ns}}}:Gigantic {{lcfirst:{{{1}}}}}/raw|{{{sep|-}}} [[{{{ns}}}:Gigantic {{lcfirst:{{{1}}}}}|Gigantic {{lcfirst:{{{1}}}}}]]}}
+
{{#ifexist:{{{ns}}}:{{{1}}}|[[{{{ns}}}:{{{1}}}|{{{1}}}]]}} {{#ifexist:{{{ns}}}:{{{1}}} man/raw|{{{sep|-}}} [[{{{ns}}}:{{{1}}} man|{{{1}}} man]]}} {{#ifexist:{{{ns}}}:Large {{lcfirst:{{{1}}}}}/raw|{{{sep|-}}} [[{{{ns}}}:Large {{lcfirst:{{{1}}}}}|Large {{lcfirst:{{{1}}}}}]]}} {{#ifexist:{{{ns}}}:Giant {{lcfirst:{{{1}}}}}/raw|{{{sep|-}}} [[{{{ns}}}:Giant {{lcfirst:{{{1}}}}}|Giant {{lcfirst:{{{1}}}}}]]}} {{#ifexist:{{{ns}}}:Gigantic {{lcfirst:{{{1}}}}}/raw|{{{sep|-}}} [[{{{ns}}}:Gigantic {{lcfirst:{{{1}}}}}|Gigantic {{lcfirst:{{{1}}}}}]]}}<noinclude>
<noinclude>
 
 
This does the "work" - the parent template just makes it look pretty.
 
This does the "work" - the parent template just makes it look pretty.
  

Revision as of 02:39, 6 March 2013

This does the "work" - the parent template just makes it look pretty.

Tests: Aardvark - Aardvark man - Giant aardvark

Fire - Fire man