Template:BossIcon/doc: Difference between revisions
From Elwiki
m (Ritsu moved page Doc:Template:BossIcon to Template:BossIcon/doc) |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Preview == | == Preview == | ||
{{BossIcon| | {{BossIcon|name=Karis}} {{BossIcon|name=DryadKenta}} {{BossIcon|2|7|13}} {{BossIcon|2|6|10}} {{BossIcon|3|1|1}} {{BossIcon|3|1|6}} | ||
== Code & Parameters == | == Code & Parameters == | ||
<pre><nowiki>{{BossIcon|map_no|x|y}}</nowiki></pre> | <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_- | *<code>map_no</code> - always first, a number that determines whether to use the [https://elwiki.net/w/File:Sprite_-_Boss_Icon_1.png first map], [https://elwiki.net/w/File:Sprite_-_Boss_Icon_2.png second map] or the [https://elwiki.net/w/File:Sprite_-_Boss_Icon_3.png third map]. | ||
*<code>x</code> - number of the icon (horizontal), count from left to right, from | *<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. | |||
* |
Latest revision as of 17:10, 24 August 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.