Difference between revisions of "Template:Infobox awards list/doc"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
(update /doc)
imported>Primefac
(Undid revision 910559918 by Primefac (talk) self-revert for now)
Line 3: Line 3:
 
'''{{Tl|Infobox awards list}}''' is used for awards lists to show a summary of notable awards won or nominated.
 
'''{{Tl|Infobox awards list}}''' is used for awards lists to show a summary of notable awards won or nominated.
 
{{Lua|Module:Infobox|Module:Infobox3cols|Module:InfoboxImage|Module:Check for unknown parameters}}
 
{{Lua|Module:Infobox|Module:Infobox3cols|Module:InfoboxImage|Module:Check for unknown parameters}}
{{Parameter names example|_template=| alt | awards = {{Infobox awards list/custom|Award name|{{param|2}}|{{param|3}}}}| caption | image | image_size |  nocollapse | nominations | title | wins | pending}}
+
{{Parameter names example|_template=| alt | awards = {{Infobox awards list/custom|Award name|{{param|2}}|{{param|3}}}}| caption | image | image_size |  nocollapse | nominations | title | wins}}
  
 
== Usage ==
 
== Usage ==
Line 16: Line 16:
 
| wins        =  
 
| wins        =  
 
| nominations  =  
 
| nominations  =  
| pending      =
 
 
| awards      =  
 
| awards      =  
 
{{Infobox awards list/custom|Award #1 name|wins|nominations}}
 
{{Infobox awards list/custom|Award #1 name|wins|nominations}}

Revision as of 11:25, 13 August 2019

{{Infobox awards list}} is used for awards lists to show a summary of notable awards won or nominated.

Template:Parameter names example

Usage

The infobox may be added by pasting the template as shown below into an article, typically at the top of an article above the lead section.

{{Infobox awards list
| title        = 
| image        = 
| image_size   = 
| alt          = 
| caption      = 
| wins         = 
| nominations  = 
| awards       = 
{{Infobox awards list/custom|Award #1 name|wins|nominations}}
{{Infobox awards list/custom|Award #2 name|wins|nominations}}
}}

Parameters

Parameter Description Status
title The title to be displayed. required
film Change wording from "Awards and nominations" to "Accolades" for films. Set to y. optional
nocollapse Display the list of awards without collapsing them. Set to y. optional
image An image, if needed. Wikilinking, "File:", and pixel size not required. optional
image_size Image size in pixels. Should be 250 or less. If not specified, image defaults to frameless (220px). "px" is not required. optional
alt Alt text for image per MOS:ALT. optional
total_width Use to scale the images to the same height and this total width. optional
image[n] (where [n] = 1 to 3)  Filename of [n]th image. optional
alt[n] (as above)  Alt description for [n]th image. optional
caption A caption explaining the image(s). optional
wins The total number of awards won. required
nominations The total number of nominations, including those won. required
awards Use {{Infobox awards list/custom}} or {{Custom award}} within this parameter to add awards to the list. required

Tracking category