Difference between revisions of "Template:Infobox actor awards"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>DeluxeVegan (Fixes) |
imported>Gonnym (Undid revision 888046371 by DeluxeVegan (talk) I do not support adding a runner-up column or the change to a "total" header. Get consensus if you want to re-implement these.) |
||
Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
− | | bodystyle = | + | | bodystyle = font-size:90%; vertical-align:middle; background-color:#eef; |
| titlestyle = font-size:9pt | | titlestyle = font-size:9pt | ||
− | | title = | + | | title = {{{name}}} awards and nominations |
| imagestyle = background-color:white; | | imagestyle = background-color:white; | ||
| headerstyle = background-color:#d9e8ff; | | headerstyle = background-color:#d9e8ff; | ||
| labelstyle = width:50%; font-weight:normal; text-align:center; | | labelstyle = width:50%; font-weight:normal; text-align:center; | ||
| datastyle = text-align:center; | | datastyle = text-align:center; | ||
− | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|size={{{image_size| | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|size={{{image_size|230px}}}|alt={{{alt|}}}}} |
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| data1 = {{Infobox3cols| child = yes | | data1 = {{Infobox3cols| child = yes | ||
| bodyclass = collapsible {{#if: {{{collapse|}}} | collapsed }} | | bodyclass = collapsible {{#if: {{{collapse|}}} | collapsed }} | ||
| abovestyle = background-color:#d9e8ff; font-size:100%; | | abovestyle = background-color:#d9e8ff; font-size:100%; | ||
− | | above = Awards and nominations | + | | above = Awards and nominations |
| labelstyle = text-align:center; | | labelstyle = text-align:center; | ||
| datastylea = width:60px; background:#9F9; text-align:center; vertical-align:middle; | | datastylea = width:60px; background:#9F9; text-align:center; vertical-align:middle; | ||
Line 20: | Line 20: | ||
| data1a = <div style="background:#cec; width:100%; padding:1px;font-size:80%;">Wins</div> | | data1a = <div style="background:#cec; width:100%; padding:1px;font-size:80%;">Wins</div> | ||
| data1b = <div style="background:#ecc; width:100%; padding:1px;font-size:80%;">Nominations</div> | | data1b = <div style="background:#ecc; width:100%; padding:1px;font-size:80%;">Nominations</div> | ||
− | + | ||
| label2 = [[Academy Awards]] | | label2 = [[Academy Awards]] | ||
| data2a = {{#if: {{{AcademyW|}}}{{{AcademyN|}}} | {{{AcademyW|0}}} }} | | data2a = {{#if: {{{AcademyW|}}}{{{AcademyN|}}} | {{{AcademyW|0}}} }} | ||
Line 246: | Line 246: | ||
}} | }} | ||
+ | | header2 = Totals | ||
| rowcellstyle3 = background:#9F9; | | rowcellstyle3 = background:#9F9; | ||
− | | label3 = | + | | label3 = Awards won |
| data3 = {{If empty |{{{awards|}}} |<nowiki /> }} | | data3 = {{If empty |{{{awards|}}} |<nowiki /> }} | ||
− | | rowcellstyle4 = background:# | + | | rowcellstyle4 = background:#FDD; |
− | | label4 = | + | | label4 = Nominations |
− | | data4 | + | | data4 = {{If empty |{{{nominations|}}} |<nowiki /> }} |
− | |||
− | |||
− | |||
| belowstyle = background:#d9e8ff; font-size: smaller; text-align:center; | | belowstyle = background:#d9e8ff; font-size: smaller; text-align:center; | ||
| below = [[#References|References]] | | below = [[#References|References]] |
Revision as of 15:40, 16 March 2019
![]() | This template uses Lua: |
Template:Parameter names example
Contents
Usage
{{Infobox actor awards | name = | image = | image_size = | image_upright = | alt = | caption = | collapse = | AcademyW = | AcademyN = | ARYFilmW = | ARYFilmN = | BAFTAW = | BAFTAN = | BFJAW = | BFJAN = | BerlinW = | BerlinN = | BollywoodMovieW = | BollywoodMovieN = | BostonFilmW = | BostonFilmN = | BroadcastFilmW = | BroadcastFilmN = | ChicagoFilmW = | ChicagoFilmN = | ChicagoInternationalW = | ChicagoInternationalN = | EmmyW = | EmmyN = | FilmfareW = | FilmfareN = | FloridaFilmW = | FloridaFilmN = | GenieW = | GenieN = | GlobalIndianW = | GlobalIndianN = | GoldenGlobeW = | GoldenGlobeN = | HUMW = | HUMN = | IIFAW = | IIFAN = | IFFMW = | IFFMN = | IndependentW = | IndependentN = | IrishFilmW = | IrishFilmN = | LAFilmW = | LAFilmN = | LondonFilmW = | LondonFilmN = | LSAW = | LSAN = | MTVMovieW = | MTVMovieN = | NationalBoardW = | NationalBoardN = | NationalFilmW = | NationalFilmN = | NationalSocietyW = | NationalSocietyN = | NYFilmW = | NYFilmN = | NigarW = | NigarN = | OnlineFilmW = | OnlineFilmN = | PMAW = | PMAN = | PeopleW = | PeopleN = | SatelliteW = | SatelliteN = | SaturnW = | SaturnN = | ScreenW = | ScreenN = | ScreenActorsW = | ScreenActorsN = | StarGuildW = | StarGuildN = | StardustW = | StardustN = | ZeeCineW = | ZeeCineN = | award1 = | award1W = | award1N = | award2 = | award2W = | award2N = | award3 = | award3W = | award3N = | award4 = | award4W = | award4N = | award5 = | award5W = | award5N = | award6 = | award6W = | award6N = | award7 = | award7W = | award7N = | award8 = | award8W = | award8N = | award9 = | award9W = | award9N = | award10 = | award10W = | award10N = | award11 = | award11W = | award11N = | award12 = | award12W = | award12N = | award13 = | award13W = | award13N = | award14 = | award14W = | award14N = | wins = | nominations = }}
Example
![]() Pitt at 2008 premiere of Burn After Reading | |
Template:Remove first word ]] | |
Totals | |
---|---|
Awards won | Script error: No such module "If empty". |
Nominations | Script error: No such module "If empty". |
References |
To collapse the infobox by default, add the following line to the code:
| collapse = yes
{{Infobox actor awards | name = Brad Pitt | image = BradPittBAR08.jpg | image_size = 215px | alt = A Caucasian with light brown hair, blue eyes and a short brown beard | caption = Pitt at 2008 premiere of ''[[Burn After Reading]]'' | AcademyW = 0 | AcademyN = 0 | ApsaraW = 0 | ApsaraN = 0 | ARYFilmW = 0 | ARYFilmN = 0 | BAFTAW = 0 | BAFTAN = 0 | BFJAW = 0 | BFJAN = 0 | BerlinW = 0 | BerlinN = 0 | BollywoodMovieW = 0 | BollywoodMovieN = 0 | BostonFilmW = 0 | BostonFilmN = 0 | BroadcastFilmW = 0 | BroadcastFilmN = 0 | ChicagoFilmW = 0 | ChicagoFilmN = 0 | ChicagoInternationalW = 0 | ChicagoInternationalN = 0 | EmmyW = 0 | EmmyN = 0 | FilmfareW = 0 | FilmfareN = 0 | FloridaFilmW = 0 | FloridaFilmN = 0 | GenieW = 0 | GenieN = 0 | GlobalIndianW = 0 | GlobalIndianN = 0 | GoldenGlobeW = 0 | GoldenGlobeN = 0 | HUMW = 0 | HUMN = 0 | IIFAW = 0 | IIFAN = 0 | IndependentW = 0 | IndependentN = 0 | IFFMW = 0 | IFFMN = 0 | IrishFilmW = 0 | IrishFilmN = 0 | LAFilmW = 0 | LAFilmN = 0 | LondonFilmW = 0 | LondonFilmN = 0 | LSAW = 0 | LSAN = 0 | MTVMovieW = 0 | MTVMovieN = 0 | NationalBoardW = 0 | NationalBoardN = 0 | NationalFilmW = 0 | NationalFilmN = 0 | NationalSocietyW = 0 | NationalSocietyN = 0 | NigarW = 0 | NigarN = 0 | NYFilmW = 0 | NYFilmN = 0 | OnlineFilmW = 0 | OnlineFilmN = 0 | PMAW = 0 | PMAN = 0 | PeopleW = 0 | PeopleN = 0 | SaturnW = 0 | SaturnN = 0 | ScreenActorsW = 0 | ScreenActorsN = 0 | ScreenW = 0 | ScreenN = 0 | StardustW = 0 | StardustN = 0 | ZeeCineW = 0 | ZeeCineN = 0 | award1 = Custom award 1 | award1W = 0 | award1N = 0 | award2 = Custom award 2 | award2W = 0 | award2N = 0 | award3 = Custom award 3 | award3W = 0 | award3N = 0 | award4 = Custom award 4 | award4W = 0 | award4N = 0 | award5 = Custom award 5 | award5W = 0 | award5N = 0 | award6 = Custom award 6 | award6W = 0 | award6N = 0 | award7 = Custom award 7 | award7W = 0 | award7N = 0 | award8 = Custom award 8 | award8W = 0 | award8N = 0 | award9 = Custom award 9 | award9W = 0 | award9N = 0 | award10 = Custom award 10 | award10W = 0 | award10N = 0 | award11 = Custom award 11 | award11W = 0 | award11N = 0 | award12 = Custom award 12 | award12W = 0 | award12N = 0 | award13 = Custom award 13 | award13W = 0 | award13N = 0 | award14 = Custom award 14 | award14W = 0 | award14N = 0 | wins = 0 | nominations = 0 }}
See also
- {{Awards table}}
- {{Infobox person}}
Tracking category
The above documentation is transcluded from Template:Infobox actor awards/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |