Template:Resloc: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>BravelyPeculiar
No edit summary
imported>BravelyPeculiar
No edit summary
Line 1: Line 1:
<div style="border: 1px solid #d2d2d2; padding: 2px 5px; font-size: 85%; border-left: 5px solid #36c;">This {{{type|resource}}}'s [[canonical resource path|canonical path]] is "'''{{{path}}}'''"{{{#if:{{{aoc_path}}}| (or "'''{{{aoc_path}}}'''" in the [[add-on content]] files)}}}. It is found in {{{locations|the base content files}}}.</div>
<div style="border: 1px solid #d2d2d2; padding: 2px 5px; font-size: 85%; border-left: 5px solid #36c;">This {{{type|resource}}} {{{#if:{{{aoc}}}| appears in the [[add-on content]] files, with a [[canonical resource path|canonical path]] of|'s [[canonical resource path|canonical path]] is}}} "'''{{{path}}}'''". It is found in {{{locations|the base content files}}}.</div>
<noinclude>
<noinclude>
<!-- Make sure the </div> is on the same line as the text to avoid extra spacing -->
<!-- Make sure the </div> is on the same line as the text to avoid extra spacing -->
Line 17: Line 17:
"example": "Actor/Pack/Armor_001_Upper.bactorpack"
"example": "Actor/Pack/Armor_001_Upper.bactorpack"
},
},
         "aoc_path": {
         "aoc": {
"type": "string",
"type": "boolean",
"label": "Aoc canonical path",
"label": "Is aoc resource?"
"example": "Aoc/0010/Movie/Demo655_0.mp4"
},
},
"locations": {
"locations": {

Revision as of 22:52, 7 September 2018

This resource appears in the add-on content files, with a canonical path of "{{{path}}}". It is found in the base 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
Is aoc resource?aoc

no description

Booleanoptional
location of filelocations

no description

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