Difference between revisions of "Template:Skill"

From LeikaRO wiki
Jump to: navigation, search
m
m
Line 5: Line 5:
 
:This template accepts only one argument, the name of the skill.
 
:This template accepts only one argument, the name of the skill.
 
'''Example:'''
 
'''Example:'''
:<nowiki>{{skill|Sword Mastery}}</nowiki>
+
:<nowiki>{{skill | Sword Mastery}}</nowiki>
 
:''produces''
 
:''produces''
:{{skill|Sword Mastery}}
+
:{{skill | Sword Mastery}}
 
[[Category:Templates|Skill]]
 
[[Category:Templates|Skill]]
 
</noinclude><includeonly>{|style="vertical-align: middle; "
 
</noinclude><includeonly>{|style="vertical-align: middle; "

Revision as of 17:25, 22 February 2016

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
[[Image:{{{n}}}-icon.png|link={{{n}}}]] [[{{{n}}}]]