Difference between revisions of "Template:Infobox film/Wikidata"
Jump to navigation
Jump to search
imported>Escudero |
imported>Pppery (Clean up) |
||
| (14 intermediate revisions by 4 users not shown) | |||
| Line 6: | Line 6: | ||
| titleclass = summary | | titleclass = summary | ||
| titlestyle = font-size:110%;font-style:italic; | | titlestyle = font-size:110%;font-style:italic; | ||
| − | | title = {{{name| {{#if:{{#property: | + | | title = {{#if:{{#property:p154}}| {{{name| {{#if:{{#property:p1476}}|{{#property:p1476}}|{{PAGENAME}}}} }}} | }} |
| + | |||
| + | | aboveclass = summary | ||
| + | | abovestyle = font-size:110%;font-style:italic; | ||
| + | | above = {{#if:{{#property:p154}}| | {{{name| {{#if:{{#property:p1476}}|{{#property:p1476}}|{{PAGENAME}}}} }}} }} | ||
| + | |||
| + | | imagestyle = | ||
| image = {{#if:{{#property:p154}}| {{#invoke:InfoboxImage|InfoboxImage |image={{#invoke:Wikidata|getRawValue|P154|FETCH_WIKIDATA}} |size={{{image_size|{{{image size|}}}}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |border={{{border|no}}} }} }} | | image = {{#if:{{#property:p154}}| {{#invoke:InfoboxImage|InfoboxImage |image={{#invoke:Wikidata|getRawValue|P154|FETCH_WIKIDATA}} |size={{{image_size|{{{image size|}}}}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |border={{{border|no}}} }} }} | ||
| Line 22: | Line 28: | ||
| label2 = Directed by | | label2 = Directed by | ||
| − | | data2 = {{plainlist|{{#invoke: | + | | data2 = {{plainlist|{{#invoke:String|replace|{{#invoke:Wikidata|getValue|P57|{{{director|{{{directors|FETCH_WIKIDATA}}}}}}}}|([^,]*),?|<li>%1</li>|plain=false}}}} |
| label3 = Produced by | | label3 = Produced by | ||
| − | | data3 = {{plainlist|{{#invoke: | + | | data3 = <ul>{{plainlist|{{#invoke:String|replace|{{#invoke:Wikidata|getValue|P162|{{{producer|{{{producers|FETCH_WIKIDATA}}}}}}}}|([^,]*),?|<li>%1</li>|plain=false}}}}</ul> |
| label4 = Written by | | label4 = Written by | ||
| Line 31: | Line 37: | ||
| label5 = Screenplay by | | label5 = Screenplay by | ||
| − | | data5 = {{plainlist|{{#invoke: | + | | data5 = <ul>{{plainlist|{{#invoke:String|replace|{{#invoke:Wikidata|getValue|P58|{{{screenplay|FETCH_WIKIDATA}}}}}|([^,]*),?|<li>%1</li>|plain=false}}}}</ul> |
| label6 = Story by | | label6 = Story by | ||
| Line 40: | Line 46: | ||
| label8 = Starring | | label8 = Starring | ||
| − | | data8 = {{plainlist|{{#invoke: | + | | data8 = <ul>{{plainlist|{{#invoke:String|replace|{{#invoke:Wikidata|getValue|P161|{{{starring|FETCH_WIKIDATA}}} }} {{#invoke:Wikidata|getValue|P725|{{{starring|FETCH_WIKIDATA}}}}}|([^,]*),?|<li>%1</li>|plain=false}} }}</ul> |
| label9 = Narrated by | | label9 = Narrated by | ||
| data9 = {{#invoke:Wikidata|getValue|P2438|{{{narrator|{{{narrators|FETCH_WIKIDATA}}}}}} }} | | data9 = {{#invoke:Wikidata|getValue|P2438|{{{narrator|{{{narrators|FETCH_WIKIDATA}}}}}} }} | ||
| Line 51: | Line 57: | ||
| label12 = Edited by | | label12 = Edited by | ||
| − | | data12 = {{plainlist|{{#invoke: | + | | data12 = <ul>{{plainlist|{{#invoke:String|replace|{{#invoke:Wikidata|getValue|P1040|{{{editing|FETCH_WIKIDATA}}}}}|([^,]*),?|<li>%1</li>|plain=false}}}}</ul> |
| label13 = {{longitem |Production<br/>compan{{#if:{{{production companies|}}}|ies|y}} }} | | label13 = {{longitem |Production<br/>compan{{#if:{{{production companies|}}}|ies|y}} }} | ||
| − | | data13 = {{# | + | | data13 = {{plainlist|{{#invoke:String|replace|{{#invoke:Wikidata|getValue|P272|{{{production companies|{{{studio|FETCH_WIKIDATA}}}}}}}}|([^,]*),?|<li>%1</li>|plain=false}}}} |
| label14 = Distributed by | | label14 = Distributed by | ||
| Line 63: | Line 69: | ||
| label16 = {{longitem|style=white-space:normal; |Running time}} | | label16 = {{longitem|style=white-space:normal; |Running time}} | ||
| − | | data16 = {{#invoke:Wikidata|getValue|P2047|{{{runtime| | + | | data16 = {{#if:{{#property:p2047}}| {{plural|{{first word|{{#invoke:Wikidata|getValue|P2047|FETCH_WIKIDATA}}}}|{{remove first word|{{#invoke:Wikidata|getValue|P2047|FETCH_WIKIDATA}}}}}} | {{{runtime|}}} }} |
| + | |||
| label17 = Country | | label17 = Country | ||
| Line 77: | Line 84: | ||
| label19 = Budget | | label19 = Budget | ||
| − | | data19 = {{#invoke:Wikidata|getValue| | + | | data19 = {{#if:{{#property:p2130}}| {{plural|{{first word|{{#invoke:Wikidata|getValue|P2130|FETCH_WIKIDATA}}}}|{{remove first word|{{#invoke:Wikidata|getValue|P2130|FETCH_WIKIDATA}}}}}} | {{{budget|}}} }} |
| + | |||
| + | |||
| label20 = Box office | | label20 = Box office | ||
| data20 = {{{gross|}}} | | data20 = {{{gross|}}} | ||
| − | | | + | | below = <div style="text-align: right;">[[[d:{{#invoke:Wikidata|pageId}}|edit on Wikidata]]]</div> |
| − | | | + | | belowclass = noprint |
}} | }} | ||
Latest revision as of 18:25, 27 May 2019
| Script error: No such module "Wikidata". | |
| Script error: No such module "Wikidata". | |
| Directed by | |
|---|---|
| Produced by |
|
| Screenplay by |
|
| Starring |
|
| Narrated by | Script error: No such module "Wikidata". |
| Music by | Script error: No such module "Wikidata". |
| Cinematography | Script error: No such module "Wikidata". |
| Edited by |
|
Production company | |
| Distributed by | Script error: No such module "Wikidata". |
Running time | Template:Plural |
| Budget | Template:Plural |