Template:Resloc: Difference between revisions

Jump to navigation Jump to search
Revamped to use canonical paths
imported>BravelyPeculiar
No edit summary
imported>BravelyPeculiar
(Revamped to use canonical paths)
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 {{{archive|{{{locations|the '''base content files'''}}}}}}.</div>
<div style="border: 1px solid #d2d2d2; padding: 2px 5px; font-size: 85%; border-left: 5px solid #36c;">This {{{type|resource}}}'s [[canonical resource path]] is {{{path}}}.
It is found in {{{locations|the '''base content files'''}}}.</div>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 8: Line 9:
"default": "resource",
"default": "resource",
"label": "Item type",
"label": "Item type",
"example": "resource"
"example": "file"
},
},
"path": {
"path": {
"type": "string",
"type": "string",
             "default": "the '''root directory'''",
             "required": true,
"label": "Filepath to item",
"label": "Canonical path",
"example": "Actor/Pack/"
"example": "Actor/Pack/Armor_001_Upper.bactorpack"
},
},
"locations": {
"locations": {
Line 21: Line 22:
"label": "location of file",
"label": "location of file",
"example": "the '''base content files''', [[Bootup.pack]], and various [[bactorpack]] archives"
"example": "the '''base content files''', [[Bootup.pack]], and various [[bactorpack]] archives"
},
"archive": {
"type": "string",
"label": "Archive name",
"description": "If provided, the locations parameter will be ignored",
"example": "TitleBG.pack"
}
}
},
},

Navigation menu