m (Corrected type link : internal + url text) |
m (The stealth parameter was not shown in the infobox) |
||
(40 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{Navbox}} |
<onlyinclude>{{Navbox}} |
||
{| class="infobox floatright .skin-citizen-dark" style="width: |
{| class="infobox floatright .skin-citizen-dark" style="width:200px" |
||
| colspan="2" class="infobox-image" | [[Image:Veloren_{{PAGENAME}}.png|class=infobox-image|200x200px|link=]] |
| colspan="2" class="infobox-image" | [[Image:Veloren_{{PAGENAME}}.png|class=infobox-image|200x200px|link=]] |
||
|- |
|- |
||
Line 9: | Line 9: | ||
| colspan="2" class="infobox-title" style="font-size: 90%;" | Statistics |
| colspan="2" class="infobox-title" style="font-size: 90%;" | Statistics |
||
|- |
|- |
||
| class="infobox-texttitle" | Type |
| class="infobox-texttitle" style="padding-right:10px"| Type |
||
| class="infobox-text" |
| class="infobox-text" | [[ Armor#{{{type|}}} | {{{type|}}} ]] |
||
|- |
|- |
||
| class="infobox-texttitle" | [[Quality]] |
| class="infobox-texttitle" style="padding-right:10px"| [[Quality]] |
||
| class="infobox-text" |
| class="infobox-text" | {{{quality|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Craftable |
| class="infobox-texttitle" style="padding-right:10px"| Craftable |
||
| class="infobox-text" |
| class="infobox-text" | {{#ifexpr: {{{craftable|}}}| Yes | No }} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| class="infobox-texttitle" | Stealth |
|||
⚫ | |||
|- |
|- |
||
{{#if: {{{armor|}}} |
|||
⚫ | |||
⚫ | |||
{{!}} class="infobox-text" {{!}} {{{armor|}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if: {{{stunres|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
}} |
|||
{{#if: {{{maxenergy|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
}} |
|||
{{#if: {{{energy|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
}} |
|||
{{#if: {{{critpower|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
}} |
|||
{{#if: {{{stealth|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
}} |
|||
| 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" |
| class="infobox-text" | [{{{vox|}}} {{{voxtext|}}}] |
||
|- |
|- |
||
| class="infobox-texttitle" | .ron File |
| class="infobox-texttitle" style="padding-right:10px"| .ron File |
||
| class="infobox-text" |
| class="infobox-text" | [{{{ron|}}} {{{rontext|}}}] |
||
|- |
|- |
||
{{#ifexpr: {{{craftable|}}} |
{{#ifexpr: {{{craftable|}}} |
||
| |
| |
||
{{!}} class="infobox-texttitle" {{!}} Recipe |
{{!}} class="infobox-texttitle" style="padding-right:10px"{{!}} Recipe |
||
{{!}} class="infobox-text" |
{{!}} class="infobox-text" {{!}} {{#if: {{{recipe|}}}|[https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L{{{recipe|}}} L{{{recipe|}}}]|}} |
||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
| class="infobox-texttitle" | Sprite Manifest |
| class="infobox-texttitle" style="padding-right:10px"| Sprite Manifest |
||
| class="infobox-text" |
| class="infobox-text" | [{{{manifest|}}} {{{manifesttext|}}}] |
||
|}</onlyinclude> |
|}</onlyinclude> |
||
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]] |
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]] |
||
Line 61: | Line 79: | ||
"label": "Type", |
"label": "Type", |
||
"description": "The type of equipment.", |
"description": "The type of equipment.", |
||
"example": "Legs", |
|||
"type": "string", |
"type": "string", |
||
"required": true, |
"required": true, |
||
Line 68: | Line 85: | ||
"Neck", |
"Neck", |
||
"Shoulders", |
"Shoulders", |
||
" |
"Chest", |
||
"Hands", |
"Hands", |
||
" |
"Ring", |
||
"Belt", |
"Belt", |
||
"Back", |
"Back", |
||
" |
"Pants", |
||
" |
"Foot" |
||
] |
] |
||
}, |
}, |
||
Line 83: | Line 100: | ||
"type": "string", |
"type": "string", |
||
"required": true, |
"required": true, |
||
"autovalue": " |
"autovalue": "", |
||
"suggestedvalues": [ |
"suggestedvalues": [ |
||
"{{Low}}", |
"{{Low}}", |
||
"{{Common}}", |
"{{Common}}", |
||
"{{Moderate}}", |
"{{Moderate}}", |
||
"{{High}}", |
|||
"{{Epic}}", |
"{{Epic}}", |
||
"{{Legendary}}" |
"{{Legendary}}" |
||
Line 107: | Line 125: | ||
"description": "Is this item craftable ?", |
"description": "Is this item craftable ?", |
||
"type": "boolean", |
"type": "boolean", |
||
" |
"suggested": true, |
||
"autovalue": "0" |
|||
}, |
}, |
||
"ron": { |
"ron": { |
||
Line 142: | Line 161: | ||
"example": "10.0", |
"example": "10.0", |
||
"type": "number", |
"type": "number", |
||
" |
"suggested": true |
||
}, |
}, |
||
"maxenergy": { |
"maxenergy": { |
||
Line 149: | Line 168: | ||
"example": "25", |
"example": "25", |
||
"type": "number", |
"type": "number", |
||
" |
"suggested": true |
||
}, |
}, |
||
"energy": { |
"energy": { |
||
Line 156: | Line 175: | ||
"example": "10", |
"example": "10", |
||
"type": "number", |
"type": "number", |
||
" |
"suggested": true |
||
}, |
}, |
||
"critpower": { |
"critpower": { |
||
Line 163: | Line 182: | ||
"example": "0.2", |
"example": "0.2", |
||
"type": "number", |
"type": "number", |
||
" |
"suggested": true |
||
}, |
}, |
||
"stealth": { |
"stealth": { |
||
Line 169: | Line 188: | ||
"description": "The amount of stealth the armor gives.", |
"description": "The amount of stealth the armor gives.", |
||
"example": "1", |
"example": "1", |
||
" |
"suggested": true |
||
}, |
}, |
||
"recipe": { |
"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 |