m (Neck will be recognized as type) |
m (Added left-padding. Reworked links system with 2 parameters : URL + URLtext. set craftable as bolean (checkbox yes/no) and made recipe section diseaspear if the item isn't craftable. And then...Lot infobox to correct once i launch it.) |
||
Line 10:
|-
| class="infobox-texttitle" | Type
| class="infobox-text" style="padding-left:10px" | [https://wiki.veloren.net/wiki/Armor#{{{type|}}}]
|-
| class="infobox-texttitle" | [[Quality]]
| class="infobox-text" style="padding-left:10px" |
|-
| class="infobox-texttitle" | Craftable
| class="infobox-text" style="padding-left:10px" | {{#ifexpr: {{{craftable|}}}| Yes | No }}
|-
| class="infobox-texttitle" | Armor
Line 39:
|-
| class="infobox-texttitle" | .vox File
| class="infobox-text" style="padding-left:10px" | [{{{vox|}}} {{{voxtext|}}}]
|-
| class="infobox-texttitle" | .ron File
| class="infobox-text" style="padding-left:10px" | [{{{ron|}}} {{{rontext|}}}]
|-▼
| class="infobox-texttitle" | Recipe▼
| class="infobox-text" | {{#if: {{{recipe|}}}|[https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L{{{recipe|}}} L{{{recipe}}}]|}}▼
|-
{{#ifexpr: {{{craftable|}}}
▲
{{!}}-
}}
| class="infobox-texttitle" | Sprite Manifest
| class="infobox-text" | [{{{manifest|}}} {{{manifesttext|}}}]
|}</onlyinclude>
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]]
Line 60 ⟶ 63:
"example": "Legs",
"type": "string",
"required": true,
"suggestedvalues": [
"Head",
"Neck",
"Shoulders",
"Chests",
"Hands",
"Rings",
"Belt",
"Back",
"Leg",
"Feet"
]
},
"quality": {
Line 66 ⟶ 81:
"description": "The quality of said equipment.",
"example": "Epic",
"type": "
"default": "Common",▼
"required": true,
"autovalue": "{{}}",
"suggestedvalues": [
"{{Low}}",
"{{Moderate}}",
"{{Epic}}",
"{{Legendary}}"
]
},
"vox": {
Line 78 ⟶ 99:
"label": "Vox",
"description": "The gitlab link to the .vox model.",
"example": "https://gitlab.com/veloren/veloren/-/blob/master/assets/voxygen/voxel/weapon/sword/
"type": "
"suggested": true
},
"craftable": {
"label": "Is Craftable",
"description": "Is this item craftable
"
"type": "string",▼
"default": "No",▼
"required": true
},
"ron": {
"label": ".ron File",
"description": "The Gitlab link for the
"example": "
"type": "string",
"required": true
Line 106 ⟶ 125:
"manifest": {
"label": "Sprite Manifest",
"description": "The link to the line in the sprite manifest
"type": "string",
"suggested": true,
"example": "
},
"armor": {
Line 158 ⟶ 177:
"description": "Go to : https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron, search the item, and type the number of the line code (at the left side)",
"example": "1570"
},
"voxtext": {
"label": "The text link",
▲ "type": "string",
"suggested": true
},
"rontext": {
"label": "The text link",
"suggested": true
},
"manifesttext": {
"label": "The text link",
"type": "string",
"suggested": true
}
},
Line 174 ⟶ 208:
"recipe",
"vox",
"voxtext",
"ron",
"
"manifest",
"manifesttext"
],
"format": "block"
|
Revision as of 09:54, 24 July 2023
Infobox armor | |
Statistics | |
Type | [1] |
Quality | |
Craftable | No |
Armor | |
Stun Resistance | |
Max Energy | |
Energy Reward | |
Crit Power | |
Stealth | |
Technical Information | |
.vox File | [ ] |
.ron File | [ ] |
Sprite Manifest | [ ] |
This template will create create an infobox for a weapon in Veloren. Add information to each of the fields and the template will do the rest.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Description | description | The description of the armor.
| String | required |
Type | type | The type of equipment.
| String | required |
Quality | quality | The quality of said equipment.
| String | required |
Armor | armor | Amount of armor it gives.
| Number | required |
Stun Resistance | stunres | The stun resistance of the armor.
| Number | required |
Max Energy | maxenergy | The amount of max energy the armor gives.
| Number | required |
Energy Reward | energy | The amount of energy the armor rewards.
| Number | required |
Critical Power | critpower | The crit power the armor gives.
| Number | required |
Stealth | stealth | The amount of stealth the armor gives.
| Unknown | required |
Is Craftable | craftable | Is this item craftable ? | Boolean | required |
The number to the line code in the recipe book | recipe | Go to : https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron, search the item, and type the number of the line code (at the left side)
| Number | suggested |
Vox | vox model voxel | The gitlab link to the .vox model.
| String | suggested |
The text link | voxtext | no description | String | suggested |
.ron File | ron | The Gitlab link for the armor's .ron file.
| String | required |
The text link | rontext | no description | String | suggested |
Sprite Manifest | manifest | The link to the line in the sprite manifest. Armor : https://gitlab.com/veloren/veloren/-/tree/master/assets/voxygen/voxel humanoid_armor
| String | suggested |
The text link | manifesttext | no description | String | suggested |