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

Template:WeaponStats: Difference between revisions

Template page
Created page with "<includeonly> <div class="weapon-stats-box"> <div class="weapon-stats-header"> <div class="weapon-icon-placeholder">{{{icon_alt_text|Weapon Icon Alt Text}}}</div> <div> <h1 class="item-name">{{{item_name|[ITEM_NAME]}}}</h1> <p class="item-type">{{{item_type|[ITEM_TYPE]}}}</p> </div> </div> <hr class="weapon-separator" /> <div class="description-section"> {{{description|[DESCRIPTION]}}} </div> <hr class="weapon-separator" /> <..."
 
No edit summary
Line 2: Line 2:
<div class="weapon-stats-box">
<div class="weapon-stats-box">
   <div class="weapon-stats-header">
   <div class="weapon-stats-header">
     <div class="weapon-icon-placeholder">{{{icon_alt_text|Weapon Icon Alt Text}}}</div>
     <div class="weapon-icon-area">
      [[File:{{{icon_image|}}}|{{{icon_width|60px}}}]]
    </div>
     <div>
     <div>
       <h1 class="item-name">{{{item_name|[ITEM_NAME]}}}</h1>
       <h1 class="item-name">{{{item_name|[ITEM_NAME]}}}</h1>
Line 47: Line 49:
<pre>
<pre>
{{WeaponStats
{{WeaponStats
| icon_alt_text = Image Name
| icon_image = Exact_Uploaded_Filename.png
| icon_width = 60px (Optional default)
| item_name = Name of the weapon
| item_name = Name of the weapon
| item_type = Weapon Type
| item_type = Weapon Type
| description = Short description
| description = Short description (wraps naturally)
| damage_mult = Value
| damage_mult = Value
| fire_rate = Value
| fire_rate = Value
Line 58: Line 61:
| current_dur = Current value
| current_dur = Current value
| max_dur = Max value
| max_dur = Max value
| repair_status = Status
| repair_status = Status (wraps naturally)
| gold = Value
| gold = Value
| silver = Value
| silver = Value

Revision as of 23:51, 17 March 2026

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

Usage

{{WeaponStats
| icon_image = Exact_Uploaded_Filename.png
| icon_width = 60px (Optional default)
| item_name = Name of the weapon
| item_type = Weapon Type
| description = Short description (wraps naturally)
| damage_mult = Value
| fire_rate = Value
| max_ammo = Value
| range = Value
| inventory_count = Quantity
| current_dur = Current value
| max_dur = Max value
| repair_status = Status (wraps naturally)
| gold = Value
| silver = Value
}}
Contents