Template:Resloc: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
(update templatedata again)
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}}} is located in {{{locations|the {{{archive}}} [[SARC|archive]]}}}.</div>
<div style="border: 1px solid #d2d2d2; padding: 2px 5px; font-size: 85%; border-left: 5px solid #36c;">This {{{type|resource}}} is located at '''{{{path|the root directory}}}''' in {{{locations|the {{{archive}}} [[SARC|archive]]}}}.</div>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 10: Line 10:
"example": "resource"
"example": "resource"
},
},
        "path": {
        "type": "string",
            "default": "the root directory",
            "label": "Filepath to item",
"example": "Actor/Pack/"
        },
"archive": {
"archive": {
"type": "string",
"type": "string",
Line 18: Line 24:
},
},
"locations": {
"locations": {
"description": "If provided, the archive parameter will be ignored."
"description": "If provided, the archive parameter will be ignored.",
            "example": "the '''base content files''', [[Bootup.pack]], and various [[bactorpack]] archives"
}
}
},
},

Revision as of 20:30, 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

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
Archive namearchive

Archive where the item can be found

Example
TitleBG.pack
Stringrequired
locationslocations

If provided, the archive parameter will be ignored.

Example
the '''base content files''', [[Bootup.pack]], and various [[bactorpack]] archives
Unknownoptional