User:MTC/results tables

From Wikipedia, the free encyclopedia

A way to avoid text wrapping and still have fixed width team name columns Changes are:

  • team column width changed from 165 to 150
  • dates changed to a shorter format
  • Bosnia and Herzegovina's name uses "&" instead of "and"
  • unbolded team names in fixtures grid
Team Pts Pld W D L GF GA GD
 France 0 0 0 0 0 0 0 0
 Romania 0 0 0 0 0 0 0 0
 Serbia 0 0 0 0 0 0 0 0
 Lithuania 0 0 0 0 0 0 0 0
 Austria 0 0 0 0 0 0 0 0
 Faroe Islands 0 0 0 0 0 0 0 0
 Bosnia & Herzegovina 0 0 0 0 0 0 0 0
  Austria Faroe Islands France Lithuania Romania Serbia
Austria  XXX 5/9/09 6/9/08 10/10/09 1/4/09 15/10/08
Faroe Islands  11/10/08 XXX 19/8/09 9/9/09 10/9/08 10/6/09
France  14/10/09 10/10/09 XXX 1/4/09 5/9/09 10/9/08
Lithuania  10/9/08 15/10/08 28/3/09 XXX 6/6/09 14/10/09
Romania  9/9/09 14/10/09 11/10/08 6/9/08 XXX 28/3/09
Serbia  6/6/09 6/9/08 9/9/09 11/10/08 10/10/09 XXX
Bosnia & Herzegovina  6/6/09 6/9/08 9/9/09 11/10/08 10/10/09 XXX

(dummy rows for Bosnia & Herzegovina added because it is the longest team name in the competition)

updated code for Template:2010 FIFA World Cup qualification – UEFA Group 7:
(line breaks are there, just not displaying on the page)
{| |- |<!-- GROUP STANDINGS TABLE--> {| class="wikitable" style="text-align: center; font-size: 90%;" |- !width=150|Team !width=20|Pts !width=20|Pld {{#if:{{{expanded|}}}| !width=20{{!}}W !width=20{{!}}D !width=20{{!}}L !width=20{{!}}GF !width=20{{!}}GA !width=20{{!}}GD }} |- |style="text-align:left;"|{{fb|FRA}} |'''0'''||0 {{#if:{{{expanded|}}}|{{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 }} |- |style="text-align:left;"|{{fb|ROM}} |'''0'''||0 {{#if:{{{expanded|}}}|{{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 }} |- |style="text-align:left; "|{{fb|SRB}} |'''0'''||0 {{#if:{{{expanded|}}}|{{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 }} |- |style="text-align:left;"|{{fb|LTU}} |'''0'''||0 {{#if:{{{expanded|}}}|{{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 }} |- |style="text-align:left;"|{{fb|AUT}} |'''0'''||0 {{#if:{{{expanded|}}}|{{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 }} |- |style="text-align:left;"|{{fb|FRO}} |'''0'''||0 {{#if:{{{expanded|}}}|{{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 {{!!}} 0 }} |} |<!-- FIXTURES TABLE --> {{#if:{{{fixtures|}}}| {{{!}} class="wikitable" style="text-align:center; font-size:90%;" {{!}}- !  !{{flagicon|Austria}} !{{flagicon|Faroe Islands}} !{{flagicon|France}} !{{flagicon|Lithuania}} !{{flagicon|Romania}} !{{flagicon|Serbia}} {{!}}- {{!}}style="text-align:right;"{{!}}{{fb-rt|Austria}} {{!}} '''XXX''' {{!}} 5/9/09 {{!}} 6/9/08 {{!}} 10/10/09 {{!}} 1/4/09 {{!}} 15/10/08 {{!}}- {{!}}style="text-align:right;"{{!}}{{fb-rt|Faroe Islands}} {{!}} 11/10/08 {{!}} '''XXX''' {{!}} 19/8/09 {{!}} 9/9/09 {{!}} 10/9/08 {{!}} 10/6/09 {{!}}- {{!}}style="text-align:right;"{{!}}{{fb-rt|France}} {{!}} 14/10/09 {{!}} 10/10/09 {{!}} '''XXX''' {{!}} 1/4/09 {{!}} 5/9/09 {{!}} 10/9/08 {{!}}- {{!}}style="text-align:right;"{{!}}{{fb-rt|Lithuania}} {{!}} 10/9/08 {{!}} 15/10/08 {{!}} 28/3/09 {{!}} '''XXX''' {{!}} 6/6/09 {{!}} 14/10/09 {{!}}- {{!}}style="text-align:right;"{{!}}{{fb-rt|Romania}} {{!}} 9/9/09 {{!}} 14/10/09 {{!}} 11/10/08 {{!}} 6/9/08 {{!}} '''XXX''' {{!}} 28/3/09 {{!}}- {{!}}style="text-align:right;"{{!}}{{fb-rt|Serbia}} {{!}} 6/6/09 {{!}} 6/9/08 {{!}} 9/9/09 {{!}} 11/10/08 {{!}} 10/10/09 {{!}} '''XXX''' {{!}}} }} |} {{#if:{{{tiebreakers|}}}| }}<noinclude> {{2010 FIFA World Cup qualification (UEFA) group talk|Group=all}} {{fb start}} {{2010 FIFA World Cup qualification - UEFA}} {{fb end}} {{template doc}}[[Category:2010 FIFA World Cup qualification|{{PAGENAME}}]] </noinclude>