Template:equip name/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:equip name. It contains usage information, categories and other content that is not part of the original template page. |
Template for displaying an equipment name with proper colouring and a (optional) a small icon
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Equipment name | 1 | no description
| Page name | required |
| Equipment Type | 2 | The type of the equipment.
| String | optional |
| Rarity | 3 | The equipment rarity (number between 2 and 5 inclusive)
| Number | required |
Usage
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. |
