Template:Infobox award: Difference between revisions
Jump to navigation
Jump to search
>Primefac sync with sandbox for template merger (TPER) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Infobox | <includeonly>{{#if:{{#invoke:is infobox in lead|main|[Ii]nfobox ?%a* [Aa]ward}}|{{#ifeq:{{#invoke:String|match|{{lc:{{PAGENAME}}}}|award}}|award||{{short description|Award|noreplace}}}}}}</includeonly>{{Infobox | ||
| bodyclass = vevent | | bodyclass = vevent | ||
Line 9: | Line 9: | ||
| labelstyle = width: 33%; | | labelstyle = width: 33%; | ||
| subheader = {{#if:{{{subheader|}}}|{{{subheader}}}|{{#if:{{{current_awards|}}}| | | subheader = {{#if:{{{subheader|}}}|{{{subheader}}}|{{#if:{{{current_awards|}}}|''Current: [[{{{current_awards|}}}]]''}}}} | ||
| 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}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue |rank=best |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|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}}}}}} | ||
| label1 = | | label1 = Native name | ||
| data1 = | | data1 = {{{native_name|}}} | ||
| label2 = | | label2 = Type | ||
| data2 = {{{ | | data2 = {{{type|}}} | ||
| label3 = | | label3 = Awarded for | ||
| data3 = {{{ | | data3 = {{{awarded_for|}}} | ||
| label4 = | | label4 = Description | ||
| data4 = {{{ | | data4 = {{{description|}}} | ||
| label5 = | | label5 = Sponsored by | ||
| data5 = {{ | | data5 = {{{sponsor|}}} | ||
| label6 = | | label6 = Date | ||
| data6 = { | | data6 = {{{date|}}} | ||
| label7 | | label7 = {{#if:{{{venue|}}}|Venue|{{#if:{{{location|}}}|Location|Site}}}} | ||
| data7 = {{#if:{{{venue|}}}|{{{venue}}}|{{#if:{{{location|}}}|{{{location}}}|{{{site|}}}}}}} | |||
| class7 = | | class7 = location | ||
| label8 = | | label8 = Country | ||
| data8 = {{{ | | data8 = {{#invoke:WikidataIB |getValue |P17 |name=country |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} | {{{country|}}} }} | ||
| class8 = location | |||
| label9 = Post-nominals | | label9 = Presented by | ||
| | | data9 = {{#invoke:WikidataIB |getValue |P1027 |name=presenter |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} | {{{presenter|}}} }} | ||
| class9 = attendee | |||
| label10 = Eligibility | |||
| data10 = {{{eligibility|}}} | |||
| label11 = Post-nominals | |||
| data11 = {{{post-nominals|}}} | |||
| label12 = Ribbon | |||
| data12 = {{{ribbon|}}} | |||
| label13 = Obverse | |||
| data13 = {{{obverse|}}} | |||
| label14 = Reverse | |||
| data14 = {{{reverse|}}} | |||
<!-- Film / television --> | <!-- Film / television --> | ||
| | | label15 = {{#if:{{{host|}}}|Hosted by|Hosted by}} | ||
| | | data15 = {{#if:{{{host|}}}|{{{host}}}|{{{hosts|}}}}} | ||
| | | class15 = attendee | ||
| | | label16 = Formerly called | ||
| | | data16 = {{{former name|}}} | ||
| | | label17 = Preshow host(s) | ||
| | | data17 = {{{preshow_host|}}} | ||
| | | class17 = attendee | ||
| | | label18 = Act(s) | ||
| | | data18 = {{{acts|}}} | ||
| | | class18 = attendee | ||
<!-- End Film / television --> | <!-- End Film / television --> | ||
<!-- Military --> | <!-- Military --> | ||
| | | label19 = Campaign(s) | ||
| | | data19 = {{{campaign|}}} | ||
| | | label20 = Motto | ||
| | | data20 = {{{motto|}}} | ||
| | | label21 = [[Campaign clasp|Clasps]] | ||
| | | data21 = {{{clasps|}}} | ||
<!-- End Military --> | <!-- End Military --> | ||
| | | label22 = Reward(s) | ||
| | | data22 = {{{reward|}}} | ||
| | | label23 = Status | ||
| | | data23 = {{{status|}}} | ||
| | | label24 = Established | ||
| | | data24 = {{{established|}}} | ||
| | | label25 = First awarded | ||
| | | data25 = {{if empty|{{{firstawarded|}}}|{{{year|}}}}} | ||
| | | label26 = Last awarded | ||
| | | data26 = {{if empty|{{{lastawarded|}}}|{{{year2|}}}}} | ||
| | | label27 = {{#if:{{{holder|}}} | ||
|{{#if:{{{holder_label|}}}|{{{holder_label}}}|Currently held by}} | |{{#if:{{{holder_label|}}}|{{{holder_label}}}|Currently held by}} | ||
|{{#if:{{{winner|}}} | |{{#if:{{{winner|}}} | ||
Line 94: | Line 109: | ||
}} | }} | ||
}} | }} | ||
| | | data27 = {{if empty|{{{holder|}}}|{{{winner|}}}|{{{winners|}}}}} | ||
| | | header28 = {{#if:{{Both|{{{award1_type|}}}|{{{award1_winner|}}}}}{{Both|{{{award2_type|}}}|{{{award2_winner|}}}}}{{Both|{{{award3_type|}}}|{{{award3_winner|}}}}}|Highlights}} | ||
| | | label29 = Most awards | ||
| | | data29 = {{{most_awards|{{{most_wins|}}}}}} | ||
| | | label30 = Most nominations | ||
| | | data30 = {{{most_nominations|}}} | ||
| | | label31 = Total | ||
| | | data31 = {{{total_awarded|}}} | ||
| | | label32 = Total awarded posthumously | ||
| | | data32 = {{{total_awarded_posthumously|}}} | ||
| | | label33 = Total recipients | ||
| | | data33 = {{{total_recipients|}}} | ||
| | | label34 = {{{award1_type}}} | ||
| | | data34 = {{#if:{{{award1_type|}}}|{{{award1_winner|}}}}} | ||
| | | label35 = {{{award2_type}}} | ||
| | | data35 = {{#if:{{{award2_type|}}}|{{{award2_winner|}}}}} | ||
| | | label36 = {{{award3_type}}} | ||
| | | data36 = {{#if:{{{award3_type|}}}|{{{award3_winner|}}}}} | ||
| | | label37 = {{{award4_type}}} | ||
| | | data37 = {{#if:{{{award4_type|}}}|{{{award4_winner|}}}}} | ||
| | | label38 = {{{award5_type}}} | ||
| | | data38 = {{#if:{{{award5_type|}}}|{{{award5_winner|}}}}} | ||
| | | label39 = Website | ||
| | | data39 = {{#invoke:WikidataIB |getValue |P856 |name=website |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|no}}} |noicon={{{noicon|}}} | {{{website|{{{url|}}}}}} }} | ||
<!-- Film / television block --> | <!-- Film / television block --> | ||
| | | header40 = {{#if:{{{network|}}}{{{network_list|}}}{{{runtime|}}}{{{ratings|}}}{{{producer|}}}{{{director|}}}|Television/radio coverage}} | ||
| | | label41 = {{#if:{{{network_list|}}}|Networks|Network}} | ||
| | | data41 = {{#if:{{{network_list|}}}|<nowiki />|{{{network|}}}}} | ||
| | | data42 = {{#if:{{{network_list|}}}|<div style="text-align: left; padding-left: 0.5em"> | ||
{{{network_list}}}</div>}} | {{{network_list}}}</div>}} | ||
| | | label43 = Runtime | ||
| | | data43 = {{{runtime|}}} | ||
| | | label44 = Viewership | ||
| | | data44 = {{{viewership|{{{ratings|}}}}}} | ||
| | | label45 = Produced by | ||
| | | data45 = {{{producer|}}} | ||
| | | label46 = Directed by | ||
| | | data46 = {{{director|}}} | ||
<!-- End Film / television block --> | <!-- End Film / television block --> | ||
| | | header47 = {{#if:{{{image2|}}}|{{Infobox | ||
| child = yes | decat = yes | | child = yes | decat = yes | ||
Line 160: | Line 175: | ||
}}}} | }}}} | ||
| | | header48 = {{#if:{{{higher|}}}{{{same|}}}{{{lower|}}}{{{individual|}}}|{{#if:{{{precedence_label|}}}|{{{precedence_label}}}|Precedence}}}} | ||
| | | label49 = Next (higher) | ||
| | | data49 = {{{higher|}}} | ||
| | | label50 = Equivalent | ||
| | | data50 = {{{same|}}} | ||
| | | label51 = Individual<br />equivalent | ||
| | | data51 = {{{individual|}}} | ||
| | | label52 = Next (lower) | ||
| | | data52 = {{{lower|}}} | ||
| | | label53 = Related | ||
| | | data53 = {{{related|}}} | ||
| below = | | below = {{#if:{{{previous|}}}{{{main|}}}{{{next|}}}|{{flatlist}} | ||
{{#if:{{{previous|}}}|* ← {{{previous}}}}} | {{#if:{{{previous|}}}|* ← {{{previous}}}}} | ||
{{#if:{{{main|}}}|* {{{main}}}}} | {{#if:{{{main|}}}|* {{{main}}}}} | ||
{{#if:{{{next|}}}|* {{{next}}} →}} | {{#if:{{{next|}}}|* {{{next}}} →}} | ||
| belowclass = | {{endflatlist}}}} | ||
| belowclass = noprint nowrap | |||
| belowstyle = border-top: 1px solid #000; padding-top: 5px; font-weight: bold; | | belowstyle = border-top: 1px solid #000; padding-top: 5px; font-weight: bold; | ||
| decat = {{#if:{{{previous|}}}{{{main|}}}{{{next|}}}|yes|no}} | | 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 | image2_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> | }}{{#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 | image2_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 | awarded_for }}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |