A Wiki in the Desert
Log in

Difference between revisions of "Template:HerbTableBody"

From A Wiki in the Desert
Line 2: Line 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]]
 
{{!}}[[{{{1}}}|{{#replace:{{{1}}}|Herb/}}]]
 
{{!}}[[{{{1}}}|{{#replace:{{{1}}}|Herb/}}]]
{{!}}{{#ifeq: {{{2}}}||Unknown|[[{{{2}}}|{{#replace:{{{2}}}|Action/|}}]]}} '''{{{2}}}'''
+
{{!}}{{#ifeq: {{{2}}}|Action/|Unknown|[[{{{2}}}|{{#replace:{{{2}}}|Action/|}}]]}} '''{{{2}}}'''
{{!}}{{#ifeq: {{{3}}}||Unknown|[[{{{3}}}|{{#replace:{{{3}}}|Herb/Leaf/|}}]]}} '''{{{3}}}'''
+
{{!}}{{#ifeq: {{{3}}}|Herb/Leaf/|Unknown|[[{{{3}}}|{{#replace:{{{3}}}|Herb/Leaf/|}}]]}} '''{{{3}}}'''
{{!}}{{#ifeq: {{{4}}}||Unknown|[[{{{4}}}|{{#replace:{{{4}}}|Herb/Stem/|}}]]}} '''{{{4}}}'''
+
{{!}}{{#ifeq: {{{4}}}|Herb/Stem/|Unknown|[[{{{4}}}|{{#replace:{{{4}}}|Herb/Stem/|}}]]}} '''{{{4}}}'''
 
{{!}}{{#arraydefine:colors|{{#replace:{{{5}}}|Herb/Color/|}}}}{{#arrayprint:colors|, |@@@@|[[Herb/Color/@@@@|@@@@]]}}
 
{{!}}{{#arraydefine:colors|{{#replace:{{{5}}}|Herb/Color/|}}}}{{#arrayprint:colors|, |@@@@|[[Herb/Color/@@@@|@@@@]]}}
 
{{!}} {{#arraydefine:similar|{{#replace:{{{6}}}|Herb/|}}}}{{#arrayprint:similar|, |@@@@|[[Herb/@@@@|@@@@]]}}
 
{{!}} {{#arraydefine:similar|{{#replace:{{{6}}}|Herb/|}}}}{{#arrayprint:similar|, |@@@@|[[Herb/@@@@|@@@@]]}}

Revision as of 18:16, 13 May 2021

|- |[[Image:Herbs_{{{1}}}.jpg|thumb|250x250px]] |[[{{{1}}}|{{{1}}}]] |[[{{{2}}}|{{{2}}}]] {{{2}}} |[[{{{3}}}|{{{3}}}]] {{{3}}} |[[{{{4}}}|{{{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. |-