Template:BossIcon/doc: Difference between revisions
From Elwiki
No edit summary |
|||
Line 6: | Line 6: | ||
*<code>x</code> - number of the icon (horizontal), count from left to right, from 1, for example [[William]]'s number in the first map is 1. | *<code>x</code> - number of the icon (horizontal), count from left to right, from 1, for example [[William]]'s number in the first map is 1. | ||
*<code>y</code> - number of the icon (vertical), for example [[Chloe]]'s number in the first map is 3. | *<code>y</code> - number of the icon (vertical), for example [[Chloe]]'s number in the first map is 3. | ||
*<code>name</code> - (optional) call a preset for a specific boss. Overwrites other parameters. The list can be found in the template's source code. | |||
== Issues == | == Issues == | ||
*Currently, the first map is customized so that it is somehow manageable by the script (the original map is messy). Due to this, some icons may still be offset by 1 or 2 pixels at times. | *Currently, the first map is customized so that it is somehow manageable by the script (the original map is messy). Due to this, some icons may still be offset by 1 or 2 pixels at times. |
Revision as of 19:32, 8 May 2022
Preview
Code & Parameters
{{BossIcon|map_no|x|y}}
map_no
- always first, a number that determines whether to use the first map, second map or the third map.x
- number of the icon (horizontal), count from left to right, from 1, for example William's number in the first map is 1.y
- number of the icon (vertical), for example Chloe's number in the first map is 3.name
- (optional) call a preset for a specific boss. Overwrites other parameters. The list can be found in the template's source code.
Issues
- Currently, the first map is customized so that it is somehow manageable by the script (the original map is messy). Due to this, some icons may still be offset by 1 or 2 pixels at times.