Template:Resloc: Difference between revisions
Jump to navigation
Jump to search
imported>Leoetlino (move template styles to common CSS) |
imported>Leoetlino m (remove workaround for <p>) |
||
Line 1: | Line 1: | ||
<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> | <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> | ||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 15:12, 8 September 2018
This resource's canonical path is "{{{path}}}". It is found in the unpacked content files.
Notice template that shows the location of a resource
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item type | type | no description
| String | optional |
Canonical path | path | no description
| String | required |
Add-on content code | aoc_code | Ignore for non-aoc resources
| String | optional |
AoC path exception? | aoc_exception | Does this resource use a canonical path with no 'Aoc/XXXX' prefix, despite being an aoc file? | Boolean | optional |
location of file | locations | no description
| String | optional |