Difference between revisions of "Template:SkillGroup"
From A Wiki in the Desert
| (2 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
|discipline={{trim|{{{discipline|Unknown}}}}} | |discipline={{trim|{{{discipline|Unknown}}}}} | ||
|icon={{#if: {{{icon|}}} | {{trim|{{{icon|}}}}}}} | |icon={{#if: {{{icon|}}} | {{trim|{{{icon|}}}}}}} | ||
| − | }}{{#set: Is grouping=True}}</includeonly> | + | }}{{#set: Is grouping=True}}{{#set: Is school={{#if: {{{school|}}}|{{{school}}}|false}}}}{{#set: Is given={{#if: {{{given|}}}|{{{given}}}|false}}}}</includeonly> |
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
| Line 28: | Line 28: | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
| + | }, | ||
| + | "school": { | ||
| + | "label": "School", | ||
| + | "description": "Set if this skill is leart by paying tution at a school", | ||
| + | "type": "boolean", | ||
| + | "default": "false", | ||
| + | "autovalue": "false", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "given": { | ||
| + | "label": "Given", | ||
| + | "description": "Used to specify skills that are granted to the player", | ||
| + | "type": "boolean", | ||
| + | "default": "false" | ||
} | } | ||
}, | }, | ||
Latest revision as of 13:36, 24 June 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 |
| School | school | Set if this skill is leart by paying tution at a school
| Boolean | suggested |
| Given | given | Used to specify skills that are granted to the player
| Boolean | optional |