A Wiki in the Desert
Log in

Difference between revisions of "Template:Herb"

From A Wiki in the Desert
Line 11: Line 11:
 
{{#tag:gallery|Image:Herbs_Aloe.jpg}}
 
{{#tag:gallery|Image:Herbs_Aloe.jpg}}
  
{{#tag:gallery|<unesc>
+
<nowiki>{{#tag:gallery|<unesc>
 
   {{#arrayprint:similar
 
   {{#arrayprint:similar
 
   |\n
 
   |\n
Line 17: Line 17:
 
   |{{#vardefine:clean|{{#replace:{{#replace:{{#replace:@@@@|Herb/|}}| |}}|'|}}}}{{#ifexist: Image:Herbs_{{#var:clean}}.png|Image:Herbs_{{#var:clean}}.png|Image:Herbs_{{#var:clean}}.jpg}}
 
   |{{#vardefine:clean|{{#replace:{{#replace:{{#replace:@@@@|Herb/|}}| |}}|'|}}}}{{#ifexist: Image:Herbs_{{#var:clean}}.png|Image:Herbs_{{#var:clean}}.png|Image:Herbs_{{#var:clean}}.jpg}}
 
   }}</unesc>
 
   }}</unesc>
}}
+
}}</nowiki>
  
 
[[Category:Herb]]
 
[[Category:Herb]]

Revision as of 22:13, 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)
Weight 1
Bulk 1


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


{{#tag:gallery|<unesc> {{#arrayprint:similar |\n |@@@@ |{{#vardefine:clean|{{#replace:{{#replace:{{#replace:@@@@|Herb/|}}| |}}|'|}}}}{{#ifexist: Image:Herbs_{{#var:clean}}.png|Image:Herbs_{{#var:clean}}.png|Image:Herbs_{{#var:clean}}.jpg}} }}</unesc> }}