A Wiki in the Desert
Log in

Difference between revisions of "Template:HerbTableBody"

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

Latest revision as of 02:04, 28 May 2021


This template is used as part of a semantic media wiki query to generate the body of a query for herb data.

Template parameters

ParameterDescriptionTypeStatus
Herb1

no description

Stringrequired
Requires2

no description

Stringrequired
Has leaf3

no description

Stringrequired
Has stem4

no description

Stringrequired
Has color5

no description

Stringrequired
Is similar to6

no description

Stringrequired
Has image7

no description

Stringrequired