Template:Icon damage-type multi
Jump to navigation
Jump to search
Useful for showing many damage-type icons.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1st type | 1 | can be none, sustain, area, burst, fire, plasma or energy
| String | optional |
2nd type | 2 | sustain, area, burst, fire, plasma or energy
| String | optional |
3rd type | 3 | sustain, area, burst, fire, plasma or energy
| String | optional |
4th type | 4 | sustain, area, burst, fire, plasma or energy
| String | optional |
5th type | 5 | sustain, area, burst, fire, plasma or energy
| String | optional |
6th type | 6 | sustain, area, burst, fire, plasma or energy
| String | optional |
Example 1
{{Icon damage-type multi|plasma}}
Example 2
{{Icon damage-type multi|sustain|burst}}
Example 3
{{Icon damage-type multi|burst|sustain|area|energy|fire|plasma}}
Best Practice
To edit or experience with the templates, use the following sandbox and testcase pages:
Steps:
- The /sandbox may not have the latest version of the template code in it, so before you make a change, you need to synchronize it with the main template. Copy the entire contents of the main template to the /sandbox subpage, and save the page. Your edit summary should be something like "synchronize with the main template", or simply "sync".
- Have fun editing the sandbox. When you have some code you want to test, save the page.
- If you have added any new features or changed any parameters, you should add new test cases to the /testcases subpage so that they can be tested. Also, bear in mind that the existing test cases may not be complete. It's okay to rewrite the test cases if they aren't useful for what you're trying to achieve, but also consider editors who may use the test cases after you.
- Purge the /testcases page to update the results.
- Verify that the test case results are correct. If everything looks good, copy the code from the sandbox to the main template.