Template:Infobox award: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 11: Line 11:
| subheader  = {{#if:{{{subheader|}}}|{{{subheader}}}|{{#if:{{{current_awards|}}}|[[File:Ambox current red.svg|40px|alt=]] ''[[{{{current_awards|}}}]]''}}}}
| subheader  = {{#if:{{{subheader|}}}|{{{subheader}}}|{{#if:{{{current_awards|}}}|[[File:Ambox current red.svg|40px|alt=]] ''[[{{{current_awards|}}}]]''}}}}


| image     = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_name|{{{Image_Name|}}}}}}}}|size={{{image_size|{{{Imagesize|}}}}}}|sizedefault=frameless|upright={{{image_upright|1.1}}}|thumbtime={{{thumbtime|{{{Thumb_Time|}}}}}}|alt={{{alt|{{{image_alt|{{{Image_Alt|}}}}}}}}}}}
| image       = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue |P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes|{{{image|}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
 
| caption    = {{{image caption|{{{caption|{{{image_caption|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}}}}}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}


| label1      = Awarded for
| label1      = Awarded for
Line 28: Line 27:
| class4      = location
| class4      = location


| label5      = {{#if:{{{host|}}}|Hosted by|Hosted by}}
| label5      = Country
| data5      = {{#if:{{{host|}}}|{{{host}}}|{{{hosts|}}}}}
| data5      = {{#invoke:WikidataIB |getValue |P17 |name=country |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} | {{{country|}}} }}
| class5      = attendee
| class5      = location


| label6      = Formerly called
| label6      = Presented by
| data6      = {{{former name|}}}
| data6      = {{#invoke:WikidataIB |getValue |P1027 |name=presenter |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} | {{{presenter|}}} }}
| class6      = attendee


| label7      = Preshow host(s)
| label7      = {{#if:{{{host|}}}|Hosted by|Hosted by}}
| data7      = {{{preshow_host|}}}
| data7      = {{#if:{{{host|}}}|{{{host}}}|{{{hosts|}}}}}
| class7      = attendee
| class7      = attendee


| label8    = Act(s)
| label8     = Formerly called
| data8     = {{{acts|}}}
| data8      = {{{former name|}}}
| class8     = attendee
 
| label9      = Preshow host(s)
| data9      = {{{preshow_host|}}}
| class9      = attendee
 
| label10     = Act(s)
| data10     = {{{acts|}}}
| class10     = attendee


| label9     = Reward(s)
| label11     = Reward(s)
| data9     = {{{reward|}}}
| data11     = {{{reward|}}}


| label10     = First awarded
| label12     = First awarded
| data10     = {{if empty|{{{firstawarded|}}}|{{{year|}}}}}
| data12     = {{if empty|{{{firstawarded|}}}|{{{year|}}}}}


| label11     = Last awarded
| label13     = Last awarded
| data11     = {{if empty|{{{lastawarded|}}}|{{{year2|}}}}}
| data13     = {{if empty|{{{lastawarded|}}}|{{{year2|}}}}}


| label12     = {{#if:{{{holder|}}}
| label14     = {{#if:{{{holder|}}}
   |{{#if:{{{holder_label|}}}|{{{holder_label}}}|Currently held by}}
   |{{#if:{{{holder_label|}}}|{{{holder_label}}}|Currently held by}}
   |{{#if:{{{winner|}}}
   |{{#if:{{{winner|}}}
Line 59: Line 66:
     }}
     }}
   }}
   }}
| data12     = {{if empty|{{{holder|}}}|{{{winner|}}}|{{{winners|}}}}}
| data14     = {{if empty|{{{holder|}}}|{{{winner|}}}|{{{winners|}}}}}
 
| header15    = {{#if:{{Both|{{{award1_type|}}}|{{{award1_winner|}}}}}{{Both|{{{award2_type|}}}|{{{award2_winner|}}}}}{{Both|{{{award3_type|}}}|{{{award3_winner|}}}}}|Highlights}}


| header13    = {{#if:{{Both|{{{award1_type|}}}|{{{award1_winner|}}}}}{{Both|{{{award2_type|}}}|{{{award2_winner|}}}}}{{Both|{{{award3_type|}}}|{{{award3_winner|}}}}}|Highlights}}
| label16    = Most awards
| data16      = {{{most_awards|{{{most_wins|}}}}}}


| label14     = Most awards
| label17     = Most nominations
| data14     = {{{most_awards|{{{most_wins|}}}}}}
| data17     = {{{most_nominations|}}}


| label15     = Most nominations
| label18     = {{{award1_type}}}
| data15     = {{{most_nominations|}}}
| data18     = {{#if:{{{award1_type|}}}|{{{award1_winner|}}}}}


| label16     = {{{award1_type}}}
| label19     = {{{award2_type}}}
| data16     = {{#if:{{{award1_type|}}}|{{{award1_winner|}}}}}
| data19     = {{#if:{{{award2_type|}}}|{{{award2_winner|}}}}}


| label17     = {{{award2_type}}}
| label20     = {{{award3_type}}}
| data17     = {{#if:{{{award2_type|}}}|{{{award2_winner|}}}}}
| data20     = {{#if:{{{award3_type|}}}|{{{award3_winner|}}}}}


| label18     = {{{award3_type}}}
| label21     = {{{award4_type}}}
| data18     = {{#if:{{{award3_type|}}}|{{{award3_winner|}}}}}
| data21     = {{#if:{{{award4_type|}}}|{{{award4_winner|}}}}}


| label19     = {{{award4_type}}}
| label22     = {{{award5_type}}}
| data19     = {{#if:{{{award4_type|}}}|{{{award4_winner|}}}}}
| data22     = {{#if:{{{award5_type|}}}|{{{award5_winner|}}}}}


| label20     = {{{award5_type}}}
| label23     = Website
| data20      = {{#if:{{{award5_type|}}}|{{{award5_winner|}}}}}
| data23      = {{#invoke:WikidataIB |getValue |P856 |name=website |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|no}}} |noicon={{{noicon|}}} | {{{website|{{{url|}}}}}} }}


| header21   = {{#if:{{{network|}}}{{{network_list|}}}{{{runtime|}}}{{{ratings|}}}{{{producer|}}}{{{director|}}}|Television/radio coverage}}
| header24   = {{#if:{{{network|}}}{{{network_list|}}}{{{runtime|}}}{{{ratings|}}}{{{producer|}}}{{{director|}}}|Television/radio coverage}}


| label22     = {{#if:{{{network_list|}}}|Networks|Network}}
| label25     = {{#if:{{{network_list|}}}|Networks|Network}}
| data22     = {{#if:{{{network_list|}}}|<nowiki />|{{{network|}}}}}
| data25     = {{#if:{{{network_list|}}}|<nowiki />|{{{network|}}}}}


| data23     = {{#if:{{{network_list|}}}|<div style="text-align: left; padding-left: 0.5em">
| data26     = {{#if:{{{network_list|}}}|<div style="text-align: left; padding-left: 0.5em">
{{{network_list}}}</div>}}
{{{network_list}}}</div>}}


| label24     = Runtime
| label27     = Runtime
| data24     = {{{runtime|}}}
| data27     = {{{runtime|}}}


| label25     = Viewership
| label28     = Viewership
| data25     = {{{viewership|{{{ratings|}}}}}}
| data28     = {{{viewership|{{{ratings|}}}}}}


| label26     = Produced by
| label29     = Produced by
| data26     = {{{producer|}}}
| data29     = {{{producer|}}}


| label27     = Directed by
| label30     = Directed by
| data27     = {{{director|}}}
| data30     = {{{director|}}}


| header32   = {{#if:{{{image2|}}}|{{Infobox
| header35   = {{#if:{{{image2|}}}|{{Infobox
  | child = yes | decat = yes
  | child = yes | decat = yes


Line 113: Line 123:
| header36 = {{#if:{{{higher|}}}{{{same|}}}{{{lower|}}}{{{individual|}}}|{{#if:{{{precedence_label|}}}|{{{precedence_label}}}|Precedence}}}}
| header36 = {{#if:{{{higher|}}}{{{same|}}}{{{lower|}}}{{{individual|}}}|{{#if:{{{precedence_label|}}}|{{{precedence_label}}}|Precedence}}}}


| label28 = Next&nbsp;(higher)
| label31 = Next&nbsp;(higher)
| data28 =  {{{higher|}}}
| data31 =  {{{higher|}}}


| label29 = Equivalent
| label32 = Equivalent
| data29 =  {{{same|}}}
| data32 =  {{{same|}}}


| label30 = Individual<br />equivalent
| label33 = Individual<br />equivalent
| data30 =  {{{individual|}}}
| data33 =  {{{individual|}}}


| label31 = Next&nbsp;(lower)
| label34 = Next&nbsp;(lower)
| data31 =  {{{lower|}}}
| data34 =  {{{lower|}}}


| label32 = Related
| label35 = Related
| data32 =  {{{related|}}}
| data35 =  {{{related|}}}