Template:Infobox Film: Difference between revisions

From Marvel Cinematic Universe Wiki
Content deleted Content added
No edit summary
No edit summary
Line 24: Line 24:
| 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
Line 100: Line 100:
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}} }}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 16:54, 30 October 2017

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        = 
}}