A Wiki in the Desert
Log in

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 20:44, 25 May 2021


Adds a requirement on a specific skill at a certain level.

Template parameters

ParameterDescriptionTypeStatus
Skill1

Name of the skill

Example
Knapping
Stringrequired
Level2

Level of the required skill

Example
1
Numberrequired