Template:Awards table: Difference between revisions
Jump to navigation
Jump to search
Randombell (talk | contribs) Created page with "{| class="{{#ifeq:{{{sortable|}}}|yes|sortable|}} wikitable plainrowheaders" style="table-layout: fixed; margin-right: 0; {{{style|}}}" |- ! scope="col" {{#ifeq: {{{fixed-widths|yes}}}|yes|width="6%" |}} | Year ! scope="col" {{#ifeq: {{{fixed-widths|yes}}}|yes|width="35%"|}} | Nominee/work ! scope="col" {{#ifeq: {{{fixed-widths|yes}}}|yes|width="43%"|}} | Award ! scope="col" {{#ifeq: {{{fixed-widths|yes}}}|yes|width="11%"|}} | Result<noinclude> |} {{documentation}}</noin..." |
Randombell (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{| class="{{# | <templatestyles src="Template:Awards table/styles.css" /> | ||
{| class="{{#if: {{{sortable|}}} | {{yesno|{{{sortable|}}}|yes=sortable}} | {{#ifeq: {{{1|}}} | 5 | sortable }} }} wikitable plainrowheaders {{#ifeq: {{{1|}}} | 5 | awards-table }}" style="table-layout: fixed; margin-right: 0; {{{style|}}}" | |||
|+ {{{caption|}}} | |||
|- | |- | ||
! scope="col" {{# | ! scope="col" | Year | ||
! scope="col" {{# | ! scope="col" | {{#switch:{{{1|1}}}|1=Nominee / work|2|4=Nominated work|3=Category|5=Award}} | ||
! scope="col" {{# | ! scope="col" | {{#switch:{{{1|1}}}|1=Award|2|4|5=Category|3=Institution or publication}}<!-- | ||
! scope="col" {{# | -->{{#if:{{{no_nominee|}}}||{{#switch:{{{1|1}}}|4|5=!! scope="col" {{!}} }}{{#switch:{{{1|1}}}|4=Award|5=Nominee(s)}}}} | ||
! scope="col" | Result<!-- | |||
-->{{#switch:{{{1|1}}}|2|3|4=!! scope="col" class="unsortable" {{!}} Notes}}<!-- | |||
-->{{#switch:{{{1|1}}}|3|4|5=!! scope="col" class="unsortable" {{!}} {{Abbr|Ref.|Reference}}}}<noinclude> | |||
|} | |} | ||
{{ | {{Documentation}}</noinclude> |
Latest revision as of 16:53, 20 August 2025
Year | Nominee / work | Award | Result |
---|
CSS | This template uses TemplateStyles: |
Usage
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
{{Awards table|caption=Award nominations for ''Work''}}
|-
! scope="row" | Year
| ''Work''
| Award
| {{won}}
{{end}}
Year | Nominee / work | Award | Result |
---|---|---|---|
2018 | Hi kgagudi! | Heritage Awards of Excellence | Won |
Format 2
{{Awards table|2|caption={{Screen reader-only|Award nominations for ''Work''}}}}
|-
! scope="row" | Year
| ''Work''
| Category
| {{won}}
| Notes
{{end}}
Year | Nominated work | Category | Result | Notes |
---|---|---|---|---|
2000 | Work | Category | Won | Note (co-authors etc.) |
Format 3
{{Awards table|3|caption={{sronly|Award nominations for ''Work''}}}}
|-
! scope="row" | Year
| Category
| Institution or publication
| {{won}}
| Notes
| Citation
{{end}}
Year | Category | Institution or publication | Result | Notes | Ref. |
---|---|---|---|---|---|
2000 | Category | Institution or publication | Won | Note (co-authors etc.) | [1] |
Format 4
{{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
References in the references column in this format will be centered. Use |no_nominee=y
to hide the Nominee(s) column.
{{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] |
No nominee(s) variant
{{Awards table|5|no_nominee=y}}
|-
! scope="row" | Year
| Award
| Category
| {{won}}
| Citation
{{end}}
Year | Award | Category | Result | Ref. |
---|---|---|---|---|
2005 | Emmy Awards | Outstanding Directing for a Drama Series | Won | [1] |
Parameters
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
Format 5 centers the value in the citation column (the last column), removing the need to add style="text-align:center;"
to each cell.