Difference between revisions of "Template:RequireSkill"
From A Wiki in the Desert
| Line 1: | Line 1: | ||
<includeonly>[[requires::Skill/{{trim|{{{1}}}}}/{{trim|{{{2}}}}}|{{trim|{{{1}}}}} {{trim|{{{2}}}}}]]</includeonly> | <includeonly>[[requires::Skill/{{trim|{{{1}}}}}/{{trim|{{{2}}}}}|{{trim|{{{1}}}}} {{trim|{{{2}}}}}]]</includeonly> | ||
| + | <noinclude><templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Skill", | ||
| + | "description": "Name of the skill", | ||
| + | "example": "Knapping", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Level", | ||
| + | "description": "Level of the required skill", | ||
| + | "example": "1", | ||
| + | "type": "number", | ||
| + | "required": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "Adds a requirement on a specific skill at a certain level." | ||
| + | } | ||
| + | </templatedata></noinclude> | ||
Revision as of 19:58, 25 May 2021
Adds a requirement on a specific skill at a certain level.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Skill | 1 | Name of the skill
| String | required |
| Level | 2 | Level of the required skill
| Number | required |