Template:Award category/doc

This is a wrapper that goes around an award category name in layout tables in articles such as 87th Academy Awards. Your use of this template will help make awards lists which use layout tables be accessible to blind visitors to Wikipedia.

Usage
Typical usage would be:

which produces:

Place the template as the first line within the table cell containing the list of nominations that the award applies to. Do not place this template on a separate table row, as it will no longer be accessible to blind Wikipedians.

Example
In an article, this could be implemented as follows:

Step-by-step to convert existing awards tables to this template
Here are the steps to convert an existing non-accessible awards table to an accessible version. You can recognize such tables by the awards names being in separate table rows from the nominees lists:

Here is how to replace that table with table with an accessible table using the Award category template:

Sample code at this point, before any editing:
 * 1) Edit the Awards section of the page

How sample code looks now:
 * 1) If there is a line near the start of the table that begins with , remove that line.
 * 2) Move the width control that splits the table into two columns:
 * 3) Cut   from both styles
 * 4) Paste after
 * 5) Remove the semicolons from after
 * 6) Change the colon after   to an equal sign
 * 7) Add double-quotes around
 * 8) Review edits

with  and no trailing space, so that the   is right up against the title or title link everywhere it occurs in the table code. If you use a text editor to do a global change, be sure to catch any variations on this. How sample code looks now:
 * 1) Replace the style lead-in with the template
 * 2) Replace   including the trailing space
 * 1) On every line you added the Award category template to, be sure to add the trailing   after the title or title link.
 * 2) Review edits:


 * 1) Distribute each awards category template code to its respective list
 * 2) Move each line containing award category template code, for example,

into the cell with the nominations list it applies to, immediately after the  line How sample code looks now:
 * 1) Delete the newly empty table rows that used to contain the category names, so that there aren't two lines with   one after the other.
 * 2) Review edits:


 * 1) Preview your work and correct any code errors
 * 2) When the table looks consistent and all awards are in the same cell as their nominees, you're done and you can publish.