A Wiki in the Desert
Log in

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}}}}{{Item|name={{{name}}}|weight=1|bulk=1|image={{#var:image}}|sculptable=False}}{{#set: Has image| [[File:{{#var:image}}]]}}
+
<includeonly>{{#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}}}}{{Item|name={{{name}}}|weight=1|bulk=1|image={{#var:image}}|sculptable=False}}{{#set: Has image| [[File:{{#var:image}}]]}}
 
=== Properties ===
 
=== Properties ===
 
* Harvest Method: [[requires::Action/{{{method}}}|{{{method}}}]]
 
* Harvest Method: [[requires::Action/{{{method}}}|{{{method}}}]]
Line 13: Line 13:
  
 
[[Category:Herb]]
 
[[Category:Herb]]
 +
</includeonly><noinclude>
 +
{{Documentation}}
 +
</noinclude>

Revision as of 18:36, 21 May 2021

Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:Herb/doc to edit this text! (How does this work?)