Some magic wiki trick for tables of unknown size ?

Fragment of a discussion from User talk:Zoycite
Jump to: navigation, search

To me it looks like you just forgot to declare table rows in the top template. notice the pipe after the table attributes, |. and then the row markers |- before and after the table header cells marked by !. This is the more correct way to specify a table.

{|class="sortable" width="100%" cellpadding="0" style="padding:3px; padding-bottom:0px; color: #{{LoH/TableOuterTextColor}}; background: #{{LoH/TableOuterColor}};  font: 14px, Calibri, Verdana, Arial, sans-serif; margin-bottom:1em;" align="center" |
|-
!align="center" width="20%"|Card
!align="center" width="10%"|Recipe Type
!align="center" width="70%"|Recipe
|-
{{ #if:{{{recipe1|}}} | {{LoH/ForgeRow|{{{recipe1}}}}} |}}
{{ #if:{{{recipe2|}}} | {{LoH/ForgeRow|{{{recipe2}}}}} |}}
{{ #if:{{{recipe3|}}} | {{LoH/ForgeRow|{{{recipe3}}}}} |}}
{{ #if:{{{recipe4|}}} | {{LoH/ForgeRow|{{{recipe4}}}}} |}}
{{ #if:{{{recipe5|}}} | {{LoH/ForgeRow|{{{recipe5}}}}} |}}
{{ #if:{{{recipe6|}}} | {{LoH/ForgeRow|{{{recipe6}}}}} |}}
{{LoH/ForgeEnd}}
|} 
Zoycite (talk)03:32, 11 January 2013