Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
(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/> | ||
{{!}}- | {{!}}- |
Revision as of 22:20, 18 January 2023
Infobox | |
---|---|
[[File:{{{image}}}|center]] | |
Information |