Difference between revisions of "Template:SkillGroup"
From A Wiki in the Desert
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
|icon={{#if: {{{icon|}}} | {{trim|{{{icon|}}}}}}} | |icon={{#if: {{{icon|}}} | {{trim|{{{icon|}}}}}}} | ||
}}{{#set: Is grouping=True}}</includeonly> | }}{{#set: Is grouping=True}}</includeonly> | ||
| + | <noinclude> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "name": { | ||
| + | "label": "Name", | ||
| + | "description": "The name of the skill", | ||
| + | "example": "Knapping", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "discipline": { | ||
| + | "label": "Discipline", | ||
| + | "description": "The discipline this skill is associated with", | ||
| + | "example": "Architecture", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "icon": { | ||
| + | "label": "Icon", | ||
| + | "description": "The icon to show on the infobox", | ||
| + | "example": "Icon - Knapping.png", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "This template adds a skill infobox to the page and marks it as a group semantically." | ||
| + | } | ||
| + | </templatedata> | ||
| + | </noinclude> | ||
Latest revision as of 17:19, 25 May 2021
This template adds a skill infobox to the page and marks it as a group semantically.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the skill
| String | required |
| Discipline | discipline | The discipline this skill is associated with
| String | suggested |
| Icon | icon | The icon to show on the infobox
| String | suggested |