Difference between revisions of "Template:Skill"
From LeikaRO wiki
m |
|||
Line 9: | Line 9: | ||
:{{skill | Sword Mastery}} | :{{skill | Sword Mastery}} | ||
[[Category:Templates|Skill]] | [[Category:Templates|Skill]] | ||
− | + | ||
− | | [[Image:{{{ | + | <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;" |
− | | [[{{{ | + | {{!}} 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}}}]] |