Difference between revisions of "Template:Skill"

From LeikaRO wiki
Jump to: navigation, search
Line 9: Line 9:
 
:{{skill | Sword Mastery}}
 
:{{skill | Sword Mastery}}
 
[[Category:Templates|Skill]]
 
[[Category:Templates|Skill]]
 
+
</noinclude><includeonly>{|style="vertical-align: middle; "
<includeonly>{{#if: {{{simple|}}} | {{#if: {{{i|}}} | [[Image:{{{i}}}.png|link={{{i}}}]] | [[Image:{{{n}}}.png|link={{{n}}}]] }} [[{{{n}}}]] {{ #if:{{{v|}}} | Lv. {{{v}}} }} | {{{!}} style="background:none; padding:1px; border-spacing:0px;"
+
| [[Image:{{{1}}}-icon.png]]
{{!}} style="align:center; width:30px; border:none;" {{!}} {{#if: {{{i|}}} | [[Image:{{{i}}}.png|link={{{i}}}]] | [[Image:{{{n}}}.png|link={{{n}}}]] }}
+
| [[{{{1}}}]]
{{!}} style="border:none;" {{!}} [[{{{n}}}]] {{ #if:{{{v|}}} | lv. {{{v}}} }}
+
|}</includeonly>
{{!}}}
+
}}</includeonly>
+
<noinclude>
+

Revision as of 18:55, 15 May 2020

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}}}]]