Difference between revisions of "Template:GivesXP"
From A Wiki in the Desert
Line 1: | Line 1: | ||
− | {{#subobject: | + | <includeonly>{{#subobject: |
|Has task={{trim|{{{1}}}}} | |Has task={{trim|{{{1}}}}} | ||
|For skill=[[Skill/{{trim|{{{2}}}}}]] | |For skill=[[Skill/{{trim|{{{2}}}}}]] | ||
|Gives experience={{trim|{{{3}}}}} | |Gives experience={{trim|{{{3}}}}} | ||
− | }}<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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Action | 1 | The action required to grant experience | String | required |
Skill | 2 | The skill that the experience is granted to
| String | required |
Amount | 3 | The amount of experience rewarded | String | required |