Template:Weapon: Difference between revisions

From Siroccopedia
Jump to navigationJump to search
Created page with "<noinclude> This is the template for weapon pages. It displays weapon information in a standardized format. == Usage == {{Weapon |name= |image= |type= |damage= |range= |unlock_level= |ammo_type= |rate_of_fire= |accuracy= |special_effects= }} == Parameters == {| class="wikitable" ! Parameter !! Description !! Required |- | name || The weapon's name || Yes |- | image || The weapon's image filename || Yes |- | type || Weapon type (e.g., Rifle, Cannon, Missile) || No |- |..."
 
No edit summary
Line 59: Line 59:
! colspan="2" style="font-size: 125%; background-color: #444444; color: white;" | {{{name}}}
! colspan="2" style="font-size: 125%; background-color: #444444; color: white;" | {{{name}}}
|-
|-
| colspan="2" | [[File:{{{image}}}|250px]]
| colspan="2" | [[File:{{{image}}}.png|250px]]
|-
|-
! style="width: 40%;" | Type
! style="width: 40%;" | Type

Revision as of 20:27, 22 February 2025

This is the template for weapon pages. It displays weapon information in a standardized format.

Usage

File:.png
Type
Damage
Range
Unlock Level
Ammo Type
Rate of Fire
Accuracy
Special Effects


Parameters

Parameter Description Required
name The weapon's name Yes
image The weapon's image filename Yes
type Weapon type (e.g., Rifle, Cannon, Missile) No
damage Base damage value No
range Effective range No
unlock_level Level required to unlock this weapon No
ammo_type Type of ammunition used No
rate_of_fire Rate of fire (rounds per minute) No
accuracy Base accuracy rating No
special_effects Any special effects or properties No

Example

Plasma Rifle
File:Plasma rifle.png.png
Type Energy Weapon
Damage 75
Range Medium
Unlock Level 5
Ammo Type Plasma Cells
Rate of Fire 120
Accuracy 85%
Special Effects Shield Penetration