Content added Content deleted
(Added bag template) |
Horblegorble (talk | contribs) No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
| colspan="2" style="height: 10px;" | |
| colspan="2" style="height: 10px;" | |
||
|- |
|- |
||
| class="infobox-texttitle" | |
| class="infobox-texttitle" style="padding-right:10px"| Type |
||
| class="infobox-text" | [[Bags|Bag]] |
|||
|- |
|||
| class="infobox-texttitle" style="padding-right:10px"| [[Quality]] |
|||
| class="infobox-text" | {{{quality|}}} |
| class="infobox-text" | {{{quality|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Slot |
| class="infobox-texttitle" style="padding-right:10px"| Slot |
||
| class="infobox-text" | {{{slot|}}} |
| class="infobox-text" | {{{slot|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Capacity |
| class="infobox-texttitle" style="padding-right:10px"| Capacity |
||
| class="infobox-text" | {{{capacity|}}} |
| class="infobox-text" | {{{capacity|}}} |
||
|- |
|- |
||
Line 25: | Line 28: | ||
| colspan="2" class="infobox-title" | Technical Information |
| colspan="2" class="infobox-title" | Technical Information |
||
|- |
|- |
||
| class="infobox-texttitle" | .vox File |
| class="infobox-texttitle" style="padding-right:10px"| .vox File |
||
| class="infobox-text" | {{{vox|}}} |
| class="infobox-text" | {{{vox|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | .ron File |
| class="infobox-texttitle" style="padding-right:10px"| .ron File |
||
| class="infobox-text" | {{{ron|}}} |
| class="infobox-text" | {{{ron|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Recipe |
| class="infobox-texttitle" style="padding-right:10px"| Recipe |
||
| class="infobox-text" | {{#if:{{{recipe|}}}|[https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L{{{recipe|}}}]|}} |
| class="infobox-text" | {{#if:{{{recipe|}}}|[https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L{{{recipe|}}}]|}} |
||
|} |
|} |
||
<includeonly> |
<includeonly> |
||
[[Category:Bags]] |
[[Category:Bags]]</includeonly> |
||
</includeonly> |
|||
</onlyinclude> |
</onlyinclude> |
||
<noinclude> |
<noinclude> |
||
<templatedata> |
<templatedata> |
||
Line 51: | Line 54: | ||
}, |
}, |
||
"quality": { |
"quality": { |
||
"label": "Quality.", |
|||
"label": "Quality. Choose and type one of them between the {{ }} : Low, Common, Moderate, High, Epic, Legendary", |
|||
"description": "The quality colour of the bag.", |
"description": "The quality colour of the bag.", |
||
"example": "{{Common}}", |
"example": "{{Common}}", |
||
"type": " |
"type": "string", |
||
"autovalue": " |
"autovalue": "", |
||
"required": true |
"required": true, |
||
"suggestedvalues": [ |
|||
"{{Low}}", |
|||
"{{Common}}", |
|||
"{{Moderate}}", |
|||
"{{High}}", |
|||
"{{Epic}}", |
|||
"{{Legendary}}" |
|||
] |
|||
}, |
}, |
||
"slot": { |
|||
"label": "Equip slot", |
"label": "Equip slot", |
||
"description": "Whether the bag is for bag slots or for the back", |
"description": "Whether the bag is for bag slots or for the back", |
||
"example": "Bag", |
"example": "Bag", |
||
"type": "string", |
"type": "string", |
||
"autovalue": " |
"autovalue": "bag", |
||
"required": true |
"required": true, |
||
"suggestedvalues": [ |
|||
"back", |
|||
"bag" |
|||
] |
|||
}, |
}, |
||
"capacity": { |
|||
"label": "Added item slots", |
"label": "Added item slots", |
||
"description": "The amount of item slots added to the inventory when the bag is equipped.", |
"description": "The amount of item slots added to the inventory when the bag is equipped.", |
||
Line 76: | Line 91: | ||
"vox": { |
"vox": { |
||
"label": ".vox File", |
"label": ".vox File", |
||
"description": "The file link as linked on gitlab.com/veloren/veloren |
"description": "The file link as linked on gitlab.com/veloren/veloren.", |
||
"example": " |
"example": "https://gitlab.com/veloren/veloren/-/blob/master/assets/voxygen/voxel/armor/misc/bag/knitted_red_pouch.vox knitted_red_pouch.vox", |
||
"type": " |
"type": "string", |
||
"autovalue": " |
"autovalue": "", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
"ron": { |
"ron": { |
||
"label": ".ron File", |
"label": ".ron File", |
||
"description": "The gitlab link to the .ron file |
"description": "The gitlab link to the .ron file.", |
||
"example": " |
"example": "https://gitlab.com/veloren/veloren/-/blob/master/assets/common/items/armor/misc/bag/knitted_red_pouch.ron", |
||
"type": "url", |
"type": "url", |
||
"autovalue": " |
"autovalue": "", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
Line 103: | Line 118: | ||
"quality", |
"quality", |
||
"slot", |
"slot", |
||
"capacity", |
|||
"vox", |
"vox", |
||
"ron", |
"ron", |
Latest revision as of 12:30, 10 August 2023
File:Veloren Infobox bag.png | |
Infobox bag | |
Statistics | |
Type | Bag |
Quality | |
Slot | |
Capacity | |
Technical Information | |
.vox File | |
.ron File | |
Recipe |
An infobox template used for [[Bags]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
Description | description | The description of the item as given on the tooltip when you hover over it.
| String | required |
Quality. | quality | The quality colour of the bag.
| String | required |
Equip slot | slot | Whether the bag is for bag slots or for the back
| String | required |
Added item slots | capacity | The amount of item slots added to the inventory when the bag is equipped.
| Number | required |
.vox File | vox | The file link as linked on gitlab.com/veloren/veloren.
| String | suggested |
.ron File | ron | The gitlab link to the .ron file.
| URL | suggested |
Number of the line of code to the recipe | recipe | The link to the line of code in the recipe book : https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L### where ### is a number
| Number | suggested |