Difference between revisions of "Template:Skill List"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <includeonly>{| style="background:none; padding:1px; border-spacing:0px; border: none;" | + | <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;" |
− | | [[Image:{{{skill}}}.png]] | + | {{!}} 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" | ||
+ | ! Example !! Output | ||
+ | |- | ||
+ | | <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" | ||
+ | ! 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]] | ||
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 19:37, 23 September 2022
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}}
|
| ||
{{Skill List |skill=Sight |icon=Mercenary Sight}}
|
| ||
{{Skill List |skill=Fire Bolt |level=8}}
|
| ||
* {{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}}
|
|
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. |