A Wiki in the Desert
Log in

Difference between revisions of "Template:HerbTableBody"

From A Wiki in the Desert
Line 2: Line 2:
 
{{!}} {{#if: {{{7}}}|[[{{{7}}}|thumb|250x250px]]}}
 
{{!}} {{#if: {{{7}}}|[[{{{7}}}|thumb|250x250px]]}}
 
{{!}} [[{{{1}}}|{{#replace:{{{1}}}|Herb/}}]]
 
{{!}} [[{{{1}}}|{{#replace:{{{1}}}|Herb/}}]]
{{!}} {{#ifeq: {{{2}}}|Action/|Unknown|[[{{{2}}}|{{#replace:{{{2}}}|Action/|}}]]}}
+
{{!}} {{#if: {{{2}}}|[[{{{2}}}|{{#replace:{{{2}}}|Action/|}}]]|Unknown}}
{{!}} {{#ifeq: {{{3}}}|Herb/Leaf/|Unknown|[[{{{3}}}|{{#replace:{{{3}}}|Herb/Leaf/|}}]]}}
+
{{!}} {{#if: {{{3}}}|[[{{{3}}}|{{#replace:{{{3}}}|Herb/Leaf/|}}]]|Unknown}}
{{!}} {{#ifeq: {{{4}}}|Herb/Stem/|Unknown|[[{{{4}}}|{{#replace:{{{4}}}|Herb/Stem/|}}]]}}
+
{{!}} {{#if: {{{4}}}|[[{{{4}}}|{{#replace:{{{4}}}|Herb/Stem/|}}]]|Unknown}}
 
{{!}} {{#arraydefine:colors|{{#replace:{{{5}}}|Herb/Color/|}}}}{{#ifeq:{{#arraysize:colors}}|0|Unknown|{{#arrayprint:colors|, |@@@@|[[Herb/Color/@@@@|@@@@]]}}}}
 
{{!}} {{#arraydefine:colors|{{#replace:{{{5}}}|Herb/Color/|}}}}{{#ifeq:{{#arraysize:colors}}|0|Unknown|{{#arrayprint:colors|, |@@@@|[[Herb/Color/@@@@|@@@@]]}}}}
 
{{!}} {{#arraydefine:similar|{{#replace:{{{6}}}|Herb/|}}}}{{#arrayprint:similar|, |@@@@|[[Herb/@@@@|@@@@]]}}
 
{{!}} {{#arraydefine:similar|{{#replace:{{{6}}}|Herb/|}}}}{{#arrayprint:similar|, |@@@@|[[Herb/@@@@|@@@@]]}}

Revision as of 14:24, 16 May 2021

|- | [[{{{7}}}|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. |-