Difference between revisions of "Template:Herb"
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#vardefine:name_clean|{{#replace:{{#replace: {{{name}}}| |}}|'|}}}}{{#vardefine:image|{{#ifexist: File:Herbs {{#var:name_clean}}.png|Herbs {{#var:name_clean}}.png|Herbs {{#var:name_clean}}.jpg}}}}{{ | + | <includeonly>{{#vardefine:name_clean|{{#replace:{{#replace: {{{name}}}| |}}|'|}}}}{{#vardefine:image|{{#ifexist: File:Herbs {{#var:name_clean}}.png|Herbs {{#var:name_clean}}.png|Herbs {{#var:name_clean}}.jpg}}}}{{Item|name={{{name}}}|weight=1|bulk=1|image={{#var:image}}|sculptable=False}}{{#set: Has image| [[File:{{#var:image}}]]}} |
=== Properties === | === Properties === | ||
* Harvest Method: [[requires::Action/{{{method}}}|{{{method}}}]] | * Harvest Method: [[requires::Action/{{{method}}}|{{{method}}}]] | ||
Line 13: | Line 13: | ||
[[Category:Herb]] | [[Category:Herb]] | ||
+ | </includeonly><noinclude> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "name": { | ||
+ | "type": "string", | ||
+ | "required": true, | ||
+ | "description": "The name of the herb", | ||
+ | "example": "Allbright" | ||
+ | }, | ||
+ | "method": { | ||
+ | "description": "Method used to harvest this herb", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "leaf": { | ||
+ | "description": "The style of leaf that describes this herb" | ||
+ | }, | ||
+ | "stem": { | ||
+ | "description": "The style of stem that describes this herb" | ||
+ | }, | ||
+ | "color": { | ||
+ | "description": "A comma seperated list of colors that represent this herb. Usually a primary and secondary color." | ||
+ | }, | ||
+ | "rarity": { | ||
+ | "type": "number" | ||
+ | }, | ||
+ | "strength": { | ||
+ | "type": "number", | ||
+ | "description": "How much eating this herb affects your Strength", | ||
+ | "default": "0" | ||
+ | }, | ||
+ | "dexterity": { | ||
+ | "type": "number", | ||
+ | "description": "How much eating this herb affects your Dexterity", | ||
+ | "default": "0" | ||
+ | }, | ||
+ | "endurance": { | ||
+ | "type": "number", | ||
+ | "description": "How much eating this herb affects your Endurance", | ||
+ | "default": "0" | ||
+ | }, | ||
+ | "speed": { | ||
+ | "type": "number", | ||
+ | "description": "How much eating this herb affects your Speed", | ||
+ | "default": "0" | ||
+ | }, | ||
+ | "constitution": { | ||
+ | "type": "number", | ||
+ | "description": "How much eating this herb affects your Constitution", | ||
+ | "default": "0" | ||
+ | }, | ||
+ | "focus": { | ||
+ | "type": "number", | ||
+ | "description": "How much eating this herb affects your Focus", | ||
+ | "default": "0" | ||
+ | }, | ||
+ | "perception": { | ||
+ | "type": "number", | ||
+ | "description": "How much eating this herb affects your Perception", | ||
+ | "default": "0" | ||
+ | }, | ||
+ | "similar": { | ||
+ | "description": "A comma seperated list of similar looking herbs", | ||
+ | "type": "string" | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Latest revision as of 19:53, 25 May 2021
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the herb
| String | required |
Method | method | Method used to harvest this herb | String | optional |
Leaf | leaf | The style of leaf that describes this herb | Unknown | optional |
Stem | stem | The style of stem that describes this herb | Unknown | optional |
Color | color | A comma seperated list of colors that represent this herb. Usually a primary and secondary color. | Unknown | optional |
Rarity | rarity | no description | Number | optional |
Strength | strength | How much eating this herb affects your Strength
| Number | optional |
Dexterity | dexterity | How much eating this herb affects your Dexterity
| Number | optional |
Endurance | endurance | How much eating this herb affects your Endurance
| Number | optional |
Speed | speed | How much eating this herb affects your Speed
| Number | optional |
Constitution | constitution | How much eating this herb affects your Constitution
| Number | optional |
Focus | focus | How much eating this herb affects your Focus
| Number | optional |
Perception | perception | How much eating this herb affects your Perception
| Number | optional |
Similar | similar | A comma seperated list of similar looking herbs | String | optional |