Scheduled system upgrade on Sunday 21 April 2024 15:00-16:00 UTC - On that day, the wiki and other services might go down for 5-15 minutes.

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
(15 intermediate revisions by the same user not shown)
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 at '''{{{path|the root directory}}}''' 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 {{{archive|{{{locations|the '''base content files'''}}}}}}.</div>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 10: Line 10:
"example": "resource"
"example": "resource"
},
},
        "path": {
"path": {
        "type": "string",
"type": "string",
             "default": "the root directory",
             "default": "the root directory",
            "label": "Filepath to item",
"label": "Filepath to item",
"example": "Actor/Pack/"
"example": "Actor/Pack/"
        },
},
"locations": {
            "type": "string",
            "default": "the '''base content files'''",
"label": "location of file",
"example": "the '''base content files''', [[Bootup.pack]], and various [[bactorpack]] archives"
},
"archive": {
"archive": {
"type": "string",
"type": "string",
"required": true,
"label": "Archive name",
"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"
},
"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:22, 6 September 2018

This resource is located at the root directory 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
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
Stringoptional
Archive namearchive

If provided, the locations parameter will be ignored

Example
TitleBG.pack
Stringoptional