Template:Infobox award: Difference between revisions

m
1 revision imported
No edit summary
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 2:
| bodyclass = vevent
 
| above = {{#if: empty|{{{name|}}}|{{{nameawardname|}}}|{{PAGENAMEBASE}}}}
| aboveclass = summary
| abovestyle = background-color: #eedd82;
Line 9:
| labelstyle = width: 33%;
 
| subheader = {{#if:{{{subheader|}}}|{{{subheader}}}|{{#if:{{{current_awards|}}}|[[File:Gnome{{Ambox globe current event.svgred}}|40px|link=|alt=]] ''[[{{{current_awards|}}}]]''}}}}
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataWikidataIB |getValue |P18 |name=image |qid={{{imageqid|FETCH_WIKIDATA}}} |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|{{#invoke:Wikidata{caption|claim|P18|qualifier=P2096{{{image_caption|{{#ifeqinvoke:{{{imageWikidata|getImageLegend|FETCH_WIKIDATA}}}|FETCH_WIKIDATA|FETCH_WIKIDATA}}}}}}}}
 
| label1 = Awarded forType
| data1 = {{{descriptiontype|}}}
 
| label2 = SponsoredAwarded byfor
| data2 = {{{sponsordescription|}}}
 
| label3 = DateSponsored by
| data3 = {{{datesponsor|}}}
 
| label5label4 = CountryDate
| label4 = {{#if:{{{venue|}}}|Venue|{{#if:{{{location|}}}|Location|Site}}}}
| data4 = {{#if:{{{venue|}}}|{{{venue}}}|{{#if:{{{location|}}}|{{{location}}}|{{{sitedate|}}}}}}}
| class4 = location
 
| label4label5 = {{#if:{{{venue|}}}|Venue|{{#if:{{{location|}}}|Location|Site}}}}
| label5 = Country
| data5 = {{#invokeif:Wikidata{{{venue|getValue}}}|P17{{{venue}}}|{{#if:{country{{location|FETCH_WIKIDATA}}} |{{{location}}}|{{{site|}}}}}}}
| class5 = location
 
| label6 = Presented byCountry
| data6 = {{#invoke:WikidataIB |getValue |P17 |name=country |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} | {{{country|}}} }}
| data6 = {{#invoke:Wikidata|getValue|P1027|{{{presenter|FETCH_WIKIDATA}}} }}
| class6 = attendeelocation
 
| label7 = {{#if:{{{host|}}}|HostedPresented by|Hosted by}}
| data7 = {{#invoke:WikidataIB |getValue |P1027 |name=presenter |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} | {{{presenter|}}} }}
| data7 = {{#if:{{{host|}}}|{{{host}}}|{{{hosts|}}}}}
| class7 = attendee
 
| label8 = Formerly calledEligibility
| data8 = {{{former nameeligibility|}}}
 
| label9 = Preshow host(s)Post-nominals
| data9 = {{{preshow_hostpost-nominals|}}}
| class9 = attendee
 
<!-- Film / television -->
| label10 = Act(s)
| data10label20 = {{#if:{acts{{host|}}}|Hosted by|Hosted by}}
| data7data20 = {{#if:{{{host|}}}|{{{host}}}|{{{hosts|}}}}}
| class10 = attendee
| class9class20 = attendee
 
| label11label21 = Reward(s)Formerly called
| data11data21 = {{{rewardformer name|}}}
 
| label12label22 = FirstPreshow awardedhost(s)
| data12data22 = {{{yearpreshow_host|}}}
| class10class22 = attendee
 
| label13label23 = Last= awardedAct(s)
| data13data23 = {{{year2acts|}}}
| class23 = attendee
<!-- End Film / television -->
 
<!-- Military -->
| label14 = {{#if:{{{holder|}}}
| label30 = Campaign(s)
| data30 = {{{campaign|}}}
 
| label31 = Motto
| data31 = {{{motto|}}}
 
| label32 = {{W|Campaign clasp|Clasps}}
| data32 = {{{clasps|}}}
<!-- End Military -->
 
| label10label40 = ActReward(s)
| data40 = {{{reward|}}}
 
| label41 = Status
| data41 = {{{status|}}}
 
| label42 = Established
| data42 = {{{established|}}}
 
| label43 = First awarded
| data43 = {{if empty|{{{firstawarded|}}}|{{{year|}}}}}
 
| label44 = Last awarded
| data44 = {{if empty|{{{lastawarded|}}}|{{{year2|}}}}}
 
| label14label45 = {{#if:{{{holder|}}}
|{{#if:{{{holder_label|}}}|{{{holder_label}}}|Currently held by}}
|{{#if:{{{winner|}}}
Line 66 ⟶ 94:
}}
}}
| data14data45 = {{ifemptyif empty|{{{holder|}}}|{{{winner|}}}|{{{winners|}}}}}
 
| header15header50 = {{#if:{{Both|{{{award1_type|}}}|{{{award1_winner|}}}}}{{Both|{{{award2_type|}}}|{{{award2_winner|}}}}}{{Both|{{{award3_type|}}}|{{{award3_winner|}}}}}|Highlights}}
 
| label16label51 = Most awards
| data16data51 = {{{most_awards|{{{most_wins|}}}}}}
 
| label17label52 = Most nominations
| data17 data52 = {{{most_nominations|}}}
 
| label18label53 = {{{award1_type}}}Total
| data18data53 = {{#if:{{{award1_type|}}}|{{{award1_winnertotal_awarded|}}}}}
 
| label19label54 = {{{award2_type}}}Total awarded posthumously
| data19data54 = {{#if:{{{award2_type|}}}|{{{award2_winnertotal_awarded_posthumously|}}}}}
 
| label20label55 = {{{award3_type}}}Total recipients
| data20data55 = {{#if:{{{award3_type|}}}|{{{award3_winnertotal_recipients|}}}}}
 
| label21label56 = {{{award4_typeaward1_type}}}
| data21data56 = {{#if:{{{award4_typeaward1_type|}}}|{{{award4_winneraward1_winner|}}}}}
 
| label22label57 = {{{award5_typeaward2_type}}}
| data22data57 = {{#if:{{{award5_typeaward2_type|}}}|{{{award5_winneraward2_winner|}}}}}
 
| label23label58 = Official website{{{award3_type}}}
| data23data58 = {{{website|{{#if:{{#property:P856{award3_type|}}}|{{Url|1={{#invoke:Wikidataaward3_winner|getValue|P856|FETCH_WIKIDATA}} }} }} }}}
 
| label59 = {{{award4_type}}}
| header24 = {{#if:{{{network|}}}{{{network_list|}}}{{{runtime|}}}{{{ratings|}}}{{{producer|}}}{{{director|}}}|Television/radio coverage}}
| data59 = {{#if:{{{award4_type|}}}|{{{award4_winner|}}}}}
 
| label25label60 = {{#if:{{{network_list|}}award5_type}|Networks|Network}}
| data25data60 = {{#if:{{{network_listaward5_type|}}}|<nowiki />|{{{networkaward5_winner|}}}}}
 
| label61 = Website
| data26 = {{#if:{{{network_list|}}}|<div style="text-align: left; padding-left: 0.5em">
| data61 = {{#invoke:WikidataIB |getValue |P856 |name=website |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|no}}} |noicon={{{noicon|}}} | {{{website|{{{url|}}}}}} }}
 
<!-- Film / television block -->
| header24header70 = {{#if:{{{network|}}}{{{network_list|}}}{{{runtime|}}}{{{ratings|}}}{{{producer|}}}{{{director|}}}|Television/radio coverage}}
 
| label71 = {{#if:{{{network_list|}}}|Networks|Network}}
| data71 = {{#if:{{{network_list|}}}|<nowiki />|{{{network|}}}}}
 
| data26data72 = {{#if:{{{network_list|}}}|<div style="text-align: left; padding-left: 0.5em">
{{{network_list}}}</div>}}
 
| label27label74 = Runtime
| data27data74 = {{{runtime|}}}
 
| label28label75 = Viewership
| data28data75 = {{{viewership|{{{ratings|}}}}}}
 
| label29label76 = Produced by
| data29data76 = {{{producer|}}}
 
| label30label77 = Directed by
| data30data77 = {{{director|}}}
<!-- End Film / television block -->
 
| header35header80 = {{#if:{{{image2|}}}|{{Infobox
| child = yes | decat = yes
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image2sizeimage2_size|}}}|sizedefault=frameless|upright={{{image_upright2|1}}}|alt={{{alt2|}}}}}
| caption = {{{caption2|}}}
}}}}
 
| header90 = {{#if:{{{higher|}}}{{{same|}}}{{{lower|}}}{{{individual|}}}|{{#if:{{{precedence_label|}}}|{{{precedence_label}}}|Precedence}}}}
 
| label91 = Next&nbsp;(higher)
| data91 = {{{higher|}}}
 
| label92 = Equivalent
| data92 = {{{same|}}}
 
| label93 = Individual<br />equivalent
| data93 = {{{individual|}}}
 
| label94 = Next&nbsp;(lower)
| data94 = {{{lower|}}}
 
| label95 = Related
| data95 = {{{related|}}}
 
| below =
Line 128 ⟶ 183:
| belowclass = hlist noprint nowraplinks
| belowstyle = border-top: 1px solid #000; padding-top: 5px; font-weight: bold;
| decat = {{#if:{{{previous|}}}{{{main|}}}{{{next|}}}|yes|no}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox award with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox award]] with unknown parameter "_VALUE_"|ignoreblank=y| acts | alt | alt2 | award1_type | award1_winner | award2_type | award2_winner | award3_type | award3_winner | award4_type | award4_winner | award5_type | award5_winner | awardname | caption | caption2 | country | current_awards | date | description | director | fetchwikidata | firstawarded | former name | higher | holder | holder_label | host | hosts | image | image caption | image size | image_caption | image_size | image_upright | image_upright2 | image2 | image2sizeimage2_size | imagesize | individual | lastawarded | location | lower | main | most_awards | most_nominations | most_wins | name | network | network_list | next | noicon | onlysourced | precedence_label | presenter | preshow_host | previous | producer | qid | ratings | related | reward | runtime | same | site | sponsor | subheader | suppressfields | url | venue | viewership | website | winner | winners | year | year2 | type | eligibility | campaign | status | description | motto | clasps | post-nominals | established | total_awarded | total_awarded_posthumously | total_recipients }}<noinclude>
{{Documentationdocumentation}}</noinclude>