Template:Awards/doc: Difference between revisions
meta>CAWylie Actually I don't know why Meryl Streep's work is listed here or why we need "examples" |
meta>OwenBlacker m Piped category link; formatting: 3× HTML entity, 2× whitespace, nbsp-dash (using Advisor.js) |
||
Line 9: | Line 9: | ||
===Simplest form without parameters spelled out=== | ===Simplest form without parameters spelled out=== | ||
<pre>{{Awards|||||}}</pre> | <pre>{{Awards|||||}}</pre> | ||
Note: When using the short form without parameter names you must use the parameters in succession (award|year|title|role|name). You can not skip any parameters without an empty "|". | Note: When using the short form without parameter names you must use the parameters in succession (award|year|title|role|name). You can not skip any parameters without an empty "|". | ||
===Short form with parameters spelled out=== | ===Short form with parameters spelled out=== | ||
Line 54: | Line 54: | ||
<nowiki>[[Academy Award for Best Director|Best Director]]</nowiki> '''[[:Academy Award for Best Director|Best Director]]'''<br /> | <nowiki>[[Academy Award for Best Director|Best Director]]</nowiki> '''[[:Academy Award for Best Director|Best Director]]'''<br /> | ||
<nowiki>[[Palme d'Or|Golden Palm]]</nowiki> '''[[:Palme d'Or|Golden Palm]]'''<br /> | <nowiki>[[Palme d'Or|Golden Palm]]</nowiki> '''[[:Palme d'Or|Golden Palm]]'''<br /> | ||
Note: The display output will automatically be '''emboldened''' <small>(bold text)</small>. | Note: The display output will automatically be '''emboldened''' <small>(bold text)</small>. | ||
|- | |- | ||
| year | | year | ||
Line 67: | Line 67: | ||
|- | |- | ||
| name | | name | ||
| Insert optional award name. If this parameter is used it will be placed on the first line after the award parameter followed by a "space | | Insert optional award name. If this parameter is used it will be placed on the first line after the award parameter followed by a "space – space". Such as: | ||
'''[[Palme d'Or|Golden Palm]]''' | '''[[Palme d'Or|Golden Palm]]''' – [[Cannes Film Festival]] | ||
|- | |- | ||
<!-- | awards | <!-- | awards | ||
| Insert any other awards won and the year(s) awarded. Use the format:<blockquote>'''<nowiki>[[Article for award name| Short form of award ceremony name followed by award name]]</nowiki>'''<br/>Year ''Title'' (optional: & | | Insert any other awards won and the year(s) awarded. Use the format:<blockquote>'''<nowiki>[[Article for award name| Short form of award ceremony name followed by award name]]</nowiki>'''<br/>Year ''Title'' (optional: – Role)</blockquote>Note: If an article for the film is available, the title should link there. | ||
|} --> | |} --> | ||
|} | |} | ||
Line 85: | Line 85: | ||
<includeonly><!-- | <includeonly><!-- | ||
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. --> | ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. --> | ||
[[Category:Awards templates| | [[Category:Awards templates| ]] | ||
[[id:Templat:Awd]] | [[id:Templat:Awd]] | ||
[[ja:Template:Awards]] | [[ja:Template:Awards]] | ||
[[pt:Predefinição:Awd]] | [[pt:Predefinição:Awd]] | ||
</includeonly> | </includeonly> |
Revision as of 23:44, 30 August 2014
This is a documentation subpage for Template:Awards. It may contain usage information, categories and other content that is not part of the original template page. |
The Awards template may be used to format information about award(s) won, typically within an infobox awards section.
Usage
The Awards template may be added by pasting the template as shown below into an article. All fields are optional and unused parameter names can be left blank or omitted.
Simplest form without parameters spelled out
{{Awards|||||}}
Note: When using the short form without parameter names you must use the parameters in succession (award|year|title|role|name). You can not skip any parameters without an empty "|".
Short form with parameters spelled out
{{Awards|award= |year= |title= |role= |name= }}
Long form with parameters spelled out
{{Awards | award = | year = | title = | role = | name = }}
Additional years win same award
You may specify up to 19 additional wins (total of 20 wins) for the same award but won in different years and for different works (title). With optional role for each.
| year2 = | title2 = | role2 = | year3 = | title3 = | role3 = | year4 = | title4 = | role4 = | year5 = | title5 = | role5 = ... | year19 = | title19 = | role19 =
Parameters
Parameter | Explanation |
---|---|
award | Insert the name of the award ceremony won. This could be an internal link such as: [[Academy Award for Best Director|Best Director]] Best Director |
year | Insert the year the award was won. |
title | Insert the title of what this award was won for. This could be the title of a book, title of a play, title of a film, etc. The output will placed on the second line following the year. The output will be displayed as italicized text. Such as: 1980 All That Jazz |
role | Insert optional name of the role played. |
name | Insert optional award name. If this parameter is used it will be placed on the first line after the award parameter followed by a "space – space". Such as: |
See also
- {{Infobox actor}}
- {{Infobox writer}}
- {{Infobox artist}}
- {{Infobox chef}}
- {{Infobox Chinese actor and singer}}
- {{Infobox Award}}