Template:Infobox: Difference between revisions

Jump to navigation Jump to search
67 bytes added ,  22:20, 18 January 2023
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
(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: {{{landscapingtype|}}} |
{{#if: {{{color|}}} |
   {{#if: {{{color|}}} | <nowiki/>
  {{#arraydefine:a-color| {{{color|}}} }}
   {{#if: {{{landscapingtype|}}} | <nowiki/>
     {{!}}-
     {{!}}-
     {{!}} id="infobox-label" {{!}} Color:
     {{!}} id="infobox-label" {{!}} Color:
     {{!}} {{#arraydefine:a-color| {{{color|}}} }}{{#arrayprint:a-color|,&nbsp;|@@@@| {{color|@@@@}}}}
     {{!}} {{#arrayprint:a-color|,&nbsp;|@@@@| {{color|@@@@}}}} |
  {{#arrayprint:a-color|,&nbsp;|@@@@| [[Category:@@@@|@@@@]]}}
   |}}
   |}}
|}}
}}
{{#if:{{{seed|}}}|<nowiki/>
{{#if:{{{seed|}}}|<nowiki/>
   {{!}}-
   {{!}}-
moderator
27,972

edits

Navigation menu