Jump to content

Template:Skill infobox: Difference between revisions

From inZOI Wiki
No edit summary
No edit summary
Line 24: Line 24:
{{#set:Improvement={{{improvement|}}} |+sep}}
{{#set:Improvement={{{improvement|}}} |+sep}}
{{#set:Related Objects={{{related objects|}}} |+sep}}
{{#set:Related Objects={{{related objects|}}} |+sep}}
{{#set:Related Activities={{{related activities|}}} |+sep}}
</div>
</div>
[[Category:Skills]]
[[Category:Skills]]
Line 36: Line 37:
* '''improvement''' - Methods or actions to enhance the skill
* '''improvement''' - Methods or actions to enhance the skill
* '''related objects''' - Items or objects associated with the skill (comma-separated)
* '''related objects''' - Items or objects associated with the skill (comma-separated)
 
* '''related activities''' - [[Activities]] associated with the skill (comma-separated)
==Usage==
==Usage==
<pre>
<pre>
Line 45: Line 46:
| improvement =  
| improvement =  
| related objects =  
| related objects =  
| related activities =
}}
}}
</pre>
</pre>
Line 55: Line 57:
| improvement = Practice recipes, attend cooking classes
| improvement = Practice recipes, attend cooking classes
| related objects = Stove, Knife, Cookbook
| related objects = Stove, Knife, Cookbook
| related activities =
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 12:42, 1 April 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)
  • related activities - Activities associated with the skill (comma-separated)

Usage

{{Skill infobox
| skill = 
| icon = 
| description = 
| improvement = 
| related objects = 
| related activities = 
}}

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
| related activities = 
}}