A Wiki in the Desert
Log in

Difference between revisions of "Template:GivesXP"

From A Wiki in the Desert
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#subobject:
+
<includeonly>{{#subobject:
|For skill={{{1}}}
+
|Has task={{trim|{{{1}}}}}
|Gives experience={{{2}}}
+
|For skill=[[Skill/{{trim|{{{2}}}}}]]
|Has task={{{3}}}
+
|Gives experience={{trim|{{{3}}}}}
}}<noinclude>{{{task}}} - {{{count}}} {{{reward}}} {{#if: {{{verified|}}}|<v/>|<uv/>}}</noinclude>
+
}}</includeonly><noinclude><templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "Action",
 +
"description": "The action required to grant experience",
 +
"type": "string",
 +
"required": true
 +
},
 +
"2": {
 +
"label": "Skill",
 +
"description": "The skill that the experience is granted to",
 +
"example": "Knapping",
 +
"type": "string",
 +
"required": true
 +
},
 +
"3": {
 +
"label": "Amount",
 +
"description": "The amount of experience rewarded",
 +
"type": "string",
 +
"required": true
 +
}
 +
},
 +
"description": "Defines an experience reward to a skill for an action"
 +
}
 +
</templatedata></noinclude>

Latest revision as of 19:57, 25 May 2021

Defines an experience reward to a skill for an action

Template parameters

ParameterDescriptionTypeStatus
Action1

The action required to grant experience

Stringrequired
Skill2

The skill that the experience is granted to

Example
Knapping
Stringrequired
Amount3

The amount of experience rewarded

Stringrequired