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 four parameters, all of them optional.
 * width This amends the overall width of the achievement table in percent of the page width. This defaults to 71, which is the optimal width for usage alongside the MedalTableTop series of templates
 * 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.
 * 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
 * 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:

Note that the Vertical bar ( | ) character can be written by holding shift and pressing the " \ " key.