Template:Infobox Film: Difference between revisions

From Marvel Cinematic Universe Wiki
Content deleted Content added
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 4: Line 4:
|<!--
|<!--
-->{{#ifeq: {{{spoiler|}}}
-->{{#ifeq: {{{spoiler|}}}
| vrai
| true
| [[Category:Spoilers]]
| [[Category:Spoilers]]
|<!--
|<!--
Line 13: Line 13:
}}
}}
}}{{#ifeq:{{{spoiler|}}}
}}{{#ifeq:{{{spoiler|}}}
| vrai
| true
| {{spoiler}}
| {{spoiler}}
|<!--
|<!--
-->}}<!--
-->}}<!--
-->}}</div>{{Infobox/Startbox
-->}}</div>{{Infobox/Startbox
| class = cinema
| class =
| width =
| width =
| icon =
| icon = cinema
| background =
| background =
| color =
| color =
| border-color =
| border-color =
| text = {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
| text = {{#ifeq: {{lc: {{{italic title|}}} }} | no | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} | {{#if: {{{name|}}} | ''{{{name}}}'' | ''{{PAGENAME}}'' }} }}
}}
}}
{{Infobox/Image
{{Infobox/Image
| image = {{#if: {{{image|}}} | {{{image}}} | Sin foto.svg }}
| image = {{#if: {{{image|}}} | {{{image}}} | Sin foto.svg }}
| alt =
| alt =
| upright = 1.35
| upright = 0.9
| bordure =
| bordure =
| legend = {{{caption|}}}
| legend = {{{caption|}}}
Line 46: Line 46:
| {{#ask: [[Category:Persons]] [[Director of::{{FULLPAGENAME}}]] | format = list | sep = <br/>}}
| {{#ask: [[Category:Persons]] [[Director of::{{FULLPAGENAME}}]] | format = list | sep = <br/>}}
| if = {{#ask: [[Category:Persons]] [[Director of::{{FULLPAGENAME}}]]}}
| if = {{#ask: [[Category:Persons]] [[Director of::{{FULLPAGENAME}}]]}}
}}
{{Infobox/Table dual line
| class =
| width =
| Written by
| {{#ask: [[Category:Persons]] [[Writer of::{{FULLPAGENAME}}]] | format = list | sep = <br/>}}
| if = {{#ask: [[Category:Persons]] [[Writer of::{{FULLPAGENAME}}]]}}
}}
{{Infobox/Table dual line
| class =
| width =
| Screenplay by
| {{#ask: [[Category:Persons]] [[Screenplayer of::{{FULLPAGENAME}}]] | format = list | sep = <br/>}}
| if = {{#ask: [[Category:Persons]] [[Screenplayer of::{{FULLPAGENAME}}]]}}
}}
{{Infobox/Table dual line
| class =
| width =
| Story by
| {{#ask: [[Category:Persons]] [[Story writer of::{{FULLPAGENAME}}]] | format = list | sep = <br/>}}
| if = {{#ask: [[Category:Persons]] [[Story writer of::{{FULLPAGENAME}}]]}}
}}
{{Infobox/Table dual line
| class =
| width =
| Based on
| {{{based on}}}
| if = {{{based on|}}}
}}
{{Infobox/Table dual line
| class =
| width =
| Starring
| {{#ask: [[Category:Persons]] [[Main cast in::{{FULLPAGENAME}}]] | format = list | sep = <br/> | sort = {{Series abv2|series={{PAGENAME}}}} main cast order }}
| if = {{#ask: [[Category:Persons]] [[Main cast in::{{FULLPAGENAME}}]] }}
}}
{{Infobox/Table dual line
| class =
| width =
| Music by
| {{{music}}}
| if = {{{music|}}}
}}
{{Infobox/Table dual line
| class =
| width =
| Cinematography
| {{#ask: [[Category:Persons]] [[Director of photography in::{{FULLPAGENAME}}]] | format = list | sep = <br/>}}
| if = {{#ask: [[Category:Persons]] [[Director of photography in::{{FULLPAGENAME}}]]}}
}}
{{Infobox/Table dual line
| class =
| width =
| Edited by
| {{#ask: [[Category:Persons]] [[Editor in::{{FULLPAGENAME}}]] | format = list | sep = <br/>}}
| if = {{#ask: [[Category:Persons]] [[Editor in::{{FULLPAGENAME}}]] }}
}}
{{Infobox/Table dual line
| class =
| width =
| Produced by
| {{#ask: [[Category:Persons]] [[Producer in::{{FULLPAGENAME}}]] | format = list | sep = <br/>}}
| if = {{#ask: [[Category:Persons]] [[Producer in::{{FULLPAGENAME}}]]}}
}}
{{Infobox/Table dual line
| class =
| width =
| {{#ifeq: {{#ask: [[Category:Persons]] [[Executive producer in::{{FULLPAGENAME}}]] | format = count }} | 1 | Executive producer | Executive producers }}
| {{#ask: [[Category:Persons]] [[Executive producer in::{{FULLPAGENAME}}]] | format = list | sep = <br/>}}
| if = {{#ask: [[Category:Persons]] [[Executive producer in::{{FULLPAGENAME}}]]}}
}}
{{Infobox/Table dual line
| class =
| width =
| Production company
| {{#ask: [[Category:Companies]] [[Production company of::{{FULLPAGENAME}}]] | format = list | sep = <br/>}}
| if = {{#ask: [[Category:Companies]] [[Production company of::{{FULLPAGENAME}}]]}}
}}
{{Infobox/Table dual line
| class =
| width =
| Distributed by
| {{#ask: [[Category:Companies]] [[Distribution company of::{{FULLPAGENAME}}]] | format = list | sep = <br/>}}
| if = {{#ask: [[Category:Companies]] [[Distribution company of::{{FULLPAGENAME}}]]}}
}}
{{Infobox/Table dual line
| class =
| width =
| Release date
| {{{release date}}}
| if = {{{release date|}}}
}}
{{Infobox/Table dual line
| class =
| width =
| Running time
| {{{running time}}}
| if = {{{running time|}}}
}}
{{Infobox/Table dual line
| class =
| width =
| Language
| {{{language}}}
| if = {{{language|}}}
}}
}}
{{Infobox/Table end}}
{{Infobox/Table end}}
{{Infobox/Image
{{Infobox/Table start
| image = {{#if: {{{title image|}}} | {{{title image}}} | }}
| class = {{#if: {{{previous|}}}{{{next|}}}{{{previous text|}}}{{{next text|}}}{{{mcu phase|}}}{{{mcu phase order|}}} | | hidden }}
| alt =
| border =
| upright = 1.35
| background =
| bordure =
| color =
| legend = Title screenshot
| text = Chronology
}}
}}
{{Infobox/Table dual line
| class =
| width =
| [[MCU]] phase
| {{#switch: {{lc: {{{mcu phase|}}} }} | 1 | one = [[MCU phase::Phase One]] | 2 | two = [[MCU phase::Phase Two]] | 3 | three = [[MCU phase::Phase Three]] }}
| if = {{{mcu phase|}}}
}}
{{Infobox/Table dual line
| class =
| width =
| Film order
| [[Movie phase order::{{{mcu phase order}}}]]
| if = {{{mcu phase order|}}}
}}
{{Infobox/Table end}}
{{Infobox/Title block
{{Infobox/Title block
| class =
| class =
Line 60: Line 180:
| background =
| background =
| color =
| color =
| text = Chronology
| text = Movie chronology
| if = {{{previous|}}}{{{next|}}}{{{previous text|}}}{{{next text|}}}
| if = {{{prev|}}}{{{next|}}}{{{rprev|}}}{{{rnext|}}}
}}
}}
{{Infobox/Navigator
{{Infobox/Succession
| prev = {{{previous|}}}
| {{#if: {{{rprev|}}} | {{{rprev|}}} | {{#if: {{{prev|}}} | {{ep|{{{prev|}}} }} }} }}
|
| next = {{{next|}}}
| {{#if: {{{rnext|}}} | {{{rnext|}}} | {{#if: {{{next|}}} | {{ep|{{{next|}}} }} }} }}
| prev text = {{{previous text|}}}
}}
| next text = {{{next text|}}}
{{Infobox/Title block
| class =
| border-color =
| class =
| border-width =
| border =
| background =
| color =
| text = [[MCU]] timeline
| if = {{{mcuprev|}}}{{{mcunext|}}}{{{rmcuprev|}}}{{{rmcunext|}}}
}}
{{Infobox/Succession
| {{#if: {{{rmcuprev|}}} | {{{rmcuprev|}}} | {{#if: {{{mcuprev|}}} | {{ep|{{{mcuprev|}}} }} }} }}
|
| {{#if: {{{rmcunext|}}} | {{{rmcunext|}}} | {{#if: {{{mcunext|}}} | {{ep|{{{mcunext|}}} }} }} }}
}}
}}
{{Infobox/Endbox
{{Infobox/Endbox
Line 79: Line 208:
Retrieving the infobox name inside the "name" property
Retrieving the infobox name inside the "name" property


-->{{#if: {{{name|}}} | {{#set: name = ''{{{name}}}'' }} | {{#set: name = ''{{PAGENAME}}'' }} }}<!--
-->{{#ifeq: {{lc: {{{italic title|}}} }} | no | {{#if: {{{name|}}} | {{#set: name = {{{name}}} }} | {{#set: name = {{PAGENAME}} }} }} | {{#if: {{{name|}}} | {{#set: name = ''{{{name}}}'' }} | {{#set: name = ''{{PAGENAME}}'' }} }} }}<!--


Retrieving the image name inside the "Infobox image" property
Retrieving the image name inside the "Infobox image" property


-->{{#if: {{{image|}}} | {{#set: infobox image = {{{image}}} }} }}</includeonly><noinclude>{{Documentation}}</noinclude>
-->{{#if: {{{image|}}} | {{#set: infobox image = {{{image}}} }} }}{{#ifeq: {{lc: {{{italic title|}}} }} | no | | {{italic title}} }}<!--

Retrieving the director(s) of the movie

-->{{#set: Directing = {{#ask: [[Category:Persons]] [[Director of::{{FULLPAGENAME}}]] | ?Name | format = list | link = none | template = link | sep = ,&#32; }} }}<!--

Retrieving the writer(s) of the movie

-->{{#set: Writing = {{#ask: [[Category:Persons]] [[Writer of::{{FULLPAGENAME}}]] | ?Name | format = list | link = none | template = link | sep = ,&#32; }} }}<!--

Retrieving the story writer(s) of the movie

-->{{#set: Story writing = {{#ask: [[Category:Persons]] [[Story writer of::{{FULLPAGENAME}}]] | ?Name | format = list | link = none | template = link | sep = ,&#32; }} }}<!--

Retrieving the teleplayer(s) of the movie

-->{{#set: Screenplaying = {{#ask: [[Category:Persons]] [[Screenplayer of::{{FULLPAGENAME}}]] | ?Name | format = list | link = none | template = link | sep = ,&#32; }} }}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 11:16, 20 June 2018

Template documentation[view] [edit] [history] [purge]

Usage

Syntax

{{Infobox Film
 | sort            = 
 | nocat           = 
 | spoiler         = 
 | italic title    = <!-- no to deitalicize -->
 | name            = 
 | image           = 
 | caption         = 
 | based on        = 
 | starring        = 
 | music           = 
 | release date    = 
 | running time    = 
 | language        = 
 | mcu phase       = 
 | mcu phase order = 
 | next            = 
 | rnext           = 
 | mcuprev         = 
 | rmcuprev        = 
 | mcunext         = 
 | rmcunext        = 
}}