Difference between pages "Template:Infobox award" and "Template:Infobox award/sandbox"
(Difference between pages)
Jump to navigation
Jump to search
imported>Primefac (adding a native name (TPER)) |
imported>Facu-el Millo (→top) |
||
Line 14: | Line 14: | ||
| caption = {{{image caption|{{{caption|{{{image_caption|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}}}}}} | | caption = {{{image caption|{{{caption|{{{image_caption|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}}}}}} | ||
− | | label1 = | + | | label1 = Type |
− | | data1 = {{{ | + | | data1 = {{{type|}}} |
− | | label2 = | + | | label2 = Awarded for |
− | | data2 = | + | | data2 = {{{description|}}} |
− | | label3 = | + | | label3 = Sponsored by |
− | | data3 = {{{ | + | | data3 = {{{sponsor|}}} |
− | | label4 = | + | | label4 = Date |
− | | data4 = {{{ | + | | data4 = {{{date|}}} |
− | | label5 = | + | | label5 = {{#if:{{{venue|}}}|Venue|{{#if:{{{location|}}}|Location|Site}}}} |
− | | data5 = {{{ | + | | data5 = {{#if:{{{venue|}}}|{{{venue}}}|{{#if:{{{location|}}}|{{{location}}}|{{{site|}}}}}}} |
+ | | class5 = location | ||
− | | label6 = | + | | label6 = Country |
− | | data6 = {{{ | + | | data6 = {{#invoke:WikidataIB |getValue |P17 |name=country |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} | {{{country|}}} }} |
+ | | class6 = location | ||
− | | label7 = {{# | + | | label7 = Presented by |
− | | | + | | data7 = {{#invoke:WikidataIB |getValue |P1027 |name=presenter |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} | {{{presenter|}}} }} |
− | | class7 = | + | | class7 = attendee |
− | | label8 = | + | | label8 = Eligibility |
− | | data8 = { | + | | data8 = {{{eligibility|}}} |
− | |||
− | | label9 | + | | label9 = Post-nominals |
− | + | | data9 = {{{post-nominals|}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- Film / television --> | <!-- Film / television --> | ||
− | | | + | | label20 = {{#if:{{{host|}}}|Hosted by|Hosted by}} |
− | | | + | | data20 = {{#if:{{{host|}}}|{{{host}}}|{{{hosts|}}}}} |
− | | | + | | class20 = attendee |
− | | | + | | label21 = Formerly called |
− | | | + | | data21 = {{{former name|}}} |
− | | | + | | label22 = Preshow host(s) |
− | | | + | | data22 = {{{preshow_host|}}} |
− | | | + | | class22 = attendee |
− | | | + | | label23 = Act(s) |
− | | | + | | data23 = {{{acts|}}} |
− | | | + | | class23 = attendee |
<!-- End Film / television --> | <!-- End Film / television --> | ||
<!-- Military --> | <!-- Military --> | ||
− | | | + | | label30 = Campaign(s) |
− | | | + | | data30 = {{{campaign|}}} |
− | | | + | | label31 = Motto |
− | | | + | | data31 = {{{motto|}}} |
− | | | + | | label32 = [[Campaign clasp|Clasps]] |
− | | | + | | data32 = {{{clasps|}}} |
<!-- End Military --> | <!-- End Military --> | ||
− | | | + | | label40 = Reward(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|}}}}} |
− | | | + | | label45 = {{#if:{{{holder|}}} |
|{{#if:{{{holder_label|}}}|{{{holder_label}}}|Currently held by}} | |{{#if:{{{holder_label|}}}|{{{holder_label}}}|Currently held by}} | ||
|{{#if:{{{winner|}}} | |{{#if:{{{winner|}}} | ||
Line 109: | Line 94: | ||
}} | }} | ||
}} | }} | ||
− | | | + | | data45 = {{if empty|{{{holder|}}}|{{{winner|}}}|{{{winners|}}}}} |
− | | | + | | header50 = {{#if:{{Both|{{{award1_type|}}}|{{{award1_winner|}}}}}{{Both|{{{award2_type|}}}|{{{award2_winner|}}}}}{{Both|{{{award3_type|}}}|{{{award3_winner|}}}}}|Highlights}} |
− | | | + | | label51 = Most awards |
− | | | + | | data51 = {{{most_awards|{{{most_wins|}}}}}} |
− | | | + | | label52 = Most nominations |
− | | | + | | data52 = {{{most_nominations|}}} |
− | | | + | | label53 = Total |
− | | | + | | data53 = {{{total_awarded|}}} |
− | | | + | | label54 = Total awarded posthumously |
− | | | + | | data54 = {{{total_awarded_posthumously|}}} |
− | | | + | | label55 = Total recipients |
− | | | + | | data55 = {{{total_recipients|}}} |
− | | | + | | label56 = {{{award1_type}}} |
− | | | + | | data56 = {{#if:{{{award1_type|}}}|{{{award1_winner|}}}}} |
− | | | + | | label57 = {{{award2_type}}} |
− | | | + | | data57 = {{#if:{{{award2_type|}}}|{{{award2_winner|}}}}} |
− | | | + | | label58 = {{{award3_type}}} |
− | | | + | | data58 = {{#if:{{{award3_type|}}}|{{{award3_winner|}}}}} |
− | | | + | | label59 = {{{award4_type}}} |
− | | | + | | data59 = {{#if:{{{award4_type|}}}|{{{award4_winner|}}}}} |
− | | | + | | label60 = {{{award5_type}}} |
− | | | + | | data60 = {{#if:{{{award5_type|}}}|{{{award5_winner|}}}}} |
− | | | + | | label61 = Website |
− | | | + | | data61 = {{#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 --> | ||
− | | | + | | header70 = {{#if:{{{network|}}}{{{network_list|}}}{{{runtime|}}}{{{ratings|}}}{{{producer|}}}{{{director|}}}|Television/radio coverage}} |
− | | | + | | label71 = {{#if:{{{network_list|}}}|Networks|Network}} |
− | | | + | | data71 = {{#if:{{{network_list|}}}|<nowiki />|{{{network|}}}}} |
− | | | + | | data72 = {{#if:{{{network_list|}}}|<div style="text-align: left; padding-left: 0.5em"> |
{{{network_list}}}</div>}} | {{{network_list}}}</div>}} | ||
− | | | + | | label74 = Runtime |
− | | | + | | data74 = {{{runtime|}}} |
− | | | + | | label75 = Viewership |
− | | | + | | data75 = {{{viewership|{{{ratings|}}}}}} |
− | | | + | | label76 = Produced by |
− | | | + | | data76 = {{{producer|}}} |
− | | | + | | label77 = Directed by |
− | | | + | | data77 = {{{director|}}} |
<!-- End Film / television block --> | <!-- End Film / television block --> | ||
− | | | + | | header80 = {{#if:{{{image2|}}}|{{Infobox |
| child = yes | decat = yes | | child = yes | decat = yes | ||
Line 175: | Line 160: | ||
}}}} | }}}} | ||
− | | | + | | header90 = {{#if:{{{higher|}}}{{{same|}}}{{{lower|}}}{{{individual|}}}|{{#if:{{{precedence_label|}}}|{{{precedence_label}}}|Precedence}}}} |
− | | | + | | label91 = Next (higher) |
− | | | + | | data91 = {{{higher|}}} |
− | | | + | | label92 = Equivalent |
− | | | + | | data92 = {{{same|}}} |
− | | | + | | label93 = Individual<br />equivalent |
− | | | + | | data93 = {{{individual|}}} |
− | | | + | | label94 = Next (lower) |
− | | | + | | data94 = {{{lower|}}} |
− | | | + | | label95 = Related |
− | | | + | | data95 = {{{related|}}} |
| below = | | below = | ||
Line 199: | Line 184: | ||
| 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 | + | }}{{#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> |
{{documentation}}</noinclude> | {{documentation}}</noinclude> |