mNo edit summary |
m (The stealth parameter was not shown in the infobox) |
||
(32 intermediate revisions by 2 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"
|-
| class="infobox-texttitle" style="padding-right:10px"| [[Quality]]
| class="infobox-text"
|-
| class="infobox-texttitle" style="padding-right:10px"| Craftable
| class="infobox-text"
|-▼
| class="infobox-texttitle" | Armor▼
| class="infobox-text" style="padding-left:10px" | {{{armor|}}}▼
|-▼
| class="infobox-texttitle" | Stun Resistance▼
| class="infobox-text" style="padding-left:10px" | {{{stunres|}}}▼
|-▼
| class="infobox-texttitle" | Max Energy▼
| class="infobox-text" style="padding-left:10px" | {{{maxenergy|}}}▼
|-▼
| class="infobox-texttitle" | Energy Reward▼
| class="infobox-text" style="padding-left:10px" | {{{energy|}}}▼
|-▼
| class="infobox-texttitle" | Crit Power▼
| class="infobox-text" style="padding-left:10px" | {{{critpower|}}}▼
|-▼
| class="infobox-text" style="padding-left:10px" | {{{stealth|}}}▼
|-
{{#if: {{{armor|}}}
{{!}} class="infobox-text" {{!}} {{{armor|}}}
{{!}}-
}}
{{#if: {{{stunres|}}}
{{!}}-
}}
{{#if: {{{maxenergy|}}}
{{!}}-
}}
{{#if: {{{energy|}}}
{{!}}-
}}
{{#if: {{{critpower|}}}
{{!}}-
}}
{{#if: {{{stealth|}}}
{{!}}-
}}
| colspan="2" class="infobox-title" | Technical Information
|-
| class="infobox-texttitle" style="padding-right:10px"| .vox File
| class="infobox-text"
|-
| class="infobox-texttitle" style="padding-right:10px"| .ron File
| class="infobox-text"
|-
{{#ifexpr: {{{craftable|}}}
|
{{!}} class="infobox-texttitle" style="padding-right:10px"{{!}} Recipe
{{!}} class="infobox-text"
{{!}}-
}}
| class="infobox-texttitle" style="padding-right:10px"| Sprite Manifest
| class="infobox-text"
|}</onlyinclude>
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]]
Line 67 ⟶ 85:
"Neck",
"Shoulders",
"
"Hands",
"
"Belt",
"Back",
"
"
]
},
Line 143 ⟶ 161:
"example": "10.0",
"type": "number",
"
},
"maxenergy": {
Line 150 ⟶ 168:
"example": "25",
"type": "number",
"
},
"energy": {
Line 157 ⟶ 175:
"example": "10",
"type": "number",
"
},
"critpower": {
Line 164 ⟶ 182:
"example": "0.2",
"type": "number",
"
},
"stealth": {
Line 170 ⟶ 188:
"description": "The amount of stealth the armor gives.",
"example": "1",
"
},
"recipe": {
|
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 |