Template:ReslocAoc: Difference between revisions

imported>Leoetlino
m (tweak wording)
imported>Leoetlino
m (add new lines to improve wikitext readability)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="resloc-box resloc-box-aoc">
<div class="resloc-box resloc-box-aoc">
If [[DLC]] is installed, this {{{type|resource}}} can be found in {{{locations|the add-on content files}}}. Its [[canonical resource path|canonical path]] is "'''{{#invoke:AocUtils|get_aoc_canonical_path|path={{{path}}}|aoc_only=true}}'''".
If the [[Add-on content|DLC]] is installed, this {{{type|resource}}} can be found in ''{{{locations|the unpacked content files}}}'' in the add-on content directory.
</div>
{{#if:{{{path|}}}|Its [[canonical resource path|canonical path]] is "'''{{#invoke:AocUtils|get_aoc_canonical_path|path={{{path}}}|aoc_only=true}}'''".}}
<noinclude>
</div><noinclude>
<templatedata>
<templatedata>
{
{
Line 14: Line 14:
"path": {
"path": {
"type": "string",
"type": "string",
"required": true,
"label": "Canonical path (with no prefix)",
"label": "Canonical path (with no prefix)",
"example": "Actor/Pack/Armor_001_Upper.bactorpack",
"example": "Actor/Pack/Armor_001_Upper.bactorpack",
"description": "The canonical path of the resource but WITHOUT any path prefixes (e.g. Aoc/0010/)"
"description": "The canonical path of the resource but WITHOUT any path prefixes (e.g. Aoc/0010/)",
"suggested": true
},
},
"locations": {
"locations": {
Line 23: Line 23:
"description": "Where the resource can be found in add-on content",
"description": "Where the resource can be found in add-on content",
"type": "string",
"type": "string",
"default": "the add-on content files",
"default": "the unpacked content files",
"required": true,
"suggested": true
"suggested": true
}
}

Latest revision as of 16:10, 10 September 2018

If the DLC is installed, this resource can be found in the unpacked content files in the add-on content directory.

Template that shows the location of an AoC-only resource

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item typetype

no description

Default
resource
Example
file
Stringoptional
Canonical path (with no prefix)path

The canonical path of the resource but WITHOUT any path prefixes (e.g. Aoc/0010/)

Example
Actor/Pack/Armor_001_Upper.bactorpack
Stringsuggested
Locationslocations

Where the resource can be found in add-on content

Default
the unpacked content files
Stringsuggested