Template:Resloc: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>BravelyPeculiar
No edit summary
imported>Leoetlino
(templatedata)
Line 9: Line 9:
"default": "resource",
"default": "resource",
"label": "Item type",
"label": "Item type",
"example": "file"
"example": "file",
"suggested": true
},
},
"path": {
"path": {
Line 17: Line 18:
"example": "Actor/Pack/Armor_001_Upper.bactorpack"
"example": "Actor/Pack/Armor_001_Upper.bactorpack"
},
},
        "aoc_code": {
"aoc_code": {
"type": "string",
"type": "string",
"label": "Aoc code",
"label": "Add-on content code",
            "example": "0010",
"example": "0010",
            "description": "Exclude for non-aoc resources"
"description": "Ignore for non-aoc resources"
},
},
        "aoc_exception": {
"aoc_exception": {
"type": "boolean",
"type": "boolean",
"label": "Aoc path exception?",
"label": "AoC path exception?",
            "description": "Does this resource use a canonical path with no 'Aoc/XXXX' prefix, despite being an aoc file?"
"description": "Does this resource use a canonical path with no 'Aoc/XXXX' prefix, despite being an aoc file?"
        },
},
"locations": {
"locations": {
"type": "string",
"type": "string",

Revision as of 12:03, 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
Stringsuggested
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