Difference between revisions of "Template:Skill List"

From Project Alfheim Wiki
Jump to navigation Jump to search
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| style="align:center; width:30px; border: none;" | [[File:{{{skill}}}.png]]  
+
<includeonly>{| style="background:none; padding:1px; border-spacing:0px;"
| style="border = none;" | [[{{{skill}}}]]
+
| style="align:center; width:30px; border: none;" | {{#if: {{{icon|}}} | [[Image:{{{icon}}}.png]] | [[Image:{{{skill}}}.png]] }}
|}</includeonly>
+
| style="border: none;" | [[{{{skill}}}]]
<noinclude>
+
|}</includeonly><noinclude>
== Description ==
+
 
TODO
+
==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====
 +
<nowiki>
 +
{{Skill List |skill=</nowiki>''<skill name>''<nowiki>}}
 +
{{Skill List |skill=</nowiki>''<skill name>''<nowiki> |icon=</nowiki>''<skill icon>''<nowiki>}}</nowiki>
 +
 
 +
 
 +
{| class="wikitable"
 +
! Example !! Output
 +
|-
 +
| <nowiki>{{Skill List |skill=Basic Skill}}</nowiki> ||  {{Skill List |skill=Basic Skill}}
 +
|-
 +
| <nowiki>{{Skill List |skill=Sight |icon=Sight}}</nowiki> ||  {{Skill List |skill=Sight |icon=Sight}}
 +
|}
 +
 
 +
====Fields====
 +
{| class="wikitable" style="text-align: left"
 +
| ''skill name'' || The name of the skill (and the skill page)
 +
|-
 +
| ''skill icon'' || (optional) Specify an alternate skill icon to use.
 +
|}
 +
 
 +
==See Also==
 +
*[[Template:Skill Info]]
 +
 
 +
[[Category:Templates|Skill List]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:11, 10 October 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 name>}}
{{Skill List |skill=<skill name> |icon=<skill icon>}}


Example Output
{{Skill List |skill=Basic Skill}}
Basic Skill.png Basic Skill
{{Skill List |skill=Sight |icon=Sight}}
Sight.png Sight

Fields

skill name The name of the skill (and the skill page)
skill icon (optional) Specify an alternate skill icon to use.

See Also