Difference between revisions of "Template:Skill list"
Jump to navigation
Jump to search
old>Realpsojed (Created page with "<includeonly><div style="position:relative;float:left;"> {{#ifexist: File:{{{1|}}}.png | {{MapArea|{{{1}}}|0|0|64|62}} [[File:{{{1}}}.png|{{{1}}}]]| [[{{{1}}}]]}} {{#ifexist:...") |
old>Realpsojed (changed check to existence of param) |
||
Line 1: | Line 1: | ||
<includeonly><div style="position:relative;float:left;"> | <includeonly><div style="position:relative;float:left;"> | ||
{{# | {{#if: {{{1|}}} | {{MapArea|{{{1}}}|0|0|64|62}} [[File:{{{1}}}.png|{{{1}}}]]| }} | ||
{{# | {{#if: {{{2|}}} | {{MapArea|{{{2}}}|68|0|64|62}} [[File:{{{2}}}.png|{{{2}}}]]| }} | ||
{{# | {{#if: {{{3|}}} | {{MapArea|{{{3}}}|136|0|64|62}} [[File:{{{3}}}.png|{{{3}}}]]| }} | ||
{{# | {{#if: {{{4|}}} | {{MapArea|{{{4}}}|204|0|64|62}} [[File:{{{4}}}.png|{{{4}}}]]| }} | ||
{{# | {{#if: {{{5|}}} | {{MapArea|{{{5}}}|272|0|64|62}} [[File:{{{5}}}.png|{{{5}}}]]| }} | ||
{{# | {{#if: {{{6|}}} | {{MapArea|{{{6}}}|340|0|64|62}} [[File:{{{6}}}.png|{{{6}}}]]| }} | ||
{{# | {{#if: {{{7|}}} | {{MapArea|{{{7}}}|408|0|64|62}} [[File:{{{7}}}.png|{{{7}}}]]| }}</div> | ||
</includeonly><noinclude>{{doc}} | </includeonly><noinclude>{{doc}} | ||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> |
Revision as of 22:57, 21 September 2020
Documentation
[purge]
This template creates a row of left-floated skill icons that can be used on the Enemy NPC pages. {{MapArea}}
is used to display skill tooltips on mouseover (used by ImageMap trick for skill templates).
Usage: Copy this code to any enemy NPC page and fill in the skill names.
{{Template:Skill_list|skill1|skill2|skill3|skill4|skill5|skill6|skill7}}
For example, filling in the skills of the Ancient Troll
{{Template:Skill_list|Rock Toss|Troll Regeneration|Claw Swipe|Deafening Roar|Shockwave}}
produces this result:
If the skills don't exist, instead it will produce locked skill icons. For example: