Template:Skill infobox: Difference between revisions
Appearance
	
	
No edit summary  | 
				No edit summary  | 
				||
| Line 11: | Line 11: | ||
|-  | |-  | ||
! style="background:#ececec; text-align:left; padding:4px;" | Improvement  | ! style="background:#ececec; text-align:left; padding:4px;" | Improvement  | ||
| style="padding:4px;" | {{{improvement}}}  | | style="padding:4px;" | {{#arraymap:{{{improvement|}}}|,|x|x}}  | ||
|-  | |-  | ||
! style="background:#ececec; text-align:left; padding:4px;" | Related Objects  | ! style="background:#ececec; text-align:left; padding:4px;" | Related Objects  | ||
| Line 22: | Line 22: | ||
{{#set:Icon=File:{{{icon|}}} }}  | {{#set:Icon=File:{{{icon|}}} }}  | ||
{{#set:Description={{{description|}}} }}  | {{#set:Description={{{description|}}} }}  | ||
{{#set:Improvement={{{improvement|}}} }}  | {{#set:Improvement={{{improvement|}}} |+sep}}  | ||
{{#set:Related Objects={{{related objects|}}} |+sep}}  | {{#set:Related Objects={{{related objects|}}} |+sep}}  | ||
</div>  | </div>  | ||
Revision as of 14:44, 26 March 2025
This template creates an infobox for Skills with Semantic MediaWiki annotations.
Parameters
- skill - name of the Skill (e.g. Cooking)
 - icon – Filename for the skill's icon (e.g. Cooking icon.png)
 - description - Brief description of the skill
 - improvement - Methods or actions to enhance the skill
 - related objects - Items or objects associated with the skill (comma-separated)
 
Usage
{{Skill infobox
| skill = 
| icon = 
| description = 
| improvement = 
| related objects = 
}}
Example Usage
{{Skill infobox
| skill = Cooking
| icon = Cooking icon.png
| description = The ability to prepare food and meals.
| improvement = Practice recipes, attend cooking classes
| related objects = Stove, Knife, Cookbook
}}