Template:Resloc: Difference between revisions
Jump to navigation
Jump to search
m
hide resource in templatedata
imported>BravelyPeculiar No edit summary |
imported>Leoetlino m (hide resource in templatedata) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div | <templatestyles src="Resloc/styles.css" /> | ||
<div class="resloc-box resloc-box-{{#if:{{{aoc_code|}}}|aoc|normal}}">{{#if:{{{aoc_code|}}}|{{#if:{{{aoc_exception|}}}|This {{{type|resource}}} appears in the game's [[add-on content]] under '''{{{aoc_code}}}''', but it uses the [[canonical resource path|canonical path]] "'''{{{path}}}'''" (without the ''Aoc/{{{aoc_code}}}/'' prefix).|This {{{type|resource}}} appears in the game's [[add-on content]] with the [[canonical resource path|canonical path]] "'''Aoc/{{{aoc_code}}}/{{{path}}}'''".}}|This {{{type|resource}}}'s [[canonical resource path|canonical path]] is "'''{{{path}}}'''".}} It is found in {{{locations|the unpacked content files}}}.</div> | |||
<noinclude> | <noinclude> | ||
<!-- Make sure the </div> is on the same line as the text to avoid extra spacing --> | <!-- Make sure the </div> is on the same line as the text to avoid extra spacing --> | ||
Line 17: | Line 18: | ||
"example": "Actor/Pack/Armor_001_Upper.bactorpack" | "example": "Actor/Pack/Armor_001_Upper.bactorpack" | ||
}, | }, | ||
"aoc_code": { | |||
"type": "string", | "type": "string", | ||
"label": " | "label": "Add-on content code", | ||
"example": "0010", | |||
"description": "Ignore for non-aoc resources" | |||
}, | }, | ||
"aoc_exception": { | |||
"type": "boolean", | "type": "boolean", | ||
"label": " | "label": "AoC path exception?", | ||
"description": "Does this resource use a canonical path with no 'Aoc/XXXX' prefix, despite being an aoc file?" | |||
}, | |||
"locations": { | "locations": { | ||
"type": "string", | "type": "string", |