Template:Resloc: Difference between revisions
m
fix #if syntax
imported>BravelyPeculiar No edit summary |
imported>Leoetlino m (fix #if syntax) |
||
Line 1: | Line 1: | ||
<div class="resloc-box resloc-box-normal"> | <div class="resloc-box resloc-box-normal"> | ||
This {{{type|resource}}} is found in ''{{{locations|the unpacked content files}}}''. {{#if:{{{path|}}}Its [[canonical resource path|canonical path]] is "'''{{{path}}}'''".}} | This {{{type|resource}}} is found in ''{{{locations|the unpacked content files}}}''. {{#if:{{{path|}}}|Its [[canonical resource path|canonical path]] is "'''{{{path}}}'''".}} | ||
</div>{{#if:{{{aoc_locations|}}} | </div>{{#if:{{{aoc_locations|}}} | ||
|<div class="resloc-box resloc-box-aoc">If the [[Add-on content|DLC]] is installed, this {{{type|resource}}} {{#if: {{{aoc_replaces_base|}}}|will be loaded from {{#ifeq: ''{{{aoc_locations|_}}}'' |_|the add-on content files|''{{{aoc_locations}}}''}} in the add-on content directory instead|can be found in ''{{#ifeq: {{{aoc_locations|_}}} |_|the unpacked content files|{{{aoc_locations}}}}}'' in the add-on content directory}}. {{#if:{{{path|}}}|Its canonical path is "'''{{#invoke:AocUtils|get_aoc_canonical_path|path={{{path}}}|aoc_only=false}}'''".}}</div> | |<div class="resloc-box resloc-box-aoc">If the [[Add-on content|DLC]] is installed, this {{{type|resource}}} {{#if: {{{aoc_replaces_base|}}}|will be loaded from {{#ifeq: ''{{{aoc_locations|_}}}'' |_|the add-on content files|''{{{aoc_locations}}}''}} in the add-on content directory instead|can be found in ''{{#ifeq: {{{aoc_locations|_}}} |_|the unpacked content files|{{{aoc_locations}}}}}'' in the add-on content directory}}. {{#if:{{{path|}}}|Its canonical path is "'''{{#invoke:AocUtils|get_aoc_canonical_path|path={{{path}}}|aoc_only=false}}'''".}}</div> |