Difference between revisions of "Template:Skill"

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

Revision as of 18:54, 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}}}]]