Difference between revisions of "Template:Skill"

From LeikaRO wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{|style="vertical-align: middle; "
 
<includeonly>{|style="vertical-align: middle; "
| [[Image:{{{n}}}-icon.png]] [[{{{n}}}]]</includeonly>
+
| [[Image:{{{n}}}-icon.png]] [[{{{n}}}]] {{ #if:{{{v|}}} | Lv. {{{v}}} }}</includeonly>
  
 
<noinclude>'''Purpose:'''
 
<noinclude>'''Purpose:'''

Revision as of 14:01, 25 December 2021


Purpose:

To create create a link to a skill page including the skill icon to the left of the link.

Usage:

This template accepts only one argument, the name of the skill.

Example:

{{skill | Sword Mastery}}
produces


Sword Mastery-icon.png Sword Mastery


Inspiration-icon.png Inspiration


Bash-icon.png Bash


Example:

{{n=skill | Sword Mastery}|v=5}
produces


Sword Mastery-icon.png Sword Mastery Lv. 5


Reflect Damage-icon.png Reflect Damage Lv. 3


Inspiration-icon.png Inspiration Lv. 3


Bash-icon.png Bash Lv. 3