Template:equip name/sandbox

Revision as of 01:15, 27 July 2024 by Messing with data (talk | contribs) (Updated css classes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation icon Template documentation[view] [edit] [history] [purge]

Template for displaying an equipment name with proper colouring and a (optional) a small icon

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Equipment name1

no description

Example
P22 Laser Sight
Page namerequired
Equipment Type2

The type of the equipment.

Suggested values
Silencer Telescopic Sight Holographic Sight Red Dot Sight Night Combat Equipment Auxiliary Sight Choke Armor-Piercing Ammo HP Ammo Shotgun Ammo High-Velocity Ammo Special AP Ammo Microchip Exoskeleton Ballistic Plate Ammo Box Camo Cape Bipod or Range Finder
Stringoptional
Rarity3

The equipment rarity (number between 2 and 5 inclusive)

Suggested values
2 3 4 5
Example
4
Numberrequired

Usage edit

See the template's testcases:


Usual call
Wiki code
{{equip name|P22 Laser Sight|Silencer|4}}
Main version P22 Laser Sight
Sandbox version P22 Laser Sight
Call within text
Wiki code
Hello, I'm a text. {{equip name|P22 Laser Sight|Silencer|4}} is a good equipment.
Main version Hello, I'm a text. P22 Laser Sight is a good equipment.
Sandbox version Hello, I'm a text. P22 Laser Sight is a good equipment.
Call without type.
Wiki code
Hello, I'm a text. {{equip name|P22 Laser Sight||4}} is a good equipment.
Main version Hello, I'm a text. P22 Laser Sight is a good equipment.
Sandbox version Hello, I'm a text. P22 Laser Sight is a good equipment.