Template:BossIcon: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
|1|#default= | |1|#default= | ||
background-position: -{{#expr: ({{{x|}}}* | background-position: -{{#expr: ({{{x|}}}*77)+1 }}px -{{#expr: ({{{y|}}}*23) }}px" | ||
|2= | |2= |
Revision as of 13:44, 8 May 2022
Preview
<div class="boss-image boss-sprite-1" style="height: 18px; width: 67px; background-position: -Expression error: Unexpected * operator.px -Expression error: Unexpected * operator.px"
>
<div class="boss-image boss-sprite-1" style="height: 18px; width: 67px;
background-position: -Expression error: Unexpected * operator.px -Expression error: Unexpected * operator.px"
>
<div class="boss-image boss-sprite-2" style="height: 18px; width: 67px;
background-position: -Expression error: Unexpected * operator.px -Expression error: Unexpected * operator.px"
>
<div class="boss-image boss-sprite-2" style="height: 18px; width: 67px;
background-position: -Expression error: Unexpected * operator.px -Expression error: Unexpected * operator.px"
>
<div class="boss-image boss-sprite-1" style="height: 18px; width: 67px;
background-position: -Expression error: Unexpected * operator.px -Expression error: Unexpected * operator.px"
>
<div class="boss-image boss-sprite-1" style="height: 18px; width: 67px;
background-position: -Expression error: Unexpected * operator.px -Expression error: Unexpected * operator.px"
>
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.