Template:Infobox Film: Difference between revisions
From Marvel Cinematic Universe Wiki
Content deleted Content added
mNo edit summary |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
|<!-- |
|<!-- |
||
-->{{#ifeq: {{{spoiler|}}} |
-->{{#ifeq: {{{spoiler|}}} |
||
| |
| true |
||
| [[Category:Spoilers]] |
| [[Category:Spoilers]] |
||
|<!-- |
|<!-- |
||
| Line 13: | Line 13: | ||
}} |
}} |
||
}}{{#ifeq:{{{spoiler|}}} |
}}{{#ifeq:{{{spoiler|}}} |
||
| |
| true |
||
| {{spoiler}} |
| {{spoiler}} |
||
|<!-- |
|<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->}}</div>{{Infobox/Startbox |
-->}}</div>{{Infobox/Startbox |
||
| class = |
| class = |
||
| width = |
| width = |
||
| icon = |
| icon = cinema |
||
| background = |
| background = |
||
| color = |
| color = |
||
| Line 29: | Line 29: | ||
| image = {{#if: {{{image|}}} | {{{image}}} | Sin foto.svg }} |
| image = {{#if: {{{image|}}} | {{{image}}} | Sin foto.svg }} |
||
| alt = |
| alt = |
||
| upright = |
| upright = 0.9 |
||
| bordure = |
| bordure = |
||
| legend = {{{caption|}}} |
| legend = {{{caption|}}} |
||
| Line 67: | Line 67: | ||
| {{#ask: [[Category:Persons]] [[Story writer of::{{FULLPAGENAME}}]] | format = list | sep = <br/>}} |
| {{#ask: [[Category:Persons]] [[Story writer of::{{FULLPAGENAME}}]] | format = list | sep = <br/>}} |
||
| if = {{#ask: [[Category:Persons]] [[Story writer of::{{FULLPAGENAME}}]]}} |
| 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/ |
{{Infobox/Table start |
||
| |
| class = {{#if: {{{previous|}}}{{{next|}}}{{{previous text|}}}{{{next text|}}}{{{mcu phase|}}}{{{mcu phase order|}}} | | hidden }} |
||
| |
| border = |
||
| |
| background = |
||
| |
| color = |
||
| |
| 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 81: | Line 180: | ||
| background = |
| background = |
||
| color = |
| color = |
||
| text = |
| text = Movie chronology |
||
| if = {{{ |
| if = {{{prev|}}}{{{next|}}}{{{rprev|}}}{{{rnext|}}} |
||
}} |
}} |
||
{{Infobox/ |
{{Infobox/Succession |
||
| |
| {{#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 = |
|||
| |
| class = |
||
| border |
| 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 104: | Line 212: | ||
Retrieving the image name inside the "Infobox image" property |
Retrieving the image name inside the "Infobox image" property |
||
-->{{#if: {{{image|}}} | {{#set: infobox image = {{{image}}} }} }}{{#ifeq: {{lc: {{{italic title|}}} }} | no | | {{italic title}} }}< |
-->{{#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 = ,  }} }}<!-- |
|||
Retrieving the writer(s) of the movie |
|||
-->{{#set: Writing = {{#ask: [[Category:Persons]] [[Writer of::{{FULLPAGENAME}}]] | ?Name | format = list | link = none | template = link | sep = ,  }} }}<!-- |
|||
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 = ,  }} }}<!-- |
|||
Retrieving the teleplayer(s) of the movie |
|||
-->{{#set: Screenplaying = {{#ask: [[Category:Persons]] [[Screenplayer of::{{FULLPAGENAME}}]] | ?Name | format = list | link = none | template = link | sep = ,  }} }}</includeonly><noinclude>{{Documentation}}</noinclude> |
|||
Latest revision as of 11:16, 20 June 2018
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 =
}}
| The above documentation is transcluded from Template:Infobox Film/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
