Toggle menu
1.3K
1.7K
694
23.9K
Veloren Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Horblegorble/Sandbox/Infobox weapon: Difference between revisions

Template page
Content added Content deleted
No edit summary
No edit summary
Line 2: Line 2:


<includeonly>{|class="infobox .skin-citizen-dark floatright"
<includeonly>{|class="infobox .skin-citizen-dark floatright"
| colspan="2" class="infobox-image" | [[Image:{{#if:{{{image|}}}|{{{image|}}}|{{#invoke:Horblegorble/Sandbox/Weapon|getWeaponImage|{{#if:{{{override|}}}|{{{override|}}}|{{PAGENAME}}}}}}|class=infobox-image|290px|link=]]
| colspan="2" class="infobox-image" | [[Image:{{#if:{{{image|}}}|{{{image|}}}|{{#invoke:Horblegorble/Sandbox/Weapon|getWeaponImage|{{#if:{{{override|}}}|{{{override|}}}|{{PAGENAME}}}}}}}}|class=infobox-image|290px|link=]]
|-
|-
| colspan="2" class="infobox-title" style="font-size: 125%" | {{#if:{{{title|}}}|{{{title|}}}|{{#invoke:Horblegorble/Sandbox/Weapon|getWeaponName|{{#if:{{{override|}}}|{{{override|}}}|{{PAGENAME}}}}}}}}
| colspan="2" class="infobox-title" style="font-size: 125%" | {{#if:{{{title|}}}|{{{title|}}}|{{#invoke:Horblegorble/Sandbox/Weapon|getWeaponName|{{#if:{{{override|}}}|{{{override|}}}|{{PAGENAME}}}}}}}}

Revision as of 12:54, 15 August 2022


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

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 weapon.

Example
This belonged to an evil cult leader.
Stringrequired
Typetype

The type of equipment.

Example
Two Handed Sword
Page namerequired
Qualityquality

The quality of said equipment.

Default
Common
Example
Epic
Templaterequired
Is Craftablecraftable

Is this item craftable.

Default
No
Example
Yes/No
Stringrequired
Powerpower damage

The Power of the weapon.

Default
1
Example
20
Numberrequired
Speedspeed

The speed of the weapon.

Default
1
Example
1
Numberrequired
Poise Strengthpoisestrength

The amount of Poise Damage the weapon does.

Default
1
Example
10
Numberrequired
Crit Chancecritchance

The chance for a critital strike against an enemy

Default
10%
Example
10%
Numberrequired
Crit Damagecritdamage

The damage multiplier for a critical strike.

Default
1.5x
Example
1.5x
Numberrequired
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.