Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Item: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 55: Line 55:
         "comfort": { "label": "Comfort", "type": "string" },
         "comfort": { "label": "Comfort", "type": "string" },
         "hunger_restored": { "label": "Hunger Restored", "type": "string" },
         "hunger_restored": { "label": "Hunger Restored", "type": "string" },
        "inventory_count": { "label": "Inventory Count", "type": "number", "default": "0" },
        "current_dur": { "label": "Current Durability", "type": "number" },
        "max_dur": { "label": "Max Durability", "type": "number" },
        "repair_status": { "label": "Repair Status", "type": "string" },
        "gold": { "label": "Gold Value", "type": "number" },
        "silver": { "label": "Silver Value", "type": "number" },
         "special_stat_1_name": { "label": "Special Stat 1 Name", "description": "Title for the 1st special stats group (e.g., Bonus Effects)", "type": "string" },
         "special_stat_1_name": { "label": "Special Stat 1 Name", "description": "Title for the 1st special stats group (e.g., Bonus Effects)", "type": "string" },
         "special_stat_1_text_1": { "label": "Special Stat 1 - Text 1", "type": "string" },
         "special_stat_1_text_1": { "label": "Special Stat 1 - Text 1", "type": "string" },
Line 74: Line 80:
         "special_stat_4_text_2": { "label": "Special Stat 4 - Text 2", "type": "string" },
         "special_stat_4_text_2": { "label": "Special Stat 4 - Text 2", "type": "string" },
         "special_stat_4_text_3": { "label": "Special Stat 4 - Text 3", "type": "string" },
         "special_stat_4_text_3": { "label": "Special Stat 4 - Text 3", "type": "string" },
         "special_stat_4_text_4": { "label": "Special Stat 4 - Text 4", "type": "string" },
         "special_stat_4_text_4": { "label": "Special Stat 4 - Text 4", "type": "string" }
        "inventory_count": { "label": "Inventory Count", "type": "number", "default": "0" },
        "current_dur": { "label": "Current Durability", "type": "number" },
        "max_dur": { "label": "Max Durability", "type": "number" },
        "repair_status": { "label": "Repair Status", "type": "string" },
        "gold": { "label": "Gold Value", "type": "number" },
        "silver": { "label": "Silver Value", "type": "number" }
     }
     }
}
}

Latest revision as of 15:12, 19 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.

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).

Filerequired
Icon Widthicon_width

Width of the icon in pixels.

Default
80px
Stringoptional
Item Nameitem_name

The display name of the weapon.

Stringsuggested
Tieritem_tier

The rarity or power tier of the item.

Stringoptional
Item Typeitem_type

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

Stringoptional
Descriptiondescription

A short flavor text or mechanical description.

Contentoptional
Loaded Ammoloaded_ammo

Specifies what kind of ammo is currently in the weapon.

Stringoptional
Damagedamage

no description

Stringoptional
Damage Multiplierdamage_mult

no description

Stringoptional
Melee Damagemelee_damage

no description

Stringoptional
Defensedefense

no description

Stringoptional
Fire Ratefire_rate

no description

Stringoptional
Max Ammomax_ammo

no description

Numberoptional
Rangerange

no description

Stringoptional
Mining Strengthmining_strength

no description

Stringoptional
Mining Areamining_area

no description

Stringoptional
Mining Yieldmining_yield

no description

Stringoptional
Comfortcomfort

no description

Stringoptional
Hunger Restoredhunger_restored

no description

Stringoptional
Inventory Countinventory_count

no description

Default
0
Numberoptional
Current Durabilitycurrent_dur

no description

Numberoptional
Max Durabilitymax_dur

no description

Numberoptional
Repair Statusrepair_status

no description

Stringoptional
Gold Valuegold

no description

Numberoptional
Silver Valuesilver

no description

Numberoptional
Special Stat 1 Namespecial_stat_1_name

Title for the 1st special stats group (e.g., Bonus Effects)

Stringoptional
Special Stat 1 - Text 1special_stat_1_text_1

no description

Stringoptional
Special Stat 1 - Text 2special_stat_1_text_2

no description

Stringoptional
Special Stat 1 - Text 3special_stat_1_text_3

no description

Stringoptional
Special Stat 1 - Text 4special_stat_1_text_4

no description

Stringoptional
Special Stat 2 Namespecial_stat_2_name

Title for the 2nd special stats group

Stringoptional
Special Stat 2 - Text 1special_stat_2_text_1

no description

Stringoptional
Special Stat 2 - Text 2special_stat_2_text_2

no description

Stringoptional
Special Stat 2 - Text 3special_stat_2_text_3

no description

Stringoptional
Special Stat 2 - Text 4special_stat_2_text_4

no description

Stringoptional
Special Stat 3 Namespecial_stat_3_name

Title for the 3rd special stats group

Stringoptional
Special Stat 3 - Text 1special_stat_3_text_1

no description

Stringoptional
Special Stat 3 - Text 2special_stat_3_text_2

no description

Stringoptional
Special Stat 3 - Text 3special_stat_3_text_3

no description

Stringoptional
Special Stat 3 - Text 4special_stat_3_text_4

no description

Stringoptional
Special Stat 4 Namespecial_stat_4_name

Title for the 4th special stats group

Stringoptional
Special Stat 4 - Text 1special_stat_4_text_1

no description

Stringoptional
Special Stat 4 - Text 2special_stat_4_text_2

no description

Stringoptional
Special Stat 4 - Text 3special_stat_4_text_3

no description

Stringoptional
Special Stat 4 - Text 4special_stat_4_text_4

no description

Stringoptional

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)
| special_stat_1_name = Bonus Effects
| special_stat_1_text_1 = Shots knockback enemies
| special_stat_1_text_2 = +10% Fire Damage
| inventory_count = Quantity
| current_dur = Current value
| max_dur = Max value
| repair_status = Status
}}


Contents