Difference between revisions of "Template:Herb"
From A Wiki in the Desert
| Line 7: | Line 7: | ||
* Rarity: [[Has rarity::Herb/Rarity/{{{rarity|Unknown}}}|{{{rarity|Unknown}}}{{#ifeq: {{{rarity|Unknown}}}|Unknown||/12}}]] | * Rarity: [[Has rarity::Herb/Rarity/{{{rarity|Unknown}}}|{{{rarity|Unknown}}}{{#ifeq: {{{rarity|Unknown}}}|Unknown||/12}}]] | ||
{{#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}}}}} | ||
| − | {{#ifeq: {{{similar|}}}|||{{#arraydefine:similar|{{{similar}}}}}=== Similar To ==={{#set: Is similar to={{#arrayprint:similar|,|@@@@|Herb/@@@@}}}} | + | {{#ifeq: {{{similar|}}}|||{{#arraydefine:similar| |
| − | {{#arraydefine:similar|{{{similar}}}}} | + | {{{similar}}}}}=== Similar To ==={{#set: Is similar to={{#arrayprint:similar|,|@@@@|Herb/@@@@}}}} |
| − | {{ | + | {{#arraydefine:similar|{{{similar}}}}}{{#loop: i |
| − | + | | 0 | |
| − | | 0 | + | | {{ #arraysize:similar}} |
| − | | {{ #arraysize:similar}} | ||
| <nowiki/>{{#vardefine:herb|{{#arrayindex:similar|{{#var: i}}}}{{#vardefine:clean|{{#replace:{{#replace:{{#replace:{{#var:herb}}|Herb/|}}| |}}|'|}}}}}} | | <nowiki/>{{#vardefine:herb|{{#arrayindex:similar|{{#var: i}}}}{{#vardefine:clean|{{#replace:{{#replace:{{#replace:{{#var:herb}}|Herb/|}}| |}}|'|}}}}}} | ||
* {{#ifexist: File:Herbs_{{#var:clean}}.png|Herbs {{#var:clean}}.png|Herbs {{#var:clean}}.jpg}}}}}} {{!}} [[Herb/{{#var:herb}}|{{#var:herb}}]] | * {{#ifexist: File:Herbs_{{#var:clean}}.png|Herbs {{#var:clean}}.png|Herbs {{#var:clean}}.jpg}}}}}} {{!}} [[Herb/{{#var:herb}}|{{#var:herb}}]] | ||
Revision as of 20:43, 13 May 2021
| {{{name}}} | ||
|---|---|---|
| [[File:Herbs {{{name}}}.jpgProperty "Has image" (as page type) with input value "File:Herbs {{{name}}}.jpg" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.|250px|{{{name}}}]] | ||
| (Item) | ||
|
||
|
Property "Has name" (as page type) with input value "{{{name}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Properties
- Harvest Method: {{{method}}}
- Leaf Type: {{{leaf}}}
- Stem Type: {{{stem}}}
- Color(s): [[Has color::Herb/Color/Template:(({colorTemplate:))}|Template:(({colorTemplate:))}]]
- Rarity: Unknown
| [[Herb/|]]
}} }}