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: | Line 10: | ||
|- |
|- |
||
| class="infobox-texttitle" | Type |
| class="infobox-texttitle" | Type |
||
| class="infobox-text" style="padding-left:10px" | [https://wiki.veloren.net/wiki/Armor#{{{type|}}}] |
|||
| class="infobox-text" style="padding-left:10px" | {{#switch: {{{type|}}} | ring|Ring = [https://wiki.veloren.net/wiki/Armor#Ring Ring] | necklace|Necklace|gem|Gem|pendant|Pendant|amulet|Amulet|Neck|neck = [https://wiki.veloren.net/wiki/Armor#Neck Necklace] | head|Head|hood|Hood|hat|Hat = [https://wiki.veloren.net/wiki/Armor#Head Head] | shoulders|Shoulders|guards|Guards|pauldrons|Pauldrons = [https://wiki.veloren.net/wiki/Armor#Shoulders Shoulders] | chest|Chest|shirt|Shirt|cuirass|Cuirass|chestguard|Chestguard|chestpiece|Chestpiece = [https://wiki.veloren.net/wiki/Armor#Chest Chest] | back|Back|cape|Cape|cloak|Cloak|backpack|Backpack|shawl|Shawl = [https://wiki.veloren.net/wiki/Armor#Back Back] | hand|Hand|hands|Hands|gloves|Gloves|gauntlets|Gauntlets|wraps|Wraps|wrists|Wrists|handwraps|Handwraps = [https://wiki.veloren.net/wiki/Armor#Hands Hands] | belt|Belt|girdle|Girdle|sash|Sash = [https://wiki.veloren.net/wiki/Armor#Belt Belt] | pants|Pants|legs|Legs|chausses|Chausses|leggings|Leggings|skirt|Skirt|kilt|Kilt = [https://wiki.veloren.net/wiki/Armor#Pants Pants] | foot|Foot|feet|Feet|boots|Boots|sabotans|Sabotans|shoes|Shoes|footwraps|Footwraps|spurs|Spurs = [https://wiki.veloren.net/wiki/Armor#Feet Feet] |{{{type|}}}}} |
|||
|- |
|- |
||
| class="infobox-texttitle" | [[Quality]] |
| class="infobox-texttitle" | [[Quality]] |
||
| class="infobox-text" style="padding-left:10px" | |
| class="infobox-text" style="padding-left:10px" | {{{quality|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Craftable |
| class="infobox-texttitle" | Craftable |
||
| class="infobox-text" style="padding-left:10px" | {{{craftable|}}} |
| class="infobox-text" style="padding-left:10px" | {{#ifexpr: {{{craftable|}}}| Yes | No }} |
||
|- |
|- |
||
| class="infobox-texttitle" | Armor |
| class="infobox-texttitle" | Armor |
||
Line 39: | Line 39: | ||
|- |
|- |
||
| class="infobox-texttitle" | .vox File |
| class="infobox-texttitle" | .vox File |
||
| class="infobox-text" | {{{vox|}}} |
| class="infobox-text" style="padding-left:10px" | [{{{vox|}}} {{{voxtext|}}}] |
||
|- |
|- |
||
| class="infobox-texttitle" | .ron File |
| class="infobox-texttitle" | .ron File |
||
| class="infobox-text" | {{{ron|}}} |
| class="infobox-text" style="padding-left:10px" | [{{{ron|}}} {{{rontext|}}}] |
||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|- |
||
{{#ifexpr: {{{craftable|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
}} |
|||
| class="infobox-texttitle" | Sprite Manifest |
| class="infobox-texttitle" | Sprite Manifest |
||
| class="infobox-text" | {{{manifest|}}} |
| class="infobox-text" | [{{{manifest|}}} {{{manifesttext|}}}] |
||
|}</onlyinclude> |
|}</onlyinclude> |
||
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]] |
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]] |
||
Line 60: | Line 63: | ||
"example": "Legs", |
"example": "Legs", |
||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true, |
||
"suggestedvalues": [ |
|||
"Head", |
|||
"Neck", |
|||
"Shoulders", |
|||
"Chests", |
|||
"Hands", |
|||
"Rings", |
|||
"Belt", |
|||
"Back", |
|||
"Leg", |
|||
"Feet" |
|||
] |
|||
}, |
}, |
||
"quality": { |
"quality": { |
||
Line 66: | Line 81: | ||
"description": "The quality of said equipment.", |
"description": "The quality of said equipment.", |
||
"example": "Epic", |
"example": "Epic", |
||
"type": " |
"type": "string", |
||
⚫ | |||
"required": true, |
"required": true, |
||
"autovalue": "{{}}" |
"autovalue": "{{}}", |
||
"suggestedvalues": [ |
|||
"{{Low}}", |
|||
⚫ | |||
"{{Moderate}}", |
|||
"{{Epic}}", |
|||
"{{Legendary}}" |
|||
] |
|||
}, |
}, |
||
"vox": { |
"vox": { |
||
Line 78: | Line 99: | ||
"label": "Vox", |
"label": "Vox", |
||
"description": "The gitlab link to the .vox model.", |
"description": "The gitlab link to the .vox model.", |
||
"example": "https://gitlab.com/veloren/veloren/-/blob/master/assets/voxygen/voxel/weapon/sword/ |
"example": "https://gitlab.com/veloren/veloren/-/blob/master/assets/voxygen/voxel/weapon/sword/cultist_purp_2h-0.vox", |
||
"type": " |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
"craftable": { |
"craftable": { |
||
"label": "Is Craftable", |
"label": "Is Craftable", |
||
"description": "Is this item craftable |
"description": "Is this item craftable ?", |
||
" |
"type": "boolean", |
||
⚫ | |||
⚫ | |||
"required": true |
"required": true |
||
}, |
}, |
||
"ron": { |
"ron": { |
||
"label": ".ron File", |
"label": ".ron File", |
||
"description": "The Gitlab link for the |
"description": "The Gitlab link for the armor's .ron file.", |
||
"example": " |
"example": "https://gitlab.com/veloren/veloren/-/blob/master/assets/common/items/glider/glider_snowraptor.ron", |
||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true |
||
Line 106: | Line 125: | ||
"manifest": { |
"manifest": { |
||
"label": "Sprite Manifest", |
"label": "Sprite Manifest", |
||
"description": "The link to the line in the 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", |
"type": "string", |
||
"suggested": true, |
"suggested": true, |
||
"example": " |
"example": "https//www.veloren.net" |
||
}, |
}, |
||
"armor": { |
"armor": { |
||
Line 158: | Line 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)", |
"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" |
"example": "1570" |
||
}, |
|||
"voxtext": { |
|||
"label": "The text link", |
|||
⚫ | |||
"suggested": true |
|||
}, |
|||
"rontext": { |
|||
"label": "The text link", |
|||
⚫ | |||
"suggested": true |
|||
}, |
|||
"manifesttext": { |
|||
"label": "The text link", |
|||
"type": "string", |
|||
"suggested": true |
|||
} |
} |
||
}, |
}, |
||
Line 174: | Line 208: | ||
"recipe", |
"recipe", |
||
"vox", |
"vox", |
||
"voxtext", |
|||
"ron", |
"ron", |
||
" |
"rontext", |
||
"manifest", |
|||
"manifesttext" |
|||
], |
], |
||
"format": "block" |
"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 |