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:Variation raw"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (undo this for now - was going to have my bot run through and fix these, but it can't login right now...)
m
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{5|}}}|{{#df_raw:{{{1}}}|{{{2}}}|{{{3}}}|not found}}|{{#df_cvariation:{{#df_raw:{{{1}}}|{{{2}}}|{{{3}}}|not found}}|{{{1}}}|{{{4}}}}}}}</includeonly><noinclude>
+
<includeonly>{{#if:{{{4|}}}|{{#df_raw:{{{1}}}|{{{2}}}|{{{3}}}|not found}}|{{#df_cvariation:{{#df_raw:{{{1}}}|{{{2}}}|{{{3}}}|not found}}|{{{1}}}|{{{5}}}|{{{6|}}}}}}}</includeonly><noinclude>
Usage: <nowiki>{{variation raw | raw filename | object type | object name | variation file | no_decode}}</nowiki>
+
Usage: <nowiki>{{variation raw | raw filename | object type | object name | no_decode | variation file 1 | variation file 2}}</nowiki>
  
 
Returns: Raw entry of that object, with all formatting intact. If a value is not specified for 'no_decode', parses creature variations from the specified file and produces composite raws.
 
Returns: Raw entry of that object, with all formatting intact. If a value is not specified for 'no_decode', parses creature variations from the specified file and produces composite raws.
 +
 +
In order to support the Masterwork mod, up to 2 creature variation files can be specified.
  
 
[[category:raw templates]]
 
[[category:raw templates]]
 
</noinclude>
 
</noinclude>

Revision as of 19:10, 25 June 2013

Usage: {{variation raw | raw filename | object type | object name | no_decode | variation file 1 | variation file 2}}

Returns: Raw entry of that object, with all formatting intact. If a value is not specified for 'no_decode', parses creature variations from the specified file and produces composite raws.

In order to support the Masterwork mod, up to 2 creature variation files can be specified.