Difference between revisions of "Template:Infobox awards list/doc"
Jump to navigation
Jump to search
imported>Brojam |
imported>Colonies Chris m (→Tracking category: minor fixes, replaced: {{clc| → {{Category link with count|) |
||
| Line 83: | Line 83: | ||
==Tracking category== | ==Tracking category== | ||
| − | *{{ | + | *{{Category link with count|Pages using infobox awards list with unknown parameters}} |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
Revision as of 15:58, 14 May 2019
| This is a documentation subpage for Template:Infobox awards list. It contains usage information, categories and other content that is not part of the original template page. |
{{Infobox awards list}} is used for awards lists to show a summary of notable awards won or nominated.
| This template uses Lua: |
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