Template:Infobox armor: Difference between revisions

Template page
Content added Content deleted
No edit summary
(Undo revision 6706 by Davegdragon01 (talk))
Tag: Undo
Line 1: Line 1:
<onlyinclude>{| class="infobox .skin-citizen-dark floatright"
<onlyinclude>{| class="infobox .skin-citizen-dark floatright"
| colspan="2" class="infobox-title" style="font-size: 125%" | {{#if: {{{title|}}} |{{{title|}}} |{{PAGENAME}}}}
| colspan="2" class="infobox-image" | [[Image:{{{image|}}}|class=infobox-image|180px|link=]]
|-
| 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-texttitle" | 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 = [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"" | Type
| class="infobox-text"" | {{{type|}}}
|-
|-
| class="infobox-texttitle" | [[Quality]]
| class="infobox-texttitle" | [[Quality]]
| class="infobox-text" | {{{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" style="padding-left:10px" | {{{craftable|}}}
| class="infobox-text" | {{{craftable|}}}
|-
|-
| class="infobox-texttitle" | Armor
| class="infobox-texttitle" | Armor
| class="infobox-text" style="padding-left:10px" | {{{armor|}}}
| class="infobox-text" | {{{armor|}}}
|-
|-
| class="infobox-texttitle" | Stun Resistance
| class="infobox-texttitle" | Stun Resistance
| class="infobox-text" style="padding-left:10px" | {{{stunres|}}}
| class="infobox-text" | {{{stunres|}}}
|-
|-
| class="infobox-texttitle" | Max Energy
| class="infobox-texttitle" | Max Energy
| class="infobox-text" style="padding-left:10px" | {{{maxenergy|}}}
| class="infobox-text" | {{{maxenergy|}}}
|-
|-
| class="infobox-texttitle" | Energy Reward
| class="infobox-texttitle" | Energy Reward
| class="infobox-text" style="padding-left:10px" | {{{energy|}}}
| class="infobox-text" | {{{energy|}}}
|-
|-
| class="infobox-texttitle" | Crit Power
| class="infobox-texttitle" | Crit Power
| class="infobox-text" style="padding-left:10px" | {{{critpower|}}}
| class="infobox-text" | {{{critpower|}}}
|-
|-
| class="infobox-texttitle" | Stealth
| class="infobox-texttitle" | Stealth
| class="infobox-text" style="padding-left:10px" | {{{stealth|}}}
| class="infobox-text" | {{{stealth|}}}
|-
|-
| colspan="2" class="infobox-title" | Technical Information
| colspan="2" style="height: 15px;" |
|-
| 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 42: Line 49:
| class="infobox-texttitle" | .ron File
| class="infobox-texttitle" | .ron File
| class="infobox-text" | {{{ron|}}}
| class="infobox-text" | {{{ron|}}}
|-
| class="infobox-texttitle" | Sprite Manifest
| class="infobox-text" | {{{manifest|}}}
|}</onlyinclude>
|}</onlyinclude>
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]]
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]]
Line 75: Line 79:
"label": "Type",
"label": "Type",
"description": "The type of equipment.",
"description": "The type of equipment.",
"example": "Legs",
"example": "Legs (Hide)",
"type": "string",
"type": "wiki-page-name",
"required": true
"required": true
},
},
Line 189: Line 193:
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedat
</noinclude>

Revision as of 01:41, 24 April 2022

[[Image:|class=infobox-image|180px|link=]]
Statistics
Type
Quality
Craftable
Armor
Stun Resistance
Max Energy
Energy Reward
Crit Power
Stealth
Technical Information
Path
.vox File
.ron File

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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage picture art

Image name and the extension.

Example
CultistSword.png
Stringrequired
Titletitle name

The equipments full name

Example
Magical Cultist Greatsword
Stringrequired
Descriptiondescription

The description of the armor.

Example
"This belonged to an evil cult leader."
Stringrequired
Typetype

The type of equipment.

Example
Legs (Hide)
Page namerequired
Qualityquality

The quality of said equipment.

Default
Common
Example
Epic
Auto value
{{}}
Templaterequired
Armorarmor

Amount of armor it gives.

Example
12.0
Numberrequired
Stun Resistance stunres

The stun resistance of the armor.

Example
10.0
Numberrequired
Max Energymaxenergy

The amount of max energy the armor gives.

Example
25
Numberrequired
Energy Rewardenergy

The amount of energy the armor rewards.

Example
10
Numberrequired
Critical Powercritpower

The crit power the armor gives.

Example
0.2
Numberrequired
Stealthstealth

The amount of stealth the armor gives.

Example
1
Unknownrequired
Is Craftablecraftable

Is this item craftable.

Default
No
Example
Yes/No
Stringrequired
Voxvox model voxel

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
URLsuggested
.ron Fileron

The Gitlab link for the glider's .ron file.

Example
[https://gitlab.com/veloren/veloren/-/blob/master/assets/common/items/glider/glider_snowraptor.ron glider_snowraptor.ron]
Stringrequired
Sprite Manifestmanifest

The link to the line in the sprite manifest.

Stringsuggested
Cookies help us deliver our services. By using our services, you agree to our use of cookies.