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"
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 (Protected "Template:Variation raw" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{ | + | <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 | | + | 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. | ||
+ | |||
+ | This template uses [https://github.com/DF-Wiki/DFRawFunctions DFRawFunctions extension] | ||
[[category:raw templates]] | [[category:raw templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 22:44, 29 November 2023
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.
This template uses DFRawFunctions extension