Template:AFL Ladder

From Wikipedia, the free encyclopedia

This is a template for the the ladder in the AFL seasons.

Contents

[edit] Usage

The following code structure should be used when including this template:

{{AFL Ladder | year =
| 1t  = | 1p  = | 1w  = | 1l  = | 1d  = | 1pf  = | 1pa  = | 1per  = | 1pts  =
| 2t  = | 2p  = | 2w  = | 2l  = | 2d  = | 2pf  = | 2pa  = | 2per  = | 2pts  =
| 3t  = | 3p  = | 3w  = | 3l  = | 3d  = | 3pf  = | 3pa  = | 3per  = | 3pts  =
| 4t  = | 4p  = | 4w  = | 4l  = | 4d  = | 4pf  = | 4pa  = | 4per  = | 4pts  =
| 5t  = | 5p  = | 5w  = | 5l  = | 5d  = | 5pf  = | 5pa  = | 5per  = | 5pts  =
| 6t  = | 6p  = | 6w  = | 6l  = | 6d  = | 6pf  = | 6pa  = | 6per  = | 6pts  =
| 7t  = | 7p  = | 7w  = | 7l  = | 7d  = | 7pf  = | 7pa  = | 7per  = | 7pts  =
| 8t  = | 8p  = | 8w  = | 8l  = | 8d  = | 8pf  = | 8pa  = | 8per  = | 8pts  =
| 9t  = | 9p  = | 9w  = | 9l  = | 9d  = | 9pf  = | 9pa  = | 9per  = | 9pts  =
| 10t = | 10p = | 10w = | 10l = | 10d = | 10pf = | 10pa = | 10per = | 10pts =
| 11t = | 11p = | 11w = | 11l = | 11d = | 11pf = | 11pa = | 11per = | 11pts =
| 12t = | 12p = | 12w = | 12l = | 12d = | 12pf = | 12pa = | 12per = | 12pts =
| 13t = | 13p = | 13w = | 13l = | 13d = | 13pf = | 13pa = | 13per = | 13pts =
| 14t = | 14p = | 14w = | 14l = | 14d = | 14pf = | 14pa = | 14per = | 14pts =
| 15t = | 15p = | 15w = | 15l = | 15d = | 15pf = | 15pa = | 15per = | 15pts =
| 16t = | 16p = | 16w = | 16l = | 16d = | 16pf = | 16pa = | 16per = | 16pts =
}}

To provide clean and clear code for the editor, pipe and equal chars should be inline with each other. Ladders should be put in relevant subpages of this template page according to the year.

[edit] Example

[edit] Code

{{AFL Ladder | year = 2007
| 1t  = {{AFL Gee}} | 1p  = 22 | 1w  = 18 | 1l  = 4  | 1d  = 0 | 1pf  = 2542 | 1pa  = 1664 | 1per  = 152.76 | 1pts  = 72
| 2t  = {{AFL Por}} | 2p  = 22 | 2w  = 15 | 2l  = 7  | 2d  = 0 | 2pf  = 2314 | 2pa  = 2038 | 2per  = 113.54 | 2pts  = 60
| 3t  = {{AFL WC}}  | 3p  = 22 | 3w  = 15 | 3l  = 7  | 3d  = 0 | 3pf  = 2162 | 3pa  = 1935 | 3per  = 111.73 | 3pts  = 60
| 4t  = {{AFL Kan}} | 4p  = 22 | 4w  = 14 | 4l  = 8  | 4d  = 0 | 4pf  = 2183 | 4pa  = 1998 | 4per  = 109.26 | 4pts  = 56
| 5t  = {{AFL Haw}} | 5p  = 22 | 5w  = 13 | 5l  = 9  | 5d  = 0 | 5pf  = 2097 | 5pa  = 1855 | 5per  = 113.05 | 5pts  = 52
| 6t  = {{AFL Col}} | 6p  = 22 | 6w  = 13 | 6l  = 9  | 6d  = 0 | 6pf  = 2011 | 6pa  = 1992 | 6per  = 100.95 | 6pts  = 52
| 7t  = {{AFL Syd}} | 7p  = 22 | 7w  = 12 | 7l  = 9  | 7d  = 1 | 7pf  = 2031 | 7pa  = 1698 | 7per  = 119.61 | 7pts  = 50
| 8t  = {{AFL Ade}} | 8p  = 22 | 8w  = 12 | 8l  = 10 | 8d  = 0 | 8pf  = 1881 | 8pa  = 1712 | 8per  = 109.87 | 8pts  = 48
| 9t  = {{AFL StK}} | 9p  = 22 | 9w  = 11 | 9l  = 10 | 9d  = 1 | 9pf  = 1874 | 9pa  = 1941 | 9per  = 96.55  | 9pts  = 46
| 10t = {{AFL Bri}} | 10p = 22 | 10w = 9  | 10l = 11 | 10d = 2 | 10pf = 1986 | 10pa = 1885 | 10per = 105.35 | 10pts = 40
| 11t = {{AFL Fre}} | 11p = 22 | 11w = 10 | 11l = 12 | 11d = 0 | 11pf = 2254 | 11pa = 2198 | 11per = 102.54 | 11pts = 40
| 12t = {{AFL Ess}} | 12p = 22 | 12w = 10 | 12l = 12 | 12d = 0 | 12pf = 2184 | 12pa = 2394 | 12per = 91.23  | 12pts = 40
| 13t = {{AFL WB}}  | 13p = 22 | 13w = 9  | 13l = 12 | 13d = 1 | 13pf = 2111 | 13pa = 2469 | 13per = 85.50  | 13pts = 38
| 14t = {{AFL Mel}} | 14p = 22 | 14w = 5  | 14l = 17 | 14d = 0 | 14pf = 1890 | 14pa = 2418 | 14per = 78.16  | 14pts = 20
| 15t = {{AFL Car}} | 15p = 22 | 15w = 4  | 15l = 18 | 15d = 0 | 15pf = 2167 | 15pa = 2911 | 15per = 74.44  | 15pts = 16
| 16t = {{AFL Ric}} | 16p = 22 | 16w = 3  | 16l = 18 | 16d = 1 | 16pf = 1958 | 16pa = 2537 | 16per = 77.18  | 16pts = 14
}}

[edit] Output

2007 AFL Ladder
TEAM P W L D PF PA % PTS
1 Geelong 22 18 4 0 2542 1664 152.76 72
2 Port Adelaide 22 15 7 0 2314 2038 113.54 60
3 West Coast Eagles 22 15 7 0 2162 1935 111.73 60
4 Kangaroos 22 14 8 0 2183 1998 109.26 56
5 Hawthorn 22 13 9 0 2097 1855 113.05 52
6 Collingwood 22 13 9 0 2011 1992 100.95 52
7 Sydney Swans 22 12 9 1 2031 1698 119.61 50
8 Adelaide 22 12 10 0 1881 1712 109.87 48
9 St Kilda 22 11 10 1 1874 1941 96.55 46
10 Brisbane Lions 22 9 11 2 1986 1885 105.35 40
11 Fremantle 22 10 12 0 2254 2198 102.54 40
12 Essendon 22 10 12 0 2184 2394 91.23 40
13 Western Bulldogs 22 9 12 1 2111 2469 85.50 38
14 Melbourne 22 5 17 0 1890 2418 78.16 20
15 Carlton 22 4 18 0 2167 2911 74.44 16
16 Richmond 22 3 18 1 1958 2537 77.18 14
Key: P = Played, W = Won, L = Lost, D = Drawn, PF = Points For, PA = Points Against  view  talk  edit