m (1 revision imported) |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>{| class="infobox .skin-citizen-dark floatright" |
<onlyinclude>{| class="infobox .skin-citizen-dark floatright" |
||
| colspan="2" class="infobox- |
| colspan="2" class="infobox-title" style="font-size: 125%" | {{#if: {{{title|}}} |{{{title|}}} |{{PAGENAME}}}} |
||
⚫ | |||
| colspan="2" class="infobox-title" style="font-size: 125%" | {{{title|}}} |
|||
|- |
|- |
||
| 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 |
||
|- |
|- |
||
⚫ | |||
| colspan="2" style="height: 15px;" | |
|||
| 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 = [https://wiki.veloren.net/wiki/Armor#Necklace 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#Hand 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#Foot Foot] |{{{type|}}}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|- |
||
| class="infobox-texttitle" | [[Quality]] |
| 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-texttitle" | Craftable |
||
| class="infobox-text" | {{{craftable|}}} |
| class="infobox-text" style="padding-left:10px" | {{{craftable|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Armor |
| class="infobox-texttitle" | Armor |
||
| class="infobox-text" | {{{armor|}}} |
| class="infobox-text" style="padding-left:10px" | {{{armor|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Stun Resistance |
| class="infobox-texttitle" | Stun Resistance |
||
| class="infobox-text" | {{{stunres|}}} |
| class="infobox-text" style="padding-left:10px" | {{{stunres|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Max Energy |
| class="infobox-texttitle" | Max Energy |
||
| class="infobox-text" | {{{maxenergy|}}} |
| class="infobox-text" style="padding-left:10px" | {{{maxenergy|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Energy Reward |
| class="infobox-texttitle" | Energy Reward |
||
| class="infobox-text" | {{{energy|}}} |
| class="infobox-text" style="padding-left:10px" | {{{energy|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Crit Power |
| class="infobox-texttitle" | Crit Power |
||
| class="infobox-text" | {{{critpower|}}} |
| class="infobox-text" style="padding-left:10px" | {{{critpower|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Stealth |
| class="infobox-texttitle" | Stealth |
||
| class="infobox-text" | {{{stealth|}}} |
| class="infobox-text" style="padding-left:10px" | {{{stealth|}}} |
||
|- |
|- |
||
| colspan="2" |
| colspan="2" class="infobox-title" | Technical Information |
||
|- |
|||
| colspan="2" class="infobox-title" style="text-align: center" | Technical Information |
|||
|- |
|||
| class="infobox-texttitle" | Path |
|||
| class="infobox-text" | {{{path|}}} |
|||
|- |
|- |
||
| class="infobox-texttitle" | .vox File |
| class="infobox-texttitle" | .vox File |
||
Line 49: | Line 42: | ||
| class="infobox-texttitle" | .ron File |
| class="infobox-texttitle" | .ron File |
||
| class="infobox-text" | {{{ron|}}} |
| class="infobox-text" | {{{ron|}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
|}</onlyinclude> |
|}</onlyinclude> |
||
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]] |
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]] |
||
Line 79: | Line 75: | ||
"label": "Type", |
"label": "Type", |
||
"description": "The type of equipment.", |
"description": "The type of equipment.", |
||
"example": "Legs |
"example": "Legs", |
||
"type": " |
"type": "string", |
||
"required": true |
"required": true |
||
}, |
}, |
||
Line 193: | Line 189: | ||
"format": "block" |
"format": "block" |
||
} |
} |
||
</templatedat |
|||
</templatedata> |
|||
</noinclude> |
Revision as of 01:40, 24 April 2022
Infobox armor | |
File:Infobox armor.png | |
Statistics | |
Type | |
Quality | |
Craftable | |
Armor | |
Stun Resistance | |
Max Energy | |
Energy Reward | |
Crit Power | |
Stealth | |
Technical Information | |
.vox File | |
.ron File | |
Sprite Manifest |
<templatedata> { "params": { "image": { "aliases": [ "picture", "art" ], "label": "Image", "description": "Image name and the extension.", "example": "CultistSword.png", "type": "string", "required": true }, "title": { "aliases": [ "name" ], "label": "Title", "description": "The equipments full name", "example": "Magical Cultist Greatsword", "type": "string", "required": true }, "type": { "label": "Type", "description": "The type of equipment.", "example": "Legs", "type": "string", "required": true }, "quality": { "label": "Quality", "description": "The quality of said equipment.", "example": "Epic", "type": "wiki-template-name", "default": "Common", "required": true, "autovalue": "{{}}" }, "vox": { "aliases": [ "model", "voxel" ], "label": "Vox", "description": "The gitlab link to the .vox model.", "example": "https://gitlab.com/veloren/veloren/-/blob/master/assets/voxygen/voxel/weapon/sword/cultist_purp_2h-0.vox cultist_purp_2h-0.vox", "type": "url", "suggested": true }, "craftable": { "label": "Is Craftable", "description": "Is this item craftable.", "example": "Yes/No", "type": "string", "default": "No", "required": true }, "ron": { "label": ".ron File", "description": "The Gitlab link for the glider's .ron file.", "example": "glider_snowraptor.ron", "type": "string", "required": true }, "description": { "label": "Description", "description": "The description of the armor.", "example": "\"This belonged to an evil cult leader.\"", "type": "string", "required": true }, "manifest": { "label": "Sprite Manifest", "description": "The link to the line in the sprite manifest.", "type": "string", "suggested": true }, "armor": { "label": "Armor", "description": "Amount of armor it gives.", "example": "12.0", "type": "number", "required": true }, "stunres": { "label": "Stun Resistance ", "description": "The stun resistance of the armor.", "example": "10.0", "type": "number", "required": true }, "maxenergy": { "label": "Max Energy", "description": "The amount of max energy the armor gives.", "example": "25", "type": "number", "required": true }, "energy": { "label": "Energy Reward", "description": "The amount of energy the armor rewards.", "example": "10", "type": "number", "required": true }, "critpower": { "label": "Critical Power", "description": "The crit power the armor gives.", "example": "0.2", "type": "number", "required": true }, "stealth": { "label": "Stealth", "description": "The amount of stealth the armor gives.", "example": "1", "required": 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": [ "image", "title", "description", "type", "quality", "armor", "stunres", "maxenergy", "energy", "critpower", "stealth", "craftable", "vox", "ron", "manifest" ], "format": "block" } </templatedat