Vorlage:Skill List: Unterschied zwischen den Versionen

Aus NyanWiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
Zeile 4: Zeile 4:
{{!}}}
{{!}}}
}}</includeonly><noinclude>__NOTOC__
}}</includeonly><noinclude>__NOTOC__
 
== Description ==
==Description==
The purpose of this template is to link a skill, complete with icon.
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!''
''Note: The correct capitalization is '''S'''kill '''L'''ist. Do not forget the second capitalized letter!''


====Usage====
=== Usage ===
<nowiki>
<pre>
{{Skill List |skill=</nowiki>''<skill name>''<nowiki>}}
{{Skill List |skill=<skill>}}
{{Skill List |skill=</nowiki>''<skill name>''<nowiki> |icon=</nowiki>''<skill icon>''<nowiki>}}</nowiki>
{{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> |{{Skill List |skill=Basic Skill}}
| <code><nowiki>{{Skill List |skill=Basic Skill}}</nowiki></code>
|-
| {{Skill List |skill=Basic Skill}}
| <nowiki>{{Skill List |skill=Sight |icon=Mercenary Sight}}</nowiki> |{{Skill List |skill=Sight |icon=Mercenary Sight}}
|-
| <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====
=== Fields ===
{| class="wikitable" style="text-align: left"
{| class="wikitable"
| ''skill name'' || The name of the skill (and the skill page)
! 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.
|-
|-
| ''skill icon'' || (optional) Specify an alternate skill icon to use.
! level
| Optional. The number of the skill level to show.
|}
|}


==See Also==
== See Also ==
*[[Template:Skill Info]]
* [[Template:Skill Info]]


[[Category:Templates|Skill List]]
[[Category:Templates]]
</noinclude>
</noinclude>

Aktuelle Version vom 30. Juni 2020, 19:31 Uhr

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}}
Datei:Basic Skill.png Basic Skill
{{Skill List |skill=Sight |icon=Mercenary Sight}}
Datei:Mercenary Sight.png Sight
{{Skill List |skill=Fire Bolt |level=8}}
Fire Bolt.png Fire Bolt Lv. 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}}
Datei:NPC Skill Icon.png Fire Attack Lv. 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.

See Also