Template:BossIcon/doc: Difference between revisions
From Elwiki
Line 1: | Line 1: | ||
== Preview == | == Preview == | ||
{{BossIcon|1|5|10}} {{BossIcon|1|2|15}} {{BossIcon|2|6|12}} {{BossIcon|2|5|9}} | {{BossIcon|1|5|10}} {{BossIcon|1|2|15}} {{BossIcon|2|6|12}} {{BossIcon|2|5|9}} | ||
== Code & Parameters == | |||
<pre><nowiki>{{BossIcon|map_no|x|y}}</nowiki></pre> | |||
*<code>map_no</code> - always first, determines whether to use the [https://elwiki.net/w/File:Sprite_-_Boss_Icon_1.png first map] or the [https://elwiki.net/w/File:Sprite_-_Boss_Icon_2.png second map]. | |||
*<code>x</code> - number of the icon (horizontal), count from left to right, from 0, for example [[William]]'s number in the first map is 0 (not 1). | |||
*<code>y</code> - number of the icon (vertical), for example [[Chloe]]'s number in the first map is 3 (not 4). | |||
== 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. |
Revision as of 13:55, 8 May 2022
Preview
Code & Parameters
{{BossIcon|map_no|x|y}}
map_no
- always first, determines whether to use the first map or the second map.x
- number of the icon (horizontal), count from left to right, from 0, for example William's number in the first map is 0 (not 1).y
- number of the icon (vertical), for example Chloe's number in the first map is 3 (not 4).
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.