moderator
27,972
edits
(Show color row only if landscapingtype is defined) |
(Color can now be added to other items info boxes - will only show in info box as row for landscaping items, but will still add categories to bottom of page) |
||
Line 165: | Line 165: | ||
|#default={{{ingtype|}}}}}</span> | |#default={{{ingtype|}}}}}</span> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{color|}}} | | ||
{{#if: {{{ | {{#arraydefine:a-color| {{{color|}}} }} | ||
{{#if: {{{landscapingtype|}}} | <nowiki/> | |||
{{!}}- | {{!}}- | ||
{{!}} id="infobox-label" {{!}} Color: | {{!}} id="infobox-label" {{!}} Color: | ||
{{!}} {{# | {{!}} {{#arrayprint:a-color|, |@@@@| {{color|@@@@}}}} | | ||
{{#arrayprint:a-color|, |@@@@| [[Category:@@@@|@@@@]]}} | |||
|}} | |}} | ||
}} | |||
{{#if:{{{seed|}}}|<nowiki/> | {{#if:{{{seed|}}}|<nowiki/> | ||
{{!}}- | {{!}}- |