There are really only three options for conditionally displaying a table; 
 :#Put it on a sub-page and then conditionally display that page 
 :#Use {{!}} to replace all | characters in the table markup, as shown here 
 :#Use HTML table commands instead of MediaWiki piped markup, as shown here 
 :There are benefits and drawbacks to each approach. If you are going to be using a table across multiple pages I'd probably stick with the first option as it allows the table to be updated in one place and automatically populate to every page it is used on. If the table is going to be conditionally displayed on just one page then the {{!}} method is usually easiest because HTML doesn't always play well with other Wiki-markup (for instance, I had to take out the ':' indenting on the table because it conflicted with the HTML logic).