Template:WeaponStats
More actions
This template is for displaying weapon statistics for The Legend of California.
A standardized box for displaying weapon statistics and durability in The Legend of California.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Icon Image | icon_image | The exact filename of the uploaded icon (e.g., IronSword.png).
| File | required |
| Icon Width | icon_width | Width of the icon in pixels.
| String | optional |
| Item Name | item_name | The display name of the weapon.
| String | suggested |
| Tier | item_tier | The rarity or power tier of the item.
| String | optional |
| Weapon Type | item_type | The category of weapon (e.g., Sidearm, Melee).
| String | optional |
| Description | description | A short flavor text or mechanical description. | Content | optional |
| Loaded Ammo | loaded_ammo | Specifies what kind of ammo is currently in the weapon.
| String | optional |
| Damage | damage | The base damage value. | String | optional |
| Damage Multiplier | damage_mult | The multiplier applied to base damage.
| String | optional |
| Fire Rate | fire_rate | How fast the weapon fires. | String | optional |
| Max Ammo | max_ammo | The maximum capacity of the magazine/clip. | Number | optional |
| Range | range | The effective distance of the weapon. | String | optional |
| Inventory Count | inventory_count | How many the player currently has.
| Number | optional |
| Current Durability | current_dur | The remaining durability of the weapon. | Number | optional |
| Max Durability | max_dur | The maximum durability of the weapon. | Number | optional |
| Repair Status | repair_status | Current status of repairs (e.g., Needs Repair). | String | optional |
| Gold Value | gold | The gold cost or value. | Number | optional |
| Silver Value | silver | The silver cost or value. | Number | optional |
Usage
{{WeaponStats
| icon_image = Exact_Uploaded_Filename.png
| icon_width = 80px
| item_name = Name of the weapon
| item_tier = Item Tier (Optional)
| item_type = Weapon Type
| description = Short description (Optional)
| loaded_ammo = Specific ammo loadout (Optional)
| damage = Value (Optional)
| damage_mult = Value (Optional)
| fire_rate = Value (Optional)
| max_ammo = Value (Optional)
| range = Value (Optional)
| inventory_count = Quantity
| current_dur = Current value
| max_dur = Max value
| repair_status = Status
| gold = Value (Optional)
| silver = Value (Optional)
}}