Template:Resloc: Difference between revisions

no edit summary
imported>Leoetlino
(clean up the template mess by splitting AoC only logic into ReslocAoc)
imported>Leoetlino
No edit summary
Line 2: Line 2:
This {{{type|resource}}}'s [[canonical resource path|canonical path]] is "'''{{{path}}}'''". It is found in {{{locations|the unpacked content files}}}.
This {{{type|resource}}}'s [[canonical resource path|canonical path]] is "'''{{{path}}}'''". It is found in {{{locations|the unpacked content files}}}.
</div>{{#if:{{{aoc_locations|}}}
</div>{{#if:{{{aoc_locations|}}}
|<div class="resloc-box resloc-box-aoc">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 class="resloc-box resloc-box-aoc">If [[DLC]] is available, {{#if: {{{aoc_replaces_base|}}}|it will be loaded from {{#ifeq: {{{aoc_locations|_}}} |_|the add-on content files|{{{aoc_locations}}}}} instead|it can be found in {{#ifeq: {{{aoc_locations|_}}} |_|the add-on content files|{{{aoc_locations}}}}}. Its canonical path is "'''{{#invoke:AocUtils|get_aoc_canonical_path|path={{{path}}}|aoc_only=false}}'''".</div>
}}
}}
<noinclude>
<noinclude>
Anonymous user