Toggle menu
45
232
3
1.3K
EmrysSMP Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Weapon: Difference between revisions

Template page
Created page with "<includeonly><!-- Template -------- -->{{InfoboxNeue | image = {{{image|Emryssmp_logo.png}}} | title = {{PAGENAME}} | subtitle = Weapon | section1 = Combat | label2 = Main Hand Damage | content2 = {{{damage|N/A}}} |}}<!-- Category -------- -->Category:Items<!-- -->Category:Weapons<!-- -->{{#if:{{{is_vanilla|}}}|Category:Vanilla Items|Category:Custom Items}}<!-- <!-- Short description -------..."
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
| subtitle          = Weapon
| subtitle          = Weapon
| section1          = Combat
| section1          = Combat
| label2            = Main Hand Damage
| label2           = Main Hand Speed
| content2         = {{{damage|N/A}}}
| content2          = {{{speed|N/A}}}
| label3           = Main Hand Damage
| content3         = {{{damage|N/A}}}
|}}<!--
|}}<!--


Line 52: Line 54:
"damage": {
"damage": {
"label": "Main Hand Damage",
"label": "Main Hand Damage",
"description": "How much damage this item deals when held in the main hand",
"description": "The attack damage when this item is held in the main hand.",
"type": "number",
"suggested": true
},
"speed": {
"label": "Main Hand Speed",
"description": "The attack speed when this item is held in the main hand.",
"type": "number",
"type": "number",
"suggested": true
"suggested": true
Line 62: Line 70:
"short_desc",
"short_desc",
"is_vanilla",
"is_vanilla",
"speed",
"damage"
"damage"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 19:39, 27 May 2025

Template:Infobox Weapon/doc

Provides the Infobox for a Weapon. Also automatically sets categories and a short description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Imageimage

The filename of the image of the item

Example
Coal.png
Filerequired
Short descriptionshort_desc

Sets the short description at the top of the page.

Default
Item in EmrysSMP
Stringoptional
Is this a vanilla item?is_vanilla

Leave blank if not

Example
1
Unknownoptional
Main Hand Speedspeed

The attack speed when this item is held in the main hand.

Numbersuggested
Main Hand Damagedamage

The attack damage when this item is held in the main hand.

Numbersuggested