Jump to content

Template:Football season span/doc

From Wikipedia, the free encyclopedia

Usage[edit]

This template is designed to be used in conjunction with {{Football season start}}, in sortable lists of English football seasons such as List of Watford F.C. seasons. When used in conjunction with {{Football season start}}, it produces the following output:

Season Division P W D L F A Pts Pos Cup League Cup Competition Result Name Goals
League Other Top scorer
2010 é
This is an example of what Football season span's output looks like
& & & & & & & é & & é & é &

The template has two unnamed parameters. The first parameter is for the year or years. The second parameter is for the main content of the colspan. For instance, the above example has the following input:

  • {{Football season span|2010|This is an example of what Football season span's output looks like}}

Why bother?[edit]

In a sortable table, colspans always sort in the same way, and can make some columns very difficult to read. This template is customised for each column, sorting in the least disruptive way based on the other data in the column. For instance, in the league positions column, it sorts below 24th place. In the goals scored column, it sorts below 0, so that the most goals scored sorts at the top.