Template:equip name
Jump to navigation
Jump to search
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[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. |
The above documentation is transcluded from Template:equip name/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |