Template:Skill icon: Difference between revisions
m (→Examples) |
m (→Examples) |
||
Line 27: | Line 27: | ||
'''TODO''': | '''TODO''': | ||
* Add {{#if}} to include article link or only icon. | * Add {{#if}} to include article link or only icon. | ||
** May not worry about this. Might be necessary to include article link each time a skill is referenced. | ** May not worry about this. Might be necessary to include article link each time a skill is referenced. | ||
</noinclude> | </noinclude> |
Revision as of 19:22, 12 July 2024
Warning:
Description
{{skill icon|<skill name>|<alternate page link>}}
Displays a link to the skill and adds a skill icon in front of it.
Parameters
- 1 (unnamed parameter)
- Skill name.
- 2 (unnamed parameter)
- Icon size. Options: "big" (48px), "huge" (100px), or, blank (32px) - which is the default size.
- 3 (unnamed parameter)
- Alternate page link. Include if skill needs disambiguation from another page (e.g. the Paladin Hammer skill should not link to the Hammer item page).
Examples
- Magic Defense is produced from
{{skill icon|Magic Defense}}
- Magic Defense is produced from
{{skill icon|Magic Defense|big}}
- Magic Defense is produced from
{{skill icon|Magic Defense|huge}}
- Revive is produced from
{{skill icon|Revive}}
- Teleport is produced from
{{skill icon|Teleport}}
- Visit is produced from
{{skill icon|Visit}}
- Invite is produced from
{{skill icon|Invite}}
- Party Recall is produced from
{{skill icon|Party Recall}}
- Hammer is produced from
{{skill icon|Hammer||Hammer (skill)}}
- Manufacture is produced from
{{skill icon|Manufacture}}
TODO:
- Add {{#if}} to include article link or only icon.
- May not worry about this. Might be necessary to include article link each time a skill is referenced.