I'm doing a template in a wiki using mediawiki, but when using that code to display and image with a text with {{Icon|Blue}} it's cause the rest of the page into a table why?

<includeonly>{{#switch: {{{1|}}}
| Blue = [[File:Icon_Blue.png|24px|link=Blue]] [[Blue]]
| Blue= [[File:Icon_Blue.png|24px|link=Blue]] [[Blue]]
}}</includeonly>