Difference between revisions of "Template:Herb"
Line 5: | Line 5: | ||
* Stem Type: {{#if: {{{stem|}}}|[[Has stem::Herb/Stem/{{{stem}}}|{{{stem}}}]]|Unknown}} | * Stem Type: {{#if: {{{stem|}}}|[[Has stem::Herb/Stem/{{{stem}}}|{{{stem}}}]]|Unknown}} | ||
* Color(s): {{#if: {{{color|}}}|{{#arraydefine:color|{{{color}}}}}{{#arrayprint:color|, |@@@@|[[Has color::Herb/Color/@@@@|@@@@]]}}|Unknown}} | * Color(s): {{#if: {{{color|}}}|{{#arraydefine:color|{{{color}}}}}{{#arrayprint:color|, |@@@@|[[Has color::Herb/Color/@@@@|@@@@]]}}|Unknown}} | ||
− | * Verified: {{#ifeq: {{{verified|false}}}|true|<v/>|</uv>}} | + | * Verified: {{#ifeq: {{{verified|false}}}|true|{{#ifeq: {{#arraysize:method}} == 1|<v/>|<uv/>}}|<uv>/}} |
{{#set: rarity=Herb/Rarity/{{{rarity|Unknown}}}}} | {{#set: rarity=Herb/Rarity/{{{rarity|Unknown}}}}} | ||
{{#ifexpr: {{{strength|0}}} != 0 or {{{dexterity|0}}} != 0 or {{{endurance|0}}} != 0 or {{{speed|0}}} != 0 or {{{constitution|0}}} != 0 or {{{focus|0}}} != 0 or {{{perception|0}}} > 0|=== Statistics===}}{{AttributeModifier|attribute=Strength|amount={{{strength|0}}}}}{{AttributeModifier|attribute=Dexterity|amount={{{dexterity|0}}}}}{{AttributeModifier|attribute=Endurance|amount={{{endurance|0}}}}}{{AttributeModifier|attribute=Speed|amount={{{speed|0}}}}}{{AttributeModifier|attribute=Constitution|amount={{{constitution|0}}}}}{{AttributeModifier|attribute=Focus|amount={{{focus|0}}}}}{{AttributeModifier|attribute=Perception|amount={{{perception|0}}}}} | {{#ifexpr: {{{strength|0}}} != 0 or {{{dexterity|0}}} != 0 or {{{endurance|0}}} != 0 or {{{speed|0}}} != 0 or {{{constitution|0}}} != 0 or {{{focus|0}}} != 0 or {{{perception|0}}} > 0|=== Statistics===}}{{AttributeModifier|attribute=Strength|amount={{{strength|0}}}}}{{AttributeModifier|attribute=Dexterity|amount={{{dexterity|0}}}}}{{AttributeModifier|attribute=Endurance|amount={{{endurance|0}}}}}{{AttributeModifier|attribute=Speed|amount={{{speed|0}}}}}{{AttributeModifier|attribute=Constitution|amount={{{constitution|0}}}}}{{AttributeModifier|attribute=Focus|amount={{{focus|0}}}}}{{AttributeModifier|attribute=Perception|amount={{{perception|0}}}}} |
Revision as of 03:17, 26 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 |