m (Changed the exemple "ImageName.png" to the correct name scheme "Veloren_Image_Name.png") |
m (The stealth parameter was not shown in the infobox) |
||
(61 intermediate revisions by 4 users not shown) | |||
Line 1:
<onlyinclude>{
{|
| colspan="2" class="infobox-image" | [[Image:Veloren_{{PAGENAME}}.png|class=infobox-image|200x200px|link=]]
|-
| colspan="2" class="infobox-title" style="font-size: 125%" | {{PAGENAME}}
|-
| colspan="2" class="infobox-text"" style="text-align: center; font-size: 90%;" | {{{description|}}}
|-
| 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"|
| class="infobox-text"
|-
| class="infobox-texttitle" style="padding-right:10px"|
| 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"| .ron File
| class="infobox-text" | [{{{ron|}}} {{{rontext|}}}]
|-
{{#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 51 ⟶ 76:
{
"params": {
"type": {
"label": "Type",
"description": "The type of equipment.",
"type": "string",
"required": true,
"suggestedvalues": [
"Head",
"Neck",
"Shoulders",
"Chest",
"Hands",
"Ring",
"Belt",
"Back",
"Pants",
"Foot"
]
},
"quality": {
Line 83 ⟶ 98:
"description": "The quality of said equipment.",
"example": "Epic",
"type": "
"required": true,
"autovalue": "
"suggestedvalues": [
"{{Low}}",
"{{Common}}",
"{{Moderate}}",
"{{High}}",
"{{Epic}}",
"{{Legendary}}"
]
},
"vox": {
Line 95 ⟶ 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 123 ⟶ 144:
"manifest": {
"label": "Sprite Manifest",
"description": "The link to the line in the sprite manifest. Armor : https://gitlab.com/veloren/veloren/-/tree/master/assets/voxygen/voxel humanoid_armor",
"type": "string",
"suggested": true,
"example": "https//www.veloren.net"
},
"armor": {
Line 139 ⟶ 161:
"example": "10.0",
"type": "number",
"
},
"maxenergy": {
Line 146 ⟶ 168:
"example": "25",
"type": "number",
"
},
"energy": {
Line 153 ⟶ 175:
"example": "10",
"type": "number",
"
},
"critpower": {
Line 160 ⟶ 182:
"example": "0.2",
"type": "number",
"
},
"stealth": {
Line 166 ⟶ 188:
"description": "The amount of stealth the armor gives.",
"example": "1",
"
},
"recipe": {
"label": "The number to the line code in the recipe book",
"type": "number",
"suggested": true,
"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
}
},
"description": "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.",
"paramOrder": [
"description",
"type",
Line 183 ⟶ 225:
"stealth",
"craftable",
"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 |