Template:2014–15 Super League Greece table/doc

Usage
This is a template that was created to easily update every article with the 2014–15 Superleague Greece standings. The section provides a bit of background.

The standings (order of teams) are controlled by the lines used for team position so to change positions, for example between Olympiacos and Panathinaikos, you change OLY and PAO to

To change the stats for the teams (for example Olympiacos stats) such as wins, draws, losses, goals scored and goals conceded, you edit the lines where gf and ga refer the goals for and against.

To use the update on any article, insert:

To highlight a team, e.g. Olympiacos, insert: where the "showteam" row refers to the team you want to show

Advanced
The template is based on Module:Sports table that has been developed for making tables consistent and easy to update and is approved at WikiProject Football. How to use all parameters and modify the template can be read at Module:Sports table/doc and below are a few explanations.

Season start
Before season has started the update parameter should reflect that and the startdate should also be listed. This is done by having

Later when season has started the update parameter is the date of the latest match, for example and the startdate parameter is removed.

Statusletters
When teams have qualified for a tournament, secured promotion or been relegated, a statusletter should be added. This is done with status_XXX (with XXX being the team). As an example, if Olympiacos had qualified for the tournament, they have next to them in qualification column the letter that can be added amongst the other team-parameters, like where Q stands for Olympiacos being qualified. The other letters are C (Champion), T (Qualified for tournament but not for phase indicated), R (Relegated) and more. The complete list can be found at Module:Sports table (and in code at Module:Sports table/football). The statusletters can be combined, so for example when a team has both qualified for Champions League and become Premier League champions we use CQ.

Qualification and Relegation column
Qualification and relegation column is used to display what will happen to the positions and teams when season ends, as an example teams 2-5 qualify for European Competition play-offs (Superleague Greece play-oofs), and when a team has secured that qualification/relegation, a statusletter is added (see above). This is controlled by the result parameters, like and the rows for definition of the shortenings

When this changes, for example after a team has been disqualified from the league, the result line should be modified to adjust for this. If a team placed on eleventh has been disqualified, it is done by adding REL since it refers to relegation, and also a status letter should be added (see above) so that it is cleared team has been disqualified. This result parameter will have to be changed if team changes position for it to follow the team, so for example if team moves from eleventh to eight place it should be REL instead of REL.

A note could also be added to explain what has happened. This is done by adding note_XXX (see below), with XXX being the team disqualified and text being something like Team XXX have been disqualified from the league due to financial issues.

Point deduction
To modify the points, for example if a team has gotten a deduction, use the startpoints_XXX (with XXX being the team). A three-point deduction for Panathinaikos would be

To explain the change of points, it is good to have a note to explain (see below), which is done by note_XXX (with XXX being the team). To explain the Panathinaikos deduction above, this could for example be Do not forget to source the note (if needed).

Season over
When season is finished, there is no need to list when the latest update was made so the update parameter should be set to complete

Sample usage
produces -

produces -

produces -

produces -