Difference between revisions of "Template:Infobox actor awards"

From blackwiki
Jump to navigation Jump to search
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    = "width:22em; text-align:left; font-size:90%; vertical-align:middle; background:#eef;"
+
| bodystyle    = font-size:90%; vertical-align:middle; background-color:#eef;
 
| titlestyle    = font-size:9pt
 
| titlestyle    = font-size:9pt
| title        = '''[[{{{name}}}]] awards and nominations'''
+
| 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|200px}}}|alt={{{alt|}}}}}
+
| 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{{efn|Certain award groups do not simply award one winner, as they may recognize several recipients and have runners-up. Since this is a specific recognition and is different from losing an award, runner-up mentions are considered wins in the awards tally. Awards in certain categories do not have prior nominations and only winners are announced by the jury. For simplification and to avoid errors, each award in this list has been presumed to have had a prior nomination. Organizations without a Wikipedia page are not included in list of accolades.}}
+
| 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>
| header2      = <div style=background:#d9e8ff;">Totals</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        = Wins
+
| label3        = Awards won
 
| data3        = {{If empty |{{{awards|}}} |<nowiki /> }}
 
| data3        = {{If empty |{{{awards|}}} |<nowiki /> }}
| rowcellstyle4 = background:#9FF;
+
| rowcellstyle4 = background:#FDD;
| label4        = Runner-up
+
| label4        = Nominations
| data4         = {{If empty |{{{runner-up|}}} |<nowiki /> }}
+
| data4        = {{If empty |{{{nominations|}}} |<nowiki /> }}
| rowcellstyle5 = background:#FDD;
 
| label5        = Nominations
 
| data5         = {{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

Template documentation[view] [edit] [history] [purge]

Template:Parameter names example

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

Brad Pitt awards and nominations
A Caucasian with light brown hair, blue eyes and a short brown beard
Pitt at 2008 premiere of Burn After Reading
Awards and nominations
Award
Wins
Nominations
Academy Awards 0 0
ARY Film Awards 0 0
BAFTA Awards 0 0
BFJA Awards 0 0
Berlin International Film Festival 0 0
Bollywood Movie Awards 0 0
Boston Society of Film Critics 0 0
Broadcast Film Critics Association Awards 0 0
Chicago Film Critics Association 0 0
Chicago International Film Festival 0 0
Emmy Awards 0 0
Filmfare Awards 0 0
Florida Film Critics Circle 0 0
Genie Awards 0 0
GIFA Awards 0 0
Golden Globe Awards 0 0
Hum Awards 0 0
IIFA Awards 0 0
Indian Film Festival of Melbourne 0 0
Independent Spirit Awards 0 0
Irish Film and Television Awards 0 0
Los Angeles Film Critics Association 0 0
London Film Critics' Circle 0 0
Lux Style Awards 0 0
MTV Movie & TV Awards 0 0
National Board of Review 0 0
National Film Awards 0 0
National Society of Film Critics 0 0
New York Film Critics Circle Awards 0 0
Nigar Awards 0 0
Online Film Critics Society 0 0
Pakistan Media Awards 0 0
People's Choice Awards 0 0
Saturn Awards 0 0
Screen Awards 0 0
Screen Actors Guild Awards 0 0
Star Guild Awards 0 0
Stardust Awards 0 0
Zee Cine Awards 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
Script error: No such module "If empty". 0 0
[[Category:Infobox templates|Template:Remove first word ]]
Totals
Awards wonScript error: No such module "If empty".
NominationsScript error: No such module "If empty".
References
[[Category:Infobox templates|Template:Remove first word]]

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

Tracking category

Template:Subpage other