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
Tag: Redirect target changed
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[User:Horblegorble/Deleted]]
<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-title" style="font-size: 125%" | {{#if:{{{desc|}}}|{{{desc|}}}|{{#invoke:Horblegorble/Sandbox/Weapon|getWeaponName|{{PAGENAME}}}}
|-
| colspan="2" class="infobox-text"" style="text-align: center; font-size: 90%;" | {{#invoke:Horblegorble/Sandbox/Weapon|getWeaponDesc|{{#if:{{{override|}}}|{{{override|}}}|{{PAGENAME}}}}}}}}
|-
| colspan="2" class="infobox-title" style="font-size: 90%;" | Statistics
|-
| class="infobox-texttitle" | [[Quality]]
| class="infobox-text" style="padding-left:10px" | {{#if:{{{quality|}}}|{{{quality|}}}|{{#invoke:Horblegorble/Sandbox/Weapon|getWeaponQuality|{{#if:{{{override|}}}|{{{override|}}}|{{PAGENAME}}}}}}}}
|-
| class="infobox-texttitle" | Power
| class="infobox-text" style="padding-left:10px" | {{#if:{{{power|}}}|{{{power|}}}|{{#invoke:Horblegorble/Sandbox/Weapon|getWeaponDamage|{{#if:{{{override|}}}|{{{override|}}}|{{PAGENAME}}}}}}}}
|-
| class="infobox-texttitle" | Speed
| class="infobox-text" style="padding-left:10px" | {{#if:{{{speed|}}}|{{{speed|}}}|{{#invoke:Horblegorble/Sandbox/Weapon|getWeaponSpeed|{{#if:{{{override|}}}|{{{override|}}}|{{PAGENAME}}}}}}}}
|-
| class="infobox-texttitle" | Poise Strength
| class="infobox-text" style="padding-left:10px" | {{#if:{{{poise|}}}|{{{poise|}}}|{{#invoke:Horblegorble/Sandbox/Weapon|getWeaponPoise|{{#if:{{{override|}}}|{{{override|}}}|{{PAGENAME}}}}}}}}
|-
| class="infobox-texttitle" | Crit Chance
| class="infobox-text" style="padding-left:10px" | {{#if:{{{critchance|}}}|{{{critchance|}}}|{{#invoke:Horblegorble/Sandbox/Weapon|getWeaponCritChance|{{#if:{{{override|}}}|{{{override|}}}|{{PAGENAME}}}}}}}}
|-
| colspan="2" class="infobox-title" | Technical Information
|-
| class="infobox-texttitle" | .vox File
| class="infobox-text" | {{#if:{{{vox|}}}|{{{vox|}}}|{{unknown}}}}
|-
| class="infobox-texttitle" | .ron File
| class="infobox-text" | {{#if:{{{ron|}}}|{{{ron|}}}|{{unknown}}}}
|-
| colspan="2" class="infobox-texttitle" style="text-align:center"| Item Path
|-
| colspan="2" class="infobox-text" style="font-size: 75%; text-align:center" | {{#if:{{{path|}}}|{{{path|}}}|{{#invoke:Horblegorble/Sandbox/Weapon|getWeaponPath|{{#if:{{{override|}}}|{{{override|}}}|{{PAGENAME}}}}}}}}
|}
</includeonly>

<noinclude>[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]]
<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": "Two Handed Sword",
"type": "wiki-page-name",
"required": true
},
"quality": {
"label": "Quality",
"description": "The quality of said equipment.",
"example": "Epic",
"type": "wiki-template-name",
"default": "Common",
"required": true
},
"power": {
"aliases": [
"damage"
],
"label": "Power",
"description": "The Power of the weapon.",
"example": "20",
"type": "number",
"default": "1",
"required": true
},
"speed": {
"label": "Speed",
"description": "The speed of the weapon.",
"example": "1",
"type": "number",
"default": "1",
"required": true
},
"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": "[https://gitlab.com/veloren/veloren/-/blob/master/assets/common/items/glider/glider_snowraptor.ron glider_snowraptor.ron]",
"type": "string",
"required": true
},
"poisestrength": {
"label": "Poise Strength",
"description": "The amount of Poise Damage the weapon does.",
"example": "10",
"type": "number",
"default": "1",
"required": true
},
"critchance": {
"label": "Crit Chance",
"description": "The chance for a critital strike against an enemy",
"example": "10%",
"type": "number",
"default": "10%",
"required": true
},
"critdamage": {
"label": "Crit Damage",
"description": "The damage multiplier for a critical strike.",
"example": "1.5x",
"type": "number",
"default": "1.5x",
"required": true
},
"description": {
"label": "Description",
"description": "The description of the weapon.",
"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
}
},
"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",
"craftable",
"power",
"speed",
"poisestrength",
"critchance",
"critdamage",
"vox",
"ron",
"manifest"
],
"format": "block"
}
</templatedata>
</noinclude>

Latest revision as of 04:11, 22 July 2023

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