The way big tables look when you do them in a normal format drives me up the wall, so I was trying to make a really simple template that would let me display the information horizontally per row instead of vertically. But then I noticed the last column of every row I used this template on would do this. Checking the displayed code, I discovered the site was adding three <br> tags to the end of the template. I don't know why this happens but I'd like it to. Not do that. Or maybe there's a way to lay out big tables with over 10 columns and 20 rows without driving me nuts.
#Inserting unwanted <br> tags (+ table display help?)
6 messages · Page 1 of 1 (latest)
i have the preview table in a <noinclude> tag just to check it and the code is this:
{| class="wikitable"
|+
!left
!bing
!bong
!ding
!dong
{{BigTableReadability|0|1|2|3}}
|4
{{BigTableReadability|0|5|6|7}}
|8
|-
|wa
|1
|2
|3
|}
and the template itself:
|{{{1}}}
{{#if: {{{2|}}} | {{!}} {{{2}}}}}
{{#if: {{{3|}}} | {{!}} {{{3}}}}}
{{#if: {{{4|}}} | {{!}} {{{4}}}}}
{{#if: {{{5|}}} | {{!}} {{{5}}}}}
{{#if: {{{6|}}} | {{!}} {{{6}}}}}
{{#if: {{{7|}}} | {{!}} {{{7}}}}}
{{#if: {{{8|}}} | {{!}} {{{8}}}}}
{{#if: {{{9|}}} | {{!}} {{{9}}}}}```
this is 100% a horrible way to do it but i cannot stand how tables look in the editor otherwise and i don't know enough to approach this in a better way
i just. i can't read this. i don't even know what i'm typing in
Inserting unwanted <br> tags (+ table display help?)