Skill List: Difference between revisions
From VanRO Ragnarok Online
m (1 revision: Reloading) |
(Trying a new field...) |
||
Line 1: | Line 1: | ||
<includeonly>{| style="background:none; padding:1px; border-spacing:0px;" | <includeonly>{{#if: {{{simple|}}} | {{#if: {{{icon|}}} | [[Image:{{{icon}}}.png]] | [[Image:{{{skill}}}.png]] }} {{#if: {{{name|}}} | [[{{{skill}}}|{{{name}}}]] | [[{{{skill}}}]] }} {{#if:{{{level|}}} | Lv. {{{level}}} }} | {{{!}} style="background:none; padding:1px; border-spacing:0px;" | ||
{{!}} style="text-align:center; width:30px; border:none;" {{!}} {{#if: {{{icon|}}} | [[Image:{{{icon}}}.png]] | [[Image:{{{skill}}}.png]] }} | |||
{{!}} style="border:none; white-space:nowrap;" {{!}} {{#if: {{{name|}}} | [[{{{skill}}}|{{{name}}}]] | [[{{{skill}}}]] }} {{#if:{{{level|}}} | Lv. {{{level}}} }} | |||
{{!}}} | |||
}}</includeonly><noinclude>__NOTOC__ | |||
== Description == | |||
The purpose of this template is to link a skill, complete with icon. | |||
''Note: The correct capitalization is '''S'''kill '''L'''ist. Do not forget the second capitalized letter!'' | |||
=== Usage === | |||
<pre> | |||
{{Skill List |skill=<skill>}} | |||
{{Skill List |skill=<skill> |icon=<icon>}} | |||
{{Skill List |skill=<skill> |level=<level>}} | |||
{{Skill List |skill=<skill> |name=<name>}} | |||
{{Skill List |skill=<skill> |name=<name> |level=<level>}} | |||
</pre> | |||
{| class="wikitable" | {| class="wikitable" | ||
! Example !! Output | ! Example !! Output | ||
|- | |- | ||
| <nowiki>{{Skill List |skill=Basic Skill}}</nowiki> || | | <code><nowiki>{{Skill List |skill=Basic Skill}}</nowiki></code> | ||
| {{Skill List |skill=Basic Skill}} | |||
|- | |||
| <code><nowiki>{{Skill List |skill=Sight |icon=Mercenary Sight}}</nowiki></code> | |||
| {{Skill List |skill=Sight |icon=Mercenary Sight}} | |||
|- | |||
| <code><nowiki>{{Skill List |skill=Fire Bolt |level=8}}</nowiki></code> | |||
| {{Skill List |skill=Fire Bolt |level=8}} | |||
|- | |||
| <code><nowiki>* {{Skill List |skill=Bash |level=5 |simple=yes}} is required for [[Magnum Break]]</nowiki></code> | |||
| | |||
* {{Skill List |skill=Bash |level=5 |simple=yes}} is required for [[Magnum Break]] | |||
|- | |||
| <code><nowiki>{{Skill List |skill=NPC_FIREATTACK |name=Fire Attack |icon=NPC Skill Icon |level=3}}</nowiki></code> | |||
| {{Skill List |skill=NPC_FIREATTACK |name=Fire Attack |icon=NPC Skill Icon |level=3}} | |||
|} | |} | ||
=== Fields === | |||
== | |||
{| class="wikitable" | {| class="wikitable" | ||
! | ! skill | ||
| The name of the skill (and the skill page) | |||
|- | |||
! icon | |||
| Optional. The alternate skill icon to use. | |||
|- | |||
! name | |||
| Optional. A different name than the skill page. | |||
|- | |- | ||
| | ! level | ||
| Optional. The number of the skill level to show. | |||
|} | |} | ||
== See Also == | |||
* [[Template:Skill Info]] | |||
*[[Template: | |||
[[Category:Templates | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 02:45, 5 May 2016
Description
The purpose of this template is to link a skill, complete with icon.
Note: The correct capitalization is Skill List. Do not forget the second capitalized letter!
Usage
{{Skill List |skill=<skill>}} {{Skill List |skill=<skill> |icon=<icon>}} {{Skill List |skill=<skill> |level=<level>}} {{Skill List |skill=<skill> |name=<name>}} {{Skill List |skill=<skill> |name=<name> |level=<level>}}
Example | Output |
---|---|
{{Skill List |skill=Basic Skill}}
|
Template:Skill List |
{{Skill List |skill=Sight |icon=Mercenary Sight}}
|
Template:Skill List |
{{Skill List |skill=Fire Bolt |level=8}}
|
Template:Skill List |
* {{Skill List |skill=Bash |level=5 |simple=yes}} is required for [[Magnum Break]]
|
|
{{Skill List |skill=NPC_FIREATTACK |name=Fire Attack |icon=NPC Skill Icon |level=3}}
|
Template:Skill List |
Fields
skill | The name of the skill (and the skill page) |
---|---|
icon | Optional. The alternate skill icon to use. |
name | Optional. A different name than the skill page. |
level | Optional. The number of the skill level to show. |