Template:Resloc: Difference between revisions

no edit summary
imported>BravelyPeculiar
No edit summary
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 {{#if:{{{aoc|}}}|#90c;|#36c;}}">This {{{type|resource}}}{{#if:{{{aoc|}}}|<nowiki> </nowiki>appears in the game's [[add-on content]], with a [[canonical resource path|canonical path]] of|'s [[canonical resource path|canonical path]] is}} "'''{{{path}}}'''". It is found in {{{locations|the unpacked content files}}}.</div>
<div style="border: 1px solid #d2d2d2; padding: 2px 5px; font-size: 85%; border-left: 5px solid {{#if:{{{aoc_code|}}}|#90c;|#36c;}}">This {{{type|resource}}}{{#if:{{{aoc_code|}}}|<nowiki> </nowiki>appears in the game's [[add-on content]], with a [[canonical resource path|canonical path]] of|'s [[canonical resource path|canonical path]] is}} "'''{{#if:{{{aoc_code}}}|#if:{{{aoc_exception}}}||Aoc/{{{aoc_code}}}/}}{{{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 17:
"example": "Actor/Pack/Armor_001_Upper.bactorpack"
"example": "Actor/Pack/Armor_001_Upper.bactorpack"
},
},
         "aoc": {
         "aoc_code": {
"type": "string",
"label": "Aoc code",
            "example": "0010",
            "aliases": ["aoc"]
},
        "aoc_exception": {
"type": "boolean",
"type": "boolean",
"label": "Aoc resource?"
"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",