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: | Line 1: | ||
<onlyinclude>{ |
<onlyinclude>{{Navbox}} |
||
| |
{| 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-title" style="font-size: 125%" | {{PAGENAME}} |
|||
|- |
|- |
||
| colspan="2" class="infobox-text"" style="text-align: center; font-size: 90%;" | {{{description|}}} |
| colspan="2" class="infobox-text"" style="text-align: center; font-size: 90%;" | {{{description|}}} |
||
|- |
|||
| colspan="2" class="infobox-image" | {{#if: {{{image|}}} | [[Image:{{{image|}}}|class=infobox-image|290px|link=]] |[[Image:{{PAGENAME}}.png|class=infobox-image|290px|link=]]}} |
|||
|- |
|- |
||
| 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" | [[ Armor#{{{type|}}} | {{{type|}}} ]] |
|||
| class="infobox-text" style="padding-left:10px" | {{#switch: {{{type|}}} | ring|Ring = [https://veloren.miraheze.org/wiki/Armor#Ring Ring] | necklace|Necklace|gem|Gem|pendant|Pendant|amulet|Amulet = [https://veloren.miraheze.org/wiki/Armor#Necklace Necklace] | head|Head|hood|Hood|hat|Hat = [https://veloren.miraheze.org/wiki/Armor#Head Head] | shoulders|Shoulders|guards|Guards|pauldrons|Pauldrons = [https://veloren.miraheze.org/wiki/Armor#Shoulders Shoulders] | chest|Chest|shirt|Shirt|cuirass|Cuirass|chestguard|Chestguard|chestpiece|Chestpiece = [https://veloren.miraheze.org/wiki/Armor#Chest Chest] | back|Back|cape|Cape|cloak|Cloak|backpack|Backpack|shawl|Shawl = [https://veloren.miraheze.org/wiki/Armor#Back Back] | hand|Hand|hands|Hands|gloves|Gloves|gauntlets|Gauntlets|wraps|Wraps|wrists|Wrists|handwraps|Handwraps = [https://veloren.miraheze.org/wiki/Armor#Hand Hands] | belt|Belt|girdle|Girdle|sash|Sash = [https://veloren.miraheze.org/wiki/Armor#Belt Belt] | pants|Pants|legs|Legs|chausses|Chausses|leggings|Leggings|skirt|Skirt|kilt|Kilt = [https://veloren.miraheze.org/wiki/Armor#Pants Pants] | foot|Foot|feet|Feet|boots|Boots|sabotans|Sabotans|shoes|Shoes|footwraps|Footwraps|spurs|Spurs = [https://veloren.miraheze.org/wiki/Armor#Foot Foot] |{{{type|}}}}} |
|||
|- |
|||
| class="infobox-texttitle" | [[Quality]] |
|||
| class="infobox-text" style="padding-left:10px" | {{#switch: {{{quality|}}} | low|Low|0={{Low}} | common|Common|1={{Common}} | moderate|Moderate|2={{Moderate}} | high|High|3={{High}} | epic|Epic|4={{Epic}} | legendary|Legendary|5={{Legendary}} | admin|Admin|6={{Admin}} |{{{quality|}}}}} |
|||
|- |
|||
| class="infobox-texttitle" | Craftable |
|||
| class="infobox-text" style="padding-left:10px" | {{{craftable|}}} |
|||
|- |
|||
| 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" | |
| class="infobox-texttitle" style="padding-right:10px"| [[Quality]] |
||
| class="infobox-text" |
| class="infobox-text" | {{{quality|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | |
| class="infobox-texttitle" style="padding-right:10px"| Craftable |
||
| class="infobox-text" |
| class="infobox-text" | {{#ifexpr: {{{craftable|}}}| Yes | No }} |
||
|- |
|- |
||
{{#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 |
| colspan="2" class="infobox-title" | Technical Information |
||
|- |
|- |
||
| class="infobox-texttitle" | .vox File |
| class="infobox-texttitle" style="padding-right:10px"| .vox File |
||
| class="infobox-text" | {{{vox|}}} |
| class="infobox-text" | [{{{vox|}}} {{{voxtext|}}}] |
||
|- |
|- |
||
| class="infobox-texttitle" | .ron File |
| class="infobox-texttitle" style="padding-right:10px"| .ron File |
||
| class="infobox-text" | {{{ron|}}} |
| class="infobox-text" | [{{{ron|}}} {{{rontext|}}}] |
||
|- |
|- |
||
{{#ifexpr: {{{craftable|}}} |
|||
| class="infobox-texttitle" | Sprite Manifest |
|||
| |
|||
| class="infobox-text" | {{{manifest|}}} |
|||
{{!}} 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> |
|}</onlyinclude> |
||
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]] |
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]] |
||
Line 51: | Line 76: | ||
{ |
{ |
||
"params": { |
"params": { |
||
"image": { |
|||
"aliases": [ |
|||
"picture", |
|||
"art" |
|||
], |
|||
"label": "Image", |
|||
"description": "Image name and the extension.", |
|||
"example": "Veloren_Cultist_Sword.png", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"title": { |
|||
"aliases": [ |
|||
"name" |
|||
], |
|||
"label": "Title", |
|||
"description": "The equipments full name", |
|||
"example": "Magical Cultist Greatsword", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"type": { |
"type": { |
||
"label": "Type", |
"label": "Type", |
||
"description": "The type of equipment.", |
"description": "The type of equipment.", |
||
"example": "Legs", |
|||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true, |
||
"suggestedvalues": [ |
|||
"Head", |
|||
"Neck", |
|||
"Shoulders", |
|||
"Chest", |
|||
"Hands", |
|||
"Ring", |
|||
"Belt", |
|||
"Back", |
|||
"Pants", |
|||
"Foot" |
|||
] |
|||
}, |
}, |
||
"quality": { |
"quality": { |
||
Line 83: | Line 98: | ||
"description": "The quality of said equipment.", |
"description": "The quality of said equipment.", |
||
"example": "Epic", |
"example": "Epic", |
||
"type": " |
"type": "string", |
||
"default": "Common", |
|||
"required": true, |
"required": true, |
||
"autovalue": " |
"autovalue": "", |
||
"suggestedvalues": [ |
|||
"{{Low}}", |
|||
"{{Common}}", |
|||
"{{Moderate}}", |
|||
"{{High}}", |
|||
"{{Epic}}", |
|||
"{{Legendary}}" |
|||
] |
|||
}, |
}, |
||
"vox": { |
"vox": { |
||
Line 95: | Line 117: | ||
"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", |
||
" |
"suggested": true, |
||
" |
"autovalue": "0" |
||
"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 123: | Line 144: | ||
"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": "https//www.veloren.net" |
|||
}, |
}, |
||
"armor": { |
"armor": { |
||
Line 139: | Line 161: | ||
"example": "10.0", |
"example": "10.0", |
||
"type": "number", |
"type": "number", |
||
" |
"suggested": true |
||
}, |
}, |
||
"maxenergy": { |
"maxenergy": { |
||
Line 146: | Line 168: | ||
"example": "25", |
"example": "25", |
||
"type": "number", |
"type": "number", |
||
" |
"suggested": true |
||
}, |
}, |
||
"energy": { |
"energy": { |
||
Line 153: | Line 175: | ||
"example": "10", |
"example": "10", |
||
"type": "number", |
"type": "number", |
||
" |
"suggested": true |
||
}, |
}, |
||
"critpower": { |
"critpower": { |
||
Line 160: | Line 182: | ||
"example": "0.2", |
"example": "0.2", |
||
"type": "number", |
"type": "number", |
||
" |
"suggested": true |
||
}, |
}, |
||
"stealth": { |
"stealth": { |
||
Line 166: | 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": { |
|||
"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.", |
"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": [ |
"paramOrder": [ |
||
"image", |
|||
"title", |
|||
"description", |
"description", |
||
"type", |
"type", |
||
Line 183: | Line 225: | ||
"stealth", |
"stealth", |
||
"craftable", |
"craftable", |
||
"recipe", |
|||
"vox", |
"vox", |
||
"voxtext", |
|||
"ron", |
"ron", |
||
" |
"rontext", |
||
"manifest", |
|||
"manifesttext" |
|||
], |
], |
||
"format": "block" |
"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 |