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 17: Line 17:
},
},
"locations": {
"locations": {
"description": "location of file",
"label": "location of file",
            "required": true,
             "default": "the '''base content files'''",
             "default": "the '''base content files'''",
"example": "the '''base content files''', [[Bootup.pack]], and various [[bactorpack]] archives"
"example": "the '''base content files''', [[Bootup.pack]], and various [[bactorpack]] archives"
Line 23: Line 24:
"archive": {
"archive": {
"type": "string",
"type": "string",
"label": "If provided, the locations parameter will be ignored",
"label": "Archive name",
"description": "Archive where the item can be found",
"description": "If provided, the locations parameter will be ignored",
"example": "TitleBG.pack"
"example": "TitleBG.pack"
}
}

Revision as of 21:15, 6 September 2018

This resource is located at the root directory in the {{{archive}}} archive.

Notice template that shows the location of a resource

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item typetype

no description

Default
resource
Example
resource
Stringoptional
Filepath to itempath

no description

Default
the root directory
Example
Actor/Pack/
Stringoptional
location of filelocations

no description

Default
the '''base content files'''
Example
the '''base content files''', [[Bootup.pack]], and various [[bactorpack]] archives
Unknownrequired
Archive namearchive

If provided, the locations parameter will be ignored

Example
TitleBG.pack
Stringoptional