Difference between revisions of "Template:Infobox Weapon/doc"
Jump to navigation
Jump to search
m |
m (→Examples) |
||
Line 139: | Line 139: | ||
|aoetaper = 83 | |aoetaper = 83 | ||
|nocat = 1}} | |nocat = 1}} | ||
</pre> | |||
| {{Infobox Weapon | | {{Infobox Weapon | ||
|weapon = 'Equinox' Shock Rifle | |weapon = 'Equinox' Shock Rifle |
Revision as of 15:41, 25 December 2021
Alternative version of Weapon Infobox, but using wikitext. It has the same parameters as the original, but contains more parameters and tags.
Usage
Parameter | Description |
---|---|
title weapon |
Infobox Title; by default, is the sub page name. |
image | Infobox Image, if manualimg is empty, the valid value is the filename, else, is the image (containing all parameters) [[File:Image|300px]] with full manipulation ;
|
abilties | Weapon abilities, use {{Gamekey|KEY}} to set which key has the special ability.
|
floatleft | (WIP) Makes the infobox at left side. |
manualimg | By default if empty, if not, it will allow the use of complete manipulation of image. (WIP) |
tags | See #Tags |
tier | Weapon tier, if "Cost" parameter is empty, it will get the default price in game (15|30|65|115|170|280) from tier 1 to 6 respectively |
cost | Weapon cost, if this parameter is empty, it will get the default price in game (15|30|65|115|170|280) from tier 1 to 6 respectively based on which tier is defined |
damage | Weapon damage |
reload | Weapon reload time in seconds. |
attackdelay | Weapon attack delay in seconds. |
clipsize | Weapon clip size. |
minspread | Weapon minimum spread (minimum bullet spread cone). |
maxspread | Weapon maximum spread. (maximum bullet spread cone). |
movespeed | Weapon movement speed. |
respierce | Weapon resistance pierce in %. |
overkill | Weapon overkill in %. |
pointmulti | Weapon point multiplier in %. 100% = default for every weapon. |
pulseslow slow |
Weapon elemental slow in %. |
nbpierces | Gun bullet pierce. (For guns) |
piercetaper | Melee pierce taper. (For melee weapons) |
aoeradius | Radius of AoE Damage |
aoetaper | Area of Effect Taper |
headshotmulti | Headshot Damage Multiplier in numberx |
debufftime | Duration of Debuff in seconds. |
bufftime | Duration of Buff in seconds. |
healing | Heal Value |
Melee Exclusive Stats | |
range | How longer the melee attack can reach at target |
knockback | Knockback Damage (not hp damage) |
stability | How much damage the melee weapon will absorb until the guard break, increases chances of parry. |
staminause | (OBSOLETE) How much stamina the melee weapon consumes, it is no longer used since that melee weapons don't consume stamina on melee swings. |
block | How much melee damage taken the melee weapon can absorb in % while blocking. |
impactdelay | How longer the melee attack takes after impact (collision with solid or entities) in seconds. |
size | Melee attack size. |
Tags
This template is used for implementing which "Innate" the weapon has.
Usage
{{Template:Infobox_Weapon/tags|(TEXT)}}
(TEXT) = It creates an image if the text is in argument 1.
Parameter | Result |
---|---|
fire | ![]() |
acid | ![]() |
serrate | ![]() |
frost | ![]() |
electro | ![]() |
sap | ![]() |
soften | ![]() |
bounty | ![]() |
hinder | ![]() |
spotted | ![]() |
Category Exclusive Matches Is automatically done with values calc. Can be disabled if nocat is trueIf nocat is false, it will require these tags
| |
Parameter | Description |
melee | Defines the weapon as melee |
gun | Defines the weapon as gun |
medtool | Defines the weapon as medical tool, e.g.: Medical Kit, Critical Care |
heal | Defines the weapon as weapon with healing implemented. |
consumable | Defines the weapon as consumable, e.g.: Grenades. |
Note: This template has case-sensitive arguments, i.e., putting in capital letters will not work.
Example
Wikitext | Result |
---|---|
{{Template:Infobox_Weapon/tags|(bountyfire)}} |
![]() ![]() |
{{Template:Infobox_Weapon/tags|(BOUNTYFIRE)}} |
|
{{Template:Infobox_Weapon/tags|(BOUNTYFIREfrosthinder)}} |
![]() ![]() |
{{Template:Infobox_Weapon/tags|(zselectrozsacidzs)}} |
![]() ![]() |
{{Template:Infobox_Weapon/tags|(acidacidacidshockfire)}} |
![]() ![]() ![]() |
Examples
Wikitext | What is rendered | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox Weapon |weapon = 'Equinox' Shock Rifle |tags = electro |image = Equinox main screen 1.png |tier = 5 |cost = 170 |damage = 53.5 |reload = 3.7 |attackdelay = 0.61 |clipsize = 25 |minspread = 0.3 |maxspread = 0.3 |movespeed = 218 |respierce = -20 |aoeradius = 110 |aoetaper = 83 |nocat = 1}} |
|