Difference between revisions of "Template:Awards table/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (change source to syntaxhighlight)
imported>Gonnym
(→‎Format 5: update doc)
 
Line 96: Line 96:
  
 
=== Format 5 ===
 
=== Format 5 ===
 +
References in the references column in this format will be centered.
 +
 
<syntaxhighlight lang="html" style="overflow:auto;">
 
<syntaxhighlight lang="html" style="overflow:auto;">
 
{{Awards table|5}}
 
{{Awards table|5}}
Line 102: Line 104:
 
| Award
 
| Award
 
| Category
 
| Category
| ''Work''
+
| Nominees
 
| {{won}}
 
| {{won}}
| Notes
 
 
| Citation
 
| Citation
 
{{end}}
 
{{end}}
Line 111: Line 112:
 
{{Awards table|5}}
 
{{Awards table|5}}
 
|-
 
|-
! scope="row" | 2018
+
! scope="row" | 2005
| [[91st Academy Awards|Academy Awards]]
+
| [[57th Primetime Emmy Awards|Emmy Awards]]
| [[Academy Award for Best Picture]]
+
| [[Primetime Emmy Award for Outstanding Directing for a Drama Series|Outstanding Directing for a Drama Series]]
| [[Green Book (film)|Green Book]]
+
| [[J. J. Abrams]]
 
| {{won}}
 
| {{won}}
 
| {{dummy reference|1}}
 
| {{dummy reference|1}}

Latest revision as of 14:43, 11 July 2020

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 Nominated work Category Result Notes
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 Category Institution or publication Result Notes Ref.
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 Nominated work Category Award Result Notes Ref.
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 Award Category Nominee(s) Result Ref.
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