Bracketology (Wiki)

Something wrong with it? Got an idea for it? Post here.

Moderator: Lucifer

User avatar
Lackadaisical
Shutout Match Winner
Posts: 822
Joined: Sun Dec 21, 2003 4:58 pm
Location: Amsterdam, Netherlands
Contact:

Re: Bracketology (Wiki)

Post by Lackadaisical »

I'm curious why you added an extra cell; if all you wanted was to switch two cells around, just switch the two cells around :)

Code: Select all

| width=5| 
| width={{{server-width|80}}}| 
| width={{{team-width|130}}}| 
| width=25| 
to

Code: Select all

| width=5| 
| width=25| 
| width={{{team-width|130}}}| 
| width={{{server-width|80}}}| 
and

Code: Select all

| align=center style="border-width:0 0 2px 0; border-style:solid;border-color:black;"| 
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;" rowspan="3" | {{{RD1-server09|Server 9}}}
| style="border:1px solid #aaa;" bgcolor="#f9f9f9"|  {{{RD1-team01| }}}
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score01| }}}
to

Code: Select all

| align=center style="border-width:0 0 2px 0; border-style:solid;border-color:black;"| 
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score01| }}}
| style="border:1px solid #aaa;" bgcolor="#f9f9f9"|  {{{RD1-team01| }}}
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;" rowspan="3" | {{{RD1-server09|Server 9}}}

User avatar
Lackadaisical
Shutout Match Winner
Posts: 822
Joined: Sun Dec 21, 2003 4:58 pm
Location: Amsterdam, Netherlands
Contact:

Re: Bracketology (Wiki)

Post by Lackadaisical »

Ok well if you don't really care about understanding what you're doing you can just go from row to row, add one empty cell with colspan="" and mirror the lines above it, for example:

Code: Select all

|-
| cell 1 | bla
| cell 2 | blabla
| cell 3 | bleh
| cell 4 | wah
|-
would become

Code: Select all

|-
| cell 1 | bla
| cell 2 | blabla
| cell 3 | bleh
| cell 4 | wah
| colspan="" |
| cell 4 | wah
| cell 3 | bleh
| cell 2 | blabla
| cell 1 | bla
|-
all you have to figure out then is the value you have to give to the colspan in the middle cell so everything is pushed nicely to the right.

For a real example take the third row, which looks like this:

Code: Select all

|-
| height="7"|
| rowspan="2" align=center style="border-width:0 0 2px 0; border-style:solid;border-color:black;"| 
| rowspan="4" align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| '''{{{RD2-server01-1|Server 1}}}'''<br />{{{RD2-server01-2|Server 2}}}
| rowspan="2" style="border:1px solid #aaa;" bgcolor="#f9f9f9"| &nbsp;{{{RD2-team01|&nbsp;}}}
| rowspan="2" align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-score01|&nbsp;}}}
| rowspan="2" align=center style="border-width:0 0 2px 0; border-style:solid;border-color:black;"|&nbsp;
|-
so you would change this to

Code: Select all

|-
| height="7"|
| rowspan="2" align=center style="border-width:0 0 2px 0; border-style:solid;border-color:black;"|&nbsp;
| rowspan="4" align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| '''{{{RD2-server01-1|Server 1}}}'''<br />{{{RD2-server01-2|Server 2}}}
| rowspan="2" style="border:1px solid #aaa;" bgcolor="#f9f9f9"| &nbsp;{{{RD2-team01|&nbsp;}}}
| rowspan="2" align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-score01|&nbsp;}}}
| rowspan="2" align=center style="border-width:0 0 2px 0; border-style:solid;border-color:black;"|&nbsp;
| colspan="15" |
| rowspan="2" align=center style="border-width:0 0 2px 0; border-style:solid;border-color:black;"|&nbsp;
| rowspan="2" align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-score01|&nbsp;}}}
| rowspan="2" style="border:1px solid #aaa;" bgcolor="#f9f9f9"| &nbsp;{{{RD2-team01|&nbsp;}}}
| rowspan="4" align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| '''{{{RD2-server01-1|Server 1}}}'''<br />{{{RD2-server01-2|Server 2}}}
| rowspan="2" align=center style="border-width:0 0 2px 0; border-style:solid;border-color:black;"|&nbsp;
| height="7"|
|-
where the value of the colspan in the center cell (15) can be found using trial and error

Post Reply