Template:Resloc: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
m (hide resource in templatedata)
imported>Leoetlino
(move template styles to common CSS)
Line 1: Line 1:
<templatestyles src="Resloc/styles.css" />
<div class="resloc-box resloc-box-{{#if:{{{aoc_code|}}}|aoc|normal}}">{{#if:{{{aoc_code|}}}|{{#if:{{{aoc_exception|}}}|This {{{type|resource}}} appears in the game's [[add-on content]] under '''{{{aoc_code}}}''', but it uses the [[canonical resource path|canonical path]] "'''{{{path}}}'''" (without the ''Aoc/{{{aoc_code}}}/'' prefix).|This {{{type|resource}}} appears in the game's [[add-on content]] with the [[canonical resource path|canonical path]] "'''Aoc/{{{aoc_code}}}/{{{path}}}'''".}}|This {{{type|resource}}}'s [[canonical resource path|canonical path]] is "'''{{{path}}}'''".}} It is found in {{{locations|the unpacked content files}}}.</div>
<div class="resloc-box resloc-box-{{#if:{{{aoc_code|}}}|aoc|normal}}">{{#if:{{{aoc_code|}}}|{{#if:{{{aoc_exception|}}}|This {{{type|resource}}} appears in the game's [[add-on content]] under '''{{{aoc_code}}}''', but it uses the [[canonical resource path|canonical path]] "'''{{{path}}}'''" (without the ''Aoc/{{{aoc_code}}}/'' prefix).|This {{{type|resource}}} appears in the game's [[add-on content]] with the [[canonical resource path|canonical path]] "'''Aoc/{{{aoc_code}}}/{{{path}}}'''".}}|This {{{type|resource}}}'s [[canonical resource path|canonical path]] is "'''{{{path}}}'''".}} It is found in {{{locations|the unpacked content files}}}.</div>
<noinclude>
<noinclude>

Revision as of 13:31, 8 September 2018

This resource's canonical path is "{{{path}}}". It is found in the unpacked content files.

Notice template that shows the location of a resource

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item typetype

no description

Default
resource
Example
file
Stringoptional
Canonical pathpath

no description

Example
Actor/Pack/Armor_001_Upper.bactorpack
Stringrequired
Add-on content codeaoc_code

Ignore for non-aoc resources

Example
0010
Stringoptional
AoC path exception?aoc_exception

Does this resource use a canonical path with no 'Aoc/XXXX' prefix, despite being an aoc file?

Booleanoptional
location of filelocations

no description

Default
the base content files
Example
the base content files, [[Bootup.pack]], and various [[bactorpack]] archives
Stringoptional