Template:AchievementTable/doc

The AchievementTable template is a simple way to start a table to list track and field or sport of athletics achievements on an athlete's article. For an in-use example, see James Kwalia.

Parameters
The template has the following parameters, all of them optional.
 * nation This allows for a caption showing the nation that the athlete represented at the competition. This should only be used when an athlete has represented multiple nations. Note that where different nations are represented as separate table with a new caption should be used as this helps accessibility for screen readers. This option defaults to no caption.
 * nation2 Same as above but for other nations represented (e.g. United Kingdom and England). Can also be used for non-national teams, such as institutions or clubs.
 * caption will allow the use of custom table caption for the templated table. Any free text can be used, including template links. This cannot be used in conjunction with the nation captions
 * Event This adds an additional "Event" column before the final "Notes" column, which should be used to denote the athletic discipline that the result relates to (e.g. 100 metres). The default is that this column is not shown.
 * Time/Result This adds an additional column to record the time or result that the athlete achieved in the given event
 * Wind This adds an additional column to record the wind registered for the performance in relevant events, such as 100 metres
 * Team This adds an additional column to list the team represented in the performance, such as nation, club or institution. There can be used to link to specific team competition pages for the performance, for example China at the 2008 Summer Olympics using templates such as FlagIOCteam, or links to the national team pages such as Italy national athletics team
 * NotesOff This removes the final notes column from the table – useful when no notes are available or required. The default is that the Notes column is shown.

Usage
In order to use the template, simply open a table and add the template as follows:

Using this template can help you write tables like the one below

Basic examples
You can start to add the details immediately after using the AchievementTable template. For example, the following code:

Would give you the following table:

Event feature
Many athletes compete in more than one event, sometimes within the same competition – Usain Bolt in the 100 and 200 metres at the 2008 Olympics for instance. If you need to note the specific event which the athlete was competing in, then you can activate the "Event" column.

Would give you the following table:

NotesOff feature
To turn off the notes column in the table simply add "NotesOff=yes" into the template.

Would give you the following table:

Multiple nations representing
Using this template can help you write tables like the one below

Custom captions
Using this template can help you write tables like the one below

Team link column
Using this template can help you write tables like the one below Note that the Vertical bar ( | ) character can be written by holding shift and pressing the " \ " key.