Jump to content

Template:Awards table/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Always use the |caption= field, per WP:ACCESSIBLE. If the caption would duplicate a nearby section header, you can make it only used by screen-reader software via the {{Screen reader-only}} template.

Format 1

[edit]
{{Awards table|caption=Award nominations for ''Work''}}
|-
! scope="row" | Year
| ''Work''
| Award
| {{won}}
{{end}}
Award nominations for Hi kgagudi!
Year Nominee / work Award Result
2018 Hi kgagudi! Heritage Awards of Excellence Won

Format 2

[edit]
{{Awards table|2|caption={{Screen reader-only|Award nominations for ''Work''}}}}
|-
! scope="row" | Year
| ''Work''
| Category
| {{won}}
| Notes
{{end}}
Award nominations for Work
Year Nominated work Category Result Notes
2000 Work Category Won Note (co-authors etc.)

Format 3

[edit]
{{Awards table|3|caption={{sronly|Award nominations for ''Work''}}}}
|-
! scope="row" | Year
| Category
| Institution or publication
| {{won}}
| Notes
| Citation
{{end}}
Award nominations for Work
Year Category Institution or publication Result Notes Ref.
2000 Category Institution or publication Won Note (co-authors etc.) [1]

Format 4

[edit]
{{Awards table|4}}
|-
! scope="row" | Year
| ''Work''
| Category
| Award
| {{won}}
| Notes
| Citation
{{end}}
Year Nominated work Category Award Result Notes Ref.
2000 Work Category Award Won Note (co-authors etc.) [1]

Format 5

[edit]

References in the references column in this format will be centered.

{{Awards table|5}}
|-
! scope="row" | Year
| Award
| Category
| Nominees
| {{won}}
| Citation
{{end}}
Year Award Category Nominee(s) Result Ref.
2005 Emmy Awards Outstanding Directing for a Drama Series J. J. Abrams Won [1]

Parameters

[edit]
Parameter Explanation
1 The table format. Values are in the range of 1–5.
sortable If |sortable=yes, then the table is made sortable; |sortable=no disables it for format #5.
style Further CSS styling for the table.
caption Used as the table caption.

Note

[edit]

Format 5 centers the value in the citation column (the last column), removing the need to add style="text-align:center;" to each cell.

See also

[edit]