Difference between revisions of "Template:Skill List"

From playdf - wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{| style="background:none; padding:1px; border-spacing:0px;" | style="align:center; width:30px; border: none;" | {{#if: {{{icon|}}} | [[Image:{{{icon}}}.png]] | [...")
 
m
Line 1: Line 1:
 
<includeonly>{| style="background:none; padding:1px; border-spacing:0px;"
 
<includeonly>{| style="background:none; padding:1px; border-spacing:0px;"
| style="align:center; width:30px; border: none;" | {{#if: {{{icon|}}} | [[Image:{{{icon}}}.png]] | [[Image:{{{skill}}}.png]] }}
+
| style="align:center; width:30px; border: none;" | {{{skill}}} }}
 
| style="border: none;" | [[{{{skill}}}]]
 
| style="border: none;" | [[{{{skill}}}]]
|}</includeonly><noinclude>
+
|}</includeonly>
 +
<noinclude>
  
==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=Mercenary Sight}}</nowiki> ||  {{Skill List |skill=Sight |icon=Mercenary 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>

Revision as of 17:50, 5 August 2020