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

Revision as of 21:13, 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
locationslocations

location of file

Default
the '''base content files'''
Example
the '''base content files''', [[Bootup.pack]], and various [[bactorpack]] archives
Unknownoptional
If provided, the locations parameter will be ignoredarchive

Archive where the item can be found

Example
TitleBG.pack
Stringoptional