Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
(renamed colorArray to a-color and arrayItem to @@@@ after realizing conventions used earlier in document -- no functional changes) |
(Show color row only if landscapingtype is defined) |
||
Line 164: | Line 164: | ||
|Fish=[[File:Fish.png|22px|links=:Category:Fish]] [[:Category:Fish|Fish]][[Category:Fish]] | |Fish=[[File:Fish.png|22px|links=:Category:Fish]] [[:Category:Fish|Fish]][[Category:Fish]] | ||
|#default={{{ingtype|}}}}}</span> | |#default={{{ingtype|}}}}}</span> | ||
}}{{#if:{{{color|}}}|<nowiki/> | }} | ||
{{#if: {{{landscapingtype|}}} | | |||
{{#if: {{{color|}}} | <nowiki/> | |||
{{!}}- | |||
}}{{#if:{{{seed|}}}|<nowiki/> | {{!}} id="infobox-label" {{!}} Color: | ||
{{!}} {{#arraydefine:a-color| {{{color|}}} }}{{#arrayprint:a-color|, |@@@@| {{color|@@@@}}}} | |||
|}} | |||
|}} | |||
{{#if:{{{seed|}}}|<nowiki/> | |||
{{!}}- | {{!}}- | ||
{{!}} id="infobox-label" {{!}} Seed: | {{!}} id="infobox-label" {{!}} Seed: |