Template:Item: Difference between revisions
More actions
Created page with "<includeonly><div class="weapon-stats-box"> <div class="weapon-stats-header"> <div class="weapon-icon-area"> [[File:{{{icon_image}}}|{{{icon_width|80px}}}|frameless|link=]] </div> <div class="header-text-container"> <div class="header-title-tier-row"> <h1 class="item-name">{{{item_name|UNKNOWN ITEM}}}</h1> {{#if:{{{item_tier|}}}|<div class="item-tier-container"><span class="tier-label">TIER</span><span class="tier-value">{{{item_tier}}}</span></div>}} </div> <p class="it..." |
No edit summary |
||
| Line 201: | Line 201: | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
<includeonly>[[Category:Items]]</includeonly> | |||
Revision as of 17:10, 18 March 2026
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.
| 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 |
| Item Type | item_type | The category of weapon or item (e.g., Sidearm, Pickaxe, Food).
| 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 ranged or primary damage value. | String | optional |
| Damage Multiplier | damage_mult | The multiplier applied to base damage.
| String | optional |
| Melee Damage | melee_damage | Damage dealt in hand-to-hand combat. | String | optional |
| Defense | defense | Damage reduction or armor value provided. | 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 |
| Mining Strength | mining_strength | Power level for breaking blocks or nodes. | String | optional |
| Mining Area | mining_area | The size of the area mined (e.g., 3x3). | String | optional |
| Mining Yield | mining_yield | Bonus to resources gathered. | String | optional |
| Comfort | comfort | Comfort value provided by furniture or clothing. | String | optional |
| Hunger Restored | hunger_restored | Amount of hunger filled when consumed. | 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
| 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)
}}