Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 17:10, 18 March 2026 by Admin (talk | contribs)

This template is for displaying item and weapon statistics for The Legend of California.

A standardized box for displaying weapon and item statistics in The Legend of California.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Icon Imageicon_image

The exact filename of the uploaded icon (e.g., IronSword.png).

Example
IronSword.png
Filerequired
Icon Widthicon_width

Width of the icon in pixels.

Default
80px
Example
100px
Stringoptional
Item Nameitem_name

The display name of the weapon.

Example
Golden Revolver
Stringsuggested
Tieritem_tier

The rarity or power tier of the item.

Example
Legendary
Stringoptional
Item Typeitem_type

The category of weapon or item (e.g., Sidearm, Pickaxe, Food).

Example
Pistol
Stringoptional
Descriptiondescription

A short flavor text or mechanical description.

Contentoptional
Loaded Ammoloaded_ammo

Specifies what kind of ammo is currently in the weapon.

Example
.44 Magnum
Stringoptional
Damagedamage

The base ranged or primary damage value.

Stringoptional
Damage Multiplierdamage_mult

The multiplier applied to base damage.

Example
1.5x
Stringoptional
Melee Damagemelee_damage

Damage dealt in hand-to-hand combat.

Stringoptional
Defensedefense

Damage reduction or armor value provided.

Stringoptional
Fire Ratefire_rate

How fast the weapon fires.

Stringoptional
Max Ammomax_ammo

The maximum capacity of the magazine/clip.

Numberoptional
Rangerange

The effective distance of the weapon.

Stringoptional
Mining Strengthmining_strength

Power level for breaking blocks or nodes.

Stringoptional
Mining Areamining_area

The size of the area mined (e.g., 3x3).

Stringoptional
Mining Yieldmining_yield

Bonus to resources gathered.

Stringoptional
Comfortcomfort

Comfort value provided by furniture or clothing.

Stringoptional
Hunger Restoredhunger_restored

Amount of hunger filled when consumed.

Stringoptional
Inventory Countinventory_count

How many the player currently has.

Default
0
Numberoptional
Current Durabilitycurrent_dur

The remaining durability of the weapon.

Numberoptional
Max Durabilitymax_dur

The maximum durability of the weapon.

Numberoptional
Repair Statusrepair_status

Current status of repairs (e.g., Needs Repair).

Stringoptional
Gold Valuegold

The gold cost or value.

Numberoptional
Silver Valuesilver

The silver cost or value.

Numberoptional

Usage

{{WeaponStats
| icon_image = Exact_Uploaded_Filename.png
| icon_width = 80px
| item_name = Name of the weapon/item
| item_tier = Item Tier (Optional)
| item_type = Weapon/Item Type
| description = Short description (Optional)
| loaded_ammo = Specific ammo loadout (Optional)
| damage = Value (Optional)
| damage_mult = Value (Optional)
| melee_damage = Value (Optional)
| defense = Value (Optional)
| fire_rate = Value (Optional)
| max_ammo = Value (Optional)
| range = Value (Optional)
| mining_strength = Value (Optional)
| mining_area = Value (Optional)
| mining_yield = Value (Optional)
| comfort = Value (Optional)
| hunger_restored = Value (Optional)
| inventory_count = Quantity
| current_dur = Current value
| max_dur = Max value
| repair_status = Status
| gold = Value (Optional)
| silver = Value (Optional)
}}


Contents