Template:WeaponStats: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
</div> | </div> | ||
</div> | </div> | ||
< | <div class="weapon-separator-double"></div> | ||
{{#if:{{{description|}}}|<div class="description-section">{{{description}}}</div>}} | {{#if:{{{description|}}}|<div class="description-section">{{{description}}}</div>}} | ||
{{#if:{{{loaded_ammo|}}}|<div class="loaded-ammo"><span class="ammo-icon">✦</span> Loaded with: {{{loaded_ammo}}}</div>}} | {{#if:{{{loaded_ammo|}}}|<div class="loaded-ammo"><span class="ammo-icon">✦</span> Loaded with: {{{loaded_ammo}}}</div>}} | ||
{{#if:{{{damage|}}}{{{damage_mult|}}}{{{fire_rate|}}}{{{max_ammo|}}}{{{range|}}}| | {{#if:{{{damage|}}}{{{damage_mult|}}}{{{fire_rate|}}}{{{max_ammo|}}}{{{range|}}}|<div class="weapon-separator"></div><div class="stats-section">{{#if:{{{damage|}}}|<div class="stat-row"><span>Damage</span> <span>{{{damage}}}</span></div>}}{{#if:{{{damage_mult|}}}|<div class="stat-row"><span>Damage Multiplier</span> <span>{{{damage_mult}}}</span></div>}}{{#if:{{{fire_rate|}}}|<div class="stat-row"><span>Fire Rate</span> <span>{{{fire_rate}}}</span></div>}}{{#if:{{{max_ammo|}}}|<div class="stat-row"><span>Max Ammo</span> <span>{{{max_ammo}}}</span></div>}}{{#if:{{{range|}}}|<div class="stat-row"><span>Range</span> <span>{{{range}}}</span></div>}}</div>}} | ||
< | <div class="weapon-separator"></div> | ||
<div class="stats-section"> | |||
{{#if:{{{damage|}}}|<div class="stat-row"><span>Damage</span> <span>{{{damage}}}</span></div>}} | |||
{{#if:{{{damage_mult|}}}|<div class="stat-row"><span>Damage Multiplier</span> <span>{{{damage_mult}}}</span></div>}} | |||
{{#if:{{{fire_rate|}}}|<div class="stat-row"><span>Fire Rate</span> <span>{{{fire_rate}}}</span></div>}} | |||
{{#if:{{{max_ammo|}}}|<div class="stat-row"><span>Max Ammo</span> <span>{{{max_ammo}}}</span></div>}} | |||
{{#if:{{{range|}}}|<div class="stat-row"><span>Range</span> <span>{{{range}}}</span></div>}} | |||
</div> | |||
}} | |||
< | |||
<div class="durability-inventory-row"> | <div class="durability-inventory-row"> | ||
<div>DURABILITY: {{{current_dur|-}}}/{{{max_dur|-}}} <span class="repair-status">{{{repair_status|}}}</span></div> | <div>DURABILITY: {{{current_dur|-}}}/{{{max_dur|-}}} <span class="repair-status">{{{repair_status|}}}</span></div> | ||
<div>INVENTORY: {{{inventory_count|0}}}</div> | <div>INVENTORY: {{{inventory_count|0}}}</div> | ||
</div> | </div> | ||
{{#if:{{{gold|}}}{{{silver|}}}| | {{#if:{{{gold|}}}{{{silver|}}}|<div class="currency-section">{{#if:{{{gold|}}}|<div class="currency-item"><div class="icon-gold-placeholder"></div> {{{gold}}}</div>}}{{#if:{{{silver|}}}|<div class="currency-item"><div class="icon-silver-placeholder"></div> {{{silver}}}</div>}}</div>}} | ||
<div class="currency-section"> | |||
{{#if:{{{gold|}}}|<div class="currency-item"><div class="icon-gold-placeholder"></div> {{{gold}}}</div>}} | |||
{{#if:{{{silver|}}}|<div class="currency-item"><div class="icon-silver-placeholder"></div> {{{silver}}}</div>}} | |||
</div> | |||
}} | |||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
This template is for displaying weapon statistics for The Legend of California. | This template is for displaying weapon statistics for The Legend of California. | ||
Revision as of 01:44, 18 March 2026
This template is for displaying weapon statistics for The Legend of California.
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)
}}