Difference between revisions of "Template:Herb"
From A Wiki in the Desert
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}}}}{{Template:Item|name={{{name}}}|weight=1|bulk=1|image={{#var:image}}}}{{#set: Has image|File::{{#var:image}}}} | + | {{#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}}}}{{Template:Item|name={{{name}}}|weight=1|bulk=1|image={{#var:image}}}}{{#set: Has image| [[File::{{#var:image}}]]}} |
=== Properties === | === Properties === | ||
* Harvest Method: [[requires::Action/{{{method}}}|{{{method}}}]] | * Harvest Method: [[requires::Action/{{{method}}}|{{{method}}}]] |
Revision as of 13:58, 14 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. Property "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.
Properties
- Harvest Method: {{{method}}}
- Leaf Type: {{{leaf}}}
- Stem Type: {{{stem}}}
- Color(s): [[Has color::Herb/Color/Template:(({colorTemplate:))}|Template:(({colorTemplate:))}]]
- Rarity: Unknown