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
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| style="background:none; padding:1px; border-spacing:0px;"
+
<includeonly>
| style="align:center; width:30px; border: none;" | {{#if: {{{icon|}}} | [[Image:{{{icon}}}.png]] | [[Image:{{{skill}}}.png]] }}
+
|1 {{{skill}}}
| style="border: none;" | [[{{{skill}}}]]
+
</includeonly>
|}</includeonly><noinclude>
 
  
==Description==
+
<noinclude>
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>

Latest revision as of 17:01, 5 August 2020