(Replaced veloren.miraheze.org with wiki.veloren.net) |
m (The stealth parameter was not shown in the infobox) |
||
(47 intermediate revisions by 3 users not shown) | |||
Line 1:
<onlyinclude>{{Navbox}}
{| class="infobox floatright .skin-citizen-dark" style="width:
| colspan="2" class="infobox-image" | [[Image:Veloren_{{PAGENAME}}.png|class=infobox-image|200x200px|link=]]
|-
Line 9:
| colspan="2" class="infobox-title" style="font-size: 90%;" | Statistics
|-
| class="infobox-texttitle" style="padding-right:10px"| Type
| class="infobox-text" | [[ Armor#{{{type|}}} | {{{type|}}} ]]
|-
| class="infobox-texttitle" style="padding-right:10px"| [[Quality]]
| class="infobox-text" | {{{quality|}}}
|-
| class="infobox-texttitle" style="padding-right:10px"| Craftable
| class="infobox-text"
|-
{{#if: {{{armor|}}}
|
{{!}} class="infobox-texttitle" style="padding-right:10px" {{!}} Armor
{{!}} class="infobox-text" {{!}} {{{armor|}}}
{{!}}-
}}
{{#if: {{{stunres|}}}
|
{{!}} class="infobox-texttitle" style="padding-right:10px" {{!}} Stun Resistance
{{!}} class="infobox-text" {{!}} {{{stunres|}}}
{{!}}-
}}
{{#if: {{{maxenergy|}}}
|
{{!}} class="infobox-texttitle" style="padding-right:10px" {{!}} Max Energy
{{!}} class="infobox-text" {{!}} {{{maxenergy|}}}
{{!}}-
}}
{{#if: {{{energy|}}}
|
{{!}} class="infobox-texttitle" style="padding-right:10px" {{!}} Energy Reward
{{!}} class="infobox-text" {{!}} {{{energy|}}}
{{!}}-
}}
{{#if: {{{critpower|}}}
|
{{!}} class="infobox-texttitle" style="padding-right:10px" {{!}} Critical Power
{{!}} class="infobox-text" {{!}} {{{critpower|}}}
{{!}}-
}}
{{#if: {{{stealth|}}}
|
{{!}} class="infobox-texttitle" style="padding-right:10px" {{!}} Stealth
{{!}} class="infobox-text" {{!}} {{{stealth|}}}
{{!}}-
}}
| colspan="2" class="infobox-title" | Technical Information
|-
| class="infobox-texttitle" style="padding-right:10px"| .vox File
| class="infobox-text" | [{{{vox|}}} {{{voxtext|}}}]
|-
| class="infobox-texttitle" style="padding-right:10px"|
| class="infobox-text"
|-
{{#ifexpr: {{{craftable|}}}
|
{{!}} 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|}}} L{{{recipe|}}}]|}}
{{!}}-
}}
| class="infobox-texttitle" style="padding-right:10px"| Sprite Manifest
| class="infobox-text" | [{{{manifest|}}} {{{manifesttext|}}}]
|}</onlyinclude>
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]]
Line 58 ⟶ 79:
"label": "Type",
"description": "The type of equipment.",
"type": "string",
"required": true,
"suggestedvalues": [
"Head",
"Neck",
"Shoulders",
"Chest",
"Hands",
"Ring",
"Belt",
"Back",
"Pants",
"Foot"
]
},
"quality": {
Line 66 ⟶ 98:
"description": "The quality of said equipment.",
"example": "Epic",
"type": "
"required": true,
"autovalue": "
"suggestedvalues": [
"{{Low}}",
"{{Common}}",
"{{Moderate}}",
"{{High}}",
"{{Epic}}",
"{{Legendary}}"
]
},
"vox": {
Line 78 ⟶ 117:
"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
"
"
"
},
"ron": {
"label": ".ron File",
"description": "The Gitlab link for the
"example": "
"type": "string",
"required": true
Line 106 ⟶ 144:
"manifest": {
"label": "Sprite Manifest",
"description": "The link to the line in the sprite manifest
"type": "string",
"suggested": true,
"example": "
},
"armor": {
Line 123 ⟶ 161:
"example": "10.0",
"type": "number",
"
},
"maxenergy": {
Line 130 ⟶ 168:
"example": "25",
"type": "number",
"
},
"energy": {
Line 137 ⟶ 175:
"example": "10",
"type": "number",
"
},
"critpower": {
Line 144 ⟶ 182:
"example": "0.2",
"type": "number",
"
},
"stealth": {
Line 150 ⟶ 188:
"description": "The amount of stealth the armor gives.",
"example": "1",
"
},
"recipe": {
Line 158 ⟶ 196:
"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",
"type": "string",
"suggested": true
},
"manifesttext": {
"label": "The text link",
"type": "string",
"suggested": true
}
},
Line 174 ⟶ 227:
"recipe",
"vox",
"voxtext",
"ron",
"
"manifest",
"manifesttext"
],
"format": "block"
|
Latest revision as of 07:16, 13 March 2024
Infobox armor | |
Statistics | |
Type | |
Quality | |
Craftable | No |
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 | suggested |
Max Energy | maxenergy | The amount of max energy the armor gives.
| Number | suggested |
Energy Reward | energy | The amount of energy the armor rewards.
| Number | suggested |
Critical Power | critpower | The crit power the armor gives.
| Number | suggested |
Stealth | stealth | The amount of stealth the armor gives.
| Unknown | suggested |
Is Craftable | craftable | Is this item craftable ?
| Boolean | suggested |
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 |