Template:Resloc: Difference between revisions
Jump to navigation
Jump to search
add aoc_replaces_base
imported>Leoetlino (fix call to get_aoc_canonical_path (again)) |
imported>Leoetlino (add aoc_replaces_base) |
||
Line 7: | Line 7: | ||
This {{{type|resource}}}'s [[canonical resource path|canonical path]] is "'''{{{path}}}'''". It is found in {{#ifeq: {{{locations|_}}}|_|the unpacked content files|{{{locations}}}}}. | This {{{type|resource}}}'s [[canonical resource path|canonical path]] is "'''{{{path}}}'''". It is found in {{#ifeq: {{{locations|_}}}|_|the unpacked content files|{{{locations}}}}}. | ||
{{#if:{{{aoc_locations|}}} | {{#if:{{{aoc_locations|}}} | ||
|<br>If [[DLC]] is available, it will be loaded from {{{aoc_locations|the add-on content files}}} instead. Its canonical path is "'''{{#invoke:AocUtils|get_aoc_canonical_path|path={{{path}}}|aoc_only=false}}'''". | |<br>If [[DLC]] is available, {{#if: {{{aoc_replaces_base|}}}|it will be loaded from {{{aoc_locations|the add-on content files}}} instead|it can be found in {{{aoc_locations|the add-on content files}}}}}. Its canonical path is "'''{{#invoke:AocUtils|get_aoc_canonical_path|path={{{path}}}|aoc_only=false}}'''". | ||
}} | }} | ||
</div> | </div> | ||
Line 40: | Line 40: | ||
"type": "string", | "type": "string", | ||
"default": "the add-on content files", | "default": "the add-on content files", | ||
"suggested": true | |||
}, | |||
"aoc_replaces_base": { | |||
"label": "AoC replaces base content?", | |||
"description": "Whether the AoC version replaces the base content", | |||
"type": "boolean", | |||
"default": "false", | |||
"suggested": true | "suggested": true | ||
} | } |