Difference between revisions of "Template:HerbTableBody"
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/|}}| |}}|'|}}}} {{#ifexist: File:{{#var:herbimage}}.png|yes|no}} | + | {{!}} {{#vardefine:herbimage|Herbs {{#replace:{{#replace:{{#replace:{{{1}}}|Herb/|}}| |}}|'|}}}} {{#var:herbimage}}.png - {{#ifexist: File:{{#var:herbimage}}.png|yes|no}} [[File:{{#var:herbimage}}.png|thumb|250x250px]] {{#var:herbimage}}.jpg - {{#ifexist: File:{{#var:herbimage}}.jpg|yes|no}} [[File:{{#var:herbimage}}.jpg|thumb|250x250px]] |
{{!}} [[{{{1}}}|{{#replace:{{{1}}}|Herb/}}]] | {{!}} [[{{{1}}}|{{#replace:{{{1}}}|Herb/}}]] | ||
{{!}} {{#ifeq: {{{2}}}|Action/|Unknown|[[{{{2}}}|{{#replace:{{{2}}}|Action/|}}]]}} | {{!}} {{#ifeq: {{{2}}}|Action/|Unknown|[[{{{2}}}|{{#replace:{{{2}}}|Action/|}}]]}} |
Revision as of 13:00, 14 May 2021
|- | Herbs {{{1}}}.png - no [[File:Herbs {{{1}}}.png|thumb|250x250px]] Herbs {{{1}}}.jpg - no [[File:Herbs {{{1}}}.jpg|thumb|250x250px]] | [[{{{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. |-