Template:ReslocAoc: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
(make path param optional)
imported>Leoetlino
mNo edit summary
Line 1: Line 1:
<div class="resloc-box resloc-box-aoc">
<div class="resloc-box resloc-box-aoc">
If the [[DLC]] is installed, this {{{type|resource}}} can be found in {{{locations|the add-on content files}}}.{{#if:{{{path|}}}| Its [[canonical resource path|canonical path]] is "'''{{#invoke:AocUtils|get_aoc_canonical_path|path={{{path}}}|aoc_only=true}}'''".}}
If the [[DLC]] is installed, this {{{type|resource}}} can be found in {{{locations|the add-on content files}}}. {{#if:{{{path|}}}|Its [[canonical resource path|canonical path]] is "'''{{#invoke:AocUtils|get_aoc_canonical_path|path={{{path}}}|aoc_only=true}}'''".}}
</div>
</div>
<noinclude>
<noinclude>

Revision as of 23:47, 8 September 2018

If the Add-on content is installed, this resource can be found in the add-on content files.

Template that shows the location of an AoC-only resource

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item typetype

no description

Default
resource
Example
file
Stringoptional
Canonical path (with no prefix)path

The canonical path of the resource but WITHOUT any path prefixes (e.g. Aoc/0010/)

Example
Actor/Pack/Armor_001_Upper.bactorpack
Stringsuggested
Locationslocations

Where the resource can be found in add-on content

Default
the add-on content files
Stringrequired