Difference between revisions of "Template:Awards table"

From blackwiki
Jump to navigation Jump to search
imported>Koavf
(This makes unnecessarily long columns. Let browsers do this work.)
imported>FrB.TG
(Reverted to revision 816059264 by Plastikspork: And it’s now become annoyingly small. Should probably be somewhere between the “unnecessarily long” and “annoyingly small” tables. (TW))
Line 2: Line 2:
 
|+ {{{caption|}}}
 
|+ {{{caption|}}}
 
|-
 
|-
! scope="col" | Year
+
! scope="col" {{#ifeq: {{{fixed-widths|yes}}}|yes|width="6%" |}} | Year
! scope="col" | Nominee/work
+
! scope="col" {{#ifeq: {{{fixed-widths|yes}}}|yes|width="35%"|}} | Nominee/work
! scope="col" | Award
+
! scope="col" {{#ifeq: {{{fixed-widths|yes}}}|yes|width="43%"|}} | Award
! scope="col" | Result<noinclude>
+
! scope="col" {{#ifeq: {{{fixed-widths|yes}}}|yes|width="11%"|}} | Result<noinclude>
 
|}
 
|}
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 13:21, 4 April 2018

Year Nominee/work Award Result

Script error: No such module "Uses TemplateStyles".

Usage

Always use the caption field, per WP:ACCESSIBLE.

Format 1

{{Awards table}}
|-
! scope="row" | Year
| ''Work''
| Award
| {{won}}
{{end}}
Year Nominee/work Award Result
2018 Hi kgagudi! Heritage Awards of Excellence Template:Won


Format 2

{{Awards table|2}}
|-
! scope="row" | Year
| ''Work''
| Category
| {{won}}
| Notes
{{end}}
Year Nominee/work Award Result
2000 Work Category Template:Won Note (co-authors etc.)

Format 3

{{Awards table|3}}
|-
! scope="row" | Year
| Category
| Institution or publication
| {{won}}
| Notes
| Citation
{{end}}
Year Nominee/work Award Result
2000 Category Institution or publication Template:Won Note (co-authors etc.) [1]

Format 4

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

Format 5

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

{{Awards table|5}}
|-
! scope="row" | Year
| Award
| Category
| Nominees
| {{won}}
| Citation
{{end}}
Year Nominee/work Award Result
2005 Emmy Awards Outstanding Directing for a Drama Series J. J. Abrams Template: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. This cell should also never span rows.

See also