A Wiki in the Desert
Log in

Difference between revisions of "Template:Herb"

From A Wiki in the Desert
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>}}
 
{{#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:15, 26 May 2021

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the herb

Example
Allbright
Stringrequired
Methodmethod

Method used to harvest this herb

Stringoptional
Leafleaf

The style of leaf that describes this herb

Unknownoptional
Stemstem

The style of stem that describes this herb

Unknownoptional
Colorcolor

A comma seperated list of colors that represent this herb. Usually a primary and secondary color.

Unknownoptional
Rarityrarity

no description

Numberoptional
Strengthstrength

How much eating this herb affects your Strength

Default
0
Numberoptional
Dexteritydexterity

How much eating this herb affects your Dexterity

Default
0
Numberoptional
Enduranceendurance

How much eating this herb affects your Endurance

Default
0
Numberoptional
Speedspeed

How much eating this herb affects your Speed

Default
0
Numberoptional
Constitutionconstitution

How much eating this herb affects your Constitution

Default
0
Numberoptional
Focusfocus

How much eating this herb affects your Focus

Default
0
Numberoptional
Perceptionperception

How much eating this herb affects your Perception

Default
0
Numberoptional
Similarsimilar

A comma seperated list of similar looking herbs

Stringoptional