A Wiki in the Desert
Log in

Difference between revisions of "Template:HerbTableBody"

From A Wiki in the Desert
Line 1: Line 1:
 
{{#arraydefine:herb|{{#ask:[[-Has subobject::{{{1}}}]]|?Affects attribute#=|?Has magnitude#=|format=plainlist|link=none|mainlabel=-}}}}{{#arraysearcharray:herbtidy|herb|/^.*?\/(.+)\s\((.+)\).*$/|0|-1|$1 $2}}{{!}}-
 
{{#arraydefine:herb|{{#ask:[[-Has subobject::{{{1}}}]]|?Affects attribute#=|?Has magnitude#=|format=plainlist|link=none|mainlabel=-}}}}{{#arraysearcharray:herbtidy|herb|/^.*?\/(.+)\s\((.+)\).*$/|0|-1|$1 $2}}{{!}}-
{{!}}{{#vardefine:herbimage|Herbs_{{#replace:{{#replace:{{#replace:{{{1}}}|Herb/|}}| |}}|'|}}}}[[Image:{{#ifexist: File:{{#var:herbimage}}.png|{{#var:herbimage}}.png|{{#var:herbimage}}.jpg}}|thumb|250x250px]]
+
{{!}}{{#vardefine:herbimage|Herbs_{{#replace:{{#replace:{{#replace:{{{1}}}|Herb/|}}| |}}|'|}}}}[[Image:{{#ifexist: File:{{#var:herbimage}}.png|{{#var:herbimage}}.png|{{#var:herbimage}}.jpg}}|thumb|250x250px]]{{#var:herbimage}}
 
{{!}}[[{{{1}}}|{{#replace:{{{1}}}|Herb/}}]]
 
{{!}}[[{{{1}}}|{{#replace:{{{1}}}|Herb/}}]]
 
{{!}}[[{{{2}}}|{{#replace:{{{2}}}|Action/|}}]]
 
{{!}}[[{{{2}}}|{{#replace:{{{2}}}|Action/|}}]]

Revision as of 18:00, 13 May 2021

|- |[[Image:Herbs_{{{1}}}.jpg|thumb|250x250px]]Herbs_{{{1}}} |[[{{{1}}}|{{{1}}}]] |[[{{{2}}}|{{{2}}}]] |[[{{{3}}}|{{{3}}}]] |[[{{{4}}}|{{{4}}}]] |[[Herb/Color/Template:(({5Template:))}|Template:(({5Template:))}]] |[[Herb/Template:(({6Template:))}|Template:(({6Template:))}]] | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. |-