Difference between revisions of "Template:Herb"
From A Wiki in the Desert
| Line 13: | Line 13: | ||
| {{ #arraysize:similar}} <!-- number of loops --> | | {{ #arraysize:similar}} <!-- number of loops --> | ||
| <nowiki/> | | <nowiki/> | ||
| − | |||
{{#vardefine:clean|{{#replace:{{#replace:{{#arrayindex:similar|{{#var:i}}| |}}|'|}}}}{{#ifexist: Image:Herbs_{{#var:clean}}.png|Image:Herbs_{{#var:clean}}.png|Image:Herbs_{{#var:clean}}.jpg}}}} | {{#vardefine:clean|{{#replace:{{#replace:{{#arrayindex:similar|{{#var:i}}| |}}|'|}}}}{{#ifexist: Image:Herbs_{{#var:clean}}.png|Image:Herbs_{{#var:clean}}.png|Image:Herbs_{{#var:clean}}.jpg}}}} | ||
{{#var:clean}} | {{#var:clean}} | ||
Revision as of 22:19, 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