Error creating thumbnail: File missing Join our Discord!
If you have been locked out of your account you can request a password reset here.

Template:Infobox Movie: Difference between revisions

From Internet Movie Firearms Database - Guns in Movies, TV and Video Games
Jump to navigation Jump to search
No edit summary
No edit summary
 
(68 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<!-- START OF INFO BOX-->
<includeonly>
{| border="0" cellpadding="20" align="right"
<br clear=all>
<!-- START OF PADDING AROUND INFO BOX -->
{| border="0" cellpadding="20" style="float: right;"
|-
|-
|
|
<!-- START OF ACTUAL INFO BOX -->
{| border="0" cellpadding="2" cellspacing="0" style="background: whitesmoke; border: 1px solid #aaaaaa" align="center"
{| border="0" cellpadding="2" cellspacing="0" style="background: whitesmoke; border: 1px solid #aaaaaa" align="center"
|-
|-
! style="background:skyblue;" |{{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
!style="background:skyblue;" |'''{{{name|{{PAGENAME}}}}}'''
|-
|-
|
|
<!-- BORDER AROUND THE IMAGE -->
<!-- BORDER AROUND THE IMAGE -->
{| border="0" cellpadding="2" cellspacing="0" style="background: black; border: 1px solid #aaaaaa" align="center"
{| border="0" cellpadding="2" cellspacing="0" style="text-align:left; background: black; border: 1px solid #aaaaaa" align="center"
|-
|-
![[image:{{{picture|none.jpg}}}|300px|center|]]
![[image:{{{picture|none.jpg}}}|300px|center|]]
|-
|-
|}
|}<div style="font-size:75%;" align="center"><i>{{#if:{{{caption|}}}|{{{caption|}}}}}</i></div>
<!-- END OF BORDER AROUND IMAGE -->
<!-- END OF BORDER AROUND IMAGE -->
|-
|-
|
|
{| border="0" cellpadding="2" cellspacing="1" style="background: none; border-top:1px solid #aaaaaa"
{| border="0" cellpadding="2" cellspacing="1" style="text-align:left; background: none; border-top:1px solid #aaaaaa"
|-valign="top"
{{#if:{{{country|}}} |
!width=150{{!}}Country
!width=150{{!}}{{{country|}}}
}}
|-valign="top"
{{#if:{{{director|}}} |
!width=150{{!}}Directed by
!width=150{{!}}{{{director|}}}
}}
|-valign="top"
{{#if:{{{date|}}} |
!width=150{{!}}Release Date
!width=150{{!}}{{{date|}}}
}}
|-valign="top"
{{#if:{{{language|}}} |
!width=150{{!}}Language
!width=150{{!}}{{{language|}}}
}}
|-valign="top"
{{#if:{{{studio|}}} |
!width=150{{!}}Studio
!width=150{{!}}{{{studio|}}}
}}
|-valign="top"
{{#if:{{{distributor|}}} |
!width=150{{!}}Distributor
!width=150{{!}}{{{distributor|}}}
}}
|-
|-
!width=150|Country
|}
!width=150|{{{country|NONE}}}
<!-- END OF FIRST SECTION  -->
<!-- START OF SECOND SECTION -->
{| border="0" cellpadding="2" cellspacing="1" style="background: none; border-top:1px solid #aaaaaa text-align: center;" align="center"
!colspan="2" style="background:skyblue;"|'''Main Cast'''
|-
|-
!width=150|Directed by
!width=150 style="background:skyblue;"|Character
!width=150|{{{director|NONE}}}
!width=150 style="background:skyblue;"|Actor
|-
|-valign="top"
!width=150|Release Date
{{#if:{{{character1|}}} |
!width=150|{{{date|NONE}}}
!width=150{{!}}{{{character1|}}}
!width=150{{!}}{{{actor1|}}}
}}
|-valign="top"
{{#if:{{{character2|}}} |
!width=150{{!}}{{{character2|}}}
!width=150{{!}}{{{actor2|}}}
}}
|-valign="top"
{{#if:{{{character3|}}} |
!width=150{{!}}{{{character3|}}}
!width=150{{!}}{{{actor3|}}}
}}
|-valign="top"
{{#if:{{{character4|}}} |
!width=150{{!}}{{{character4|}}}
!width=150{{!}}{{{actor4|}}}
}}
|-valign="top"
{{#if:{{{character5|}}} |
!width=150{{!}}{{{character5|}}}
!width=150{{!}}{{{actor5|}}}
}}
|-valign="top"
{{#if:{{{character6|}}} |
!width=150{{!}}{{{character6|}}}
!width=150{{!}}{{{actor6|}}}
}}
|-valign="top"
{{#if:{{{character7|}}} |
!width=150{{!}}{{{character7|}}}
!width=150{{!}}{{{actor7|}}}
}}
|-valign="top"
{{#if:{{{character8|}}} |
!width=150{{!}}{{{character8|}}}
!width=150{{!}}{{{actor8|}}}
}}
|-valign="top"
{{#if:{{{character9|}}} |
!width=150{{!}}{{{character9|}}}
!width=150{{!}}{{{actor9|}}}
}}
|-valign="top"
{{#if:{{{character10|}}} |
!width=150{{!}}{{{character10|}}}
!width=150{{!}}{{{actor10|}}}
}}
|-
|-
|}
|}
<!-- THIS IS WHERE THE NEXT BOX WOULD START -->
<!-- END OF SECOND SECTION -->
|}
|}
<!-- END OF ACTUAL INFOBOX -->
|}
|}
<includeonly></includeonly>
<!-- END OF PADDING AROUND INFOBOX -->
</includeonly>
<noinclude>
<noinclude>
[[category:Templates]]
<div style="width: 800px;"><pre>
{{Infobox Movie
|name = Movie Name
|picture = Image name including .jpg
|caption = ''Caption for image''
|country = [[Image:USA.jpg|25px]] Country name (replace USA with appropriate code)
|director = name of director
|date= YEAR of release
|language = MAIN spoken language of the movie. (Include ONLY if NOT English)
|studio=Studio of Film
|distributor=Distributor of Film
|character1=Name of Character 1
|actor1=[[Name of Actor 1]]
|character2=Name of Character 2
|actor2=[[Name of Actor 2]]
|character3=
|actor3=
|character4=
|actor4=
|character5=
|actor5=
|character6=
|actor6=
|character7=
|actor7=
|character8=
|actor8=
|character9=
|actor9=
|character10=
|actor10=
}}
</pre></div>


<div style="width: 30%;"><pre>
=Example=
Using the following:
<div style="width: 500px;"><pre style=>
{{Infobox Movie|{{PAGENAME}}
{{Infobox Movie|{{PAGENAME}}
|picture = "Image name including .jpg"
|name = Hot Fuzz
|country = Country name
|picture = Hot fuzz.jpg
|director = name of director
|caption =  ''Theatrical Movie Poster''
|date= date of release
|country = [[Image:UKD.jpg|25px]] United Kingdom
|director = Edgar Wright
|date= 2007
|language=English
|studio=StudioCanal<br>Working Title Films<br>Big Talk Productions
|distributor=Universal Pictures<br>Rogue Pictures
|character1 = Nicholas Angel <br>
|actor1=[[Simon Pegg]]
|character2=Danny Butterman
|actor2 = [[Nick Frost]]
}}
}}
</pre></div>
</pre></div>
Results in the following (normally aligned on the right of the screen):
{|
|-
|{{Infobox Movie|{{PAGENAME}}
|name=Hot Fuzz
|picture = Hot fuzz.jpg
|caption =  ''Theatrical Movie Poster''
|country = [[Image:UKD.jpg|25px]] United Kingdom
|director = Edgar Wright
|date =  2007
|language=English
|studio=StudioCanal <br>Working Title Films<br>Big Talk Productions
|distributor=Universal Pictures<br>Rogue Pictures
|character1 = Nicholas Angel
|actor1= [[Simon Pegg]]
|character2=Danny Butterman
|actor2 = [[Nick Frost]]
}}
|-
|}


 
== Country specific Flag Codes ==
 
{| border="1" cellpadding="2" cellspacing="1" style="background: white; border-top:1px solid #aaaaaa"
 
|-
 
!width=150|Country
[[Category:Templates]]
!width=150|Flag code
!width=150|Output
|-
|United States
|<pre>[[Image:USA.jpg|25px]]</pre>
|align=center|[[Image:USA.jpg|25px]]
|-
|India
|<pre>[[Image:IND.jpg|25px]]</pre>
|align=center|[[Image:IND.jpg|25px]]
|-
|Russia
|<pre>[[Image:RUS.jpg|25px]]</pre>
|align=center|[[Image:RUS.jpg|25px]]
|-
|Soviet Union
|<pre>[[Image:SOV.jpg|25px]]</pre>
|align=center|[[Image:SOV.jpg|25px]]
|-
|Schwitzerland
|<pre>[[Image:CH.jpg|25px]]</pre>
|align=center|[[Image:CH.jpg|25px]]
|-
|China
|<pre>[[Image:CHN.jpg|25px]]</pre>
|align=center|[[Image:CHN.jpg|25px]]
|-
|Germany
|<pre>[[Image:GER.jpg|25px]]</pre>
|align=center|[[Image:GER.jpg|25px]]
|-
|Israel
|<pre>[[Image:ISR.jpg|25px]]</pre>
|align=center|[[Image:ISR.jpg|25px]]
|-
|UK
|<pre>[[Image:UKD.jpg|25px]]</pre>
|align=center|[[Image:UKD.jpg|25px]]
|-
|Italy
|<pre>[[Image:ITA.jpg|25px]]</pre>
|align=center|[[Image:ITA.jpg|25px]]
|-
|Japan
|<pre>[[Image:JAP.jpg|25px]]</pre>
|align=center|[[Image:JAP.jpg|25px]]
|-
|Australia
|<pre>[[Image:AUS.jpg|25px]]</pre>
|align=center|[[Image:AUS.jpg|25px]]
|-
|Hong Kong (pre-1997)
|<pre>[[Image:HOK.jpg|25px]]</pre>
|align=center|[[Image:HOK.jpg|25px]]
|-
|Hong Kong (post-1997)
|<pre>[[Image:HKG.jpg|25px]]</pre>
|align=center|[[Image:HKG.jpg|25px]]
|-
|France
|<pre>[[Image:FRA.jpg|25px]]</pre>
|align=center|[[Image:FRA.jpg|25px]]
|-
|Sweden
|<pre>[[Image:SWE.jpg|25px]]</pre>
|align=center|[[Image:SWE.jpg|25px]]
|-
|Republic of Belarus
|<pre>[[Image:BELARUS.jpg|25px]]</pre>
|align=center|[[Image:BELARUS.jpg|25px]]
|-
|SFR Yugoslavia (pre-1992)
|<pre>[[Image:YUG.jpg|25px]]</pre>
|align=center|[[Image:YUG.jpg|25px]]
|-
|Federative Republic of Brazil
|<pre>[[Image:BRA.jpg|25px]]</pre>
|align=center|[[Image:BRA.jpg|25px]]
|-
|}
<br clear=all>
[[Category:Infobox]]
</noinclude>

Latest revision as of 20:39, 18 November 2022


{{Infobox Movie
|name = Movie Name 
|picture = Image name including .jpg
|caption = ''Caption for image''
|country = [[Image:USA.jpg|25px]] Country name (replace USA with appropriate code)
|director = name of director
|date= YEAR of release
|language = MAIN spoken language of the movie. (Include ONLY if NOT English)
|studio=Studio of Film
|distributor=Distributor of Film
|character1=Name of Character 1
|actor1=[[Name of Actor 1]]
|character2=Name of Character 2
|actor2=[[Name of Actor 2]]
|character3=
|actor3=
|character4=
|actor4=
|character5=
|actor5=
|character6=
|actor6=
|character7=
|actor7=
|character8=
|actor8=
|character9=
|actor9=
|character10=
|actor10=
}}

Example

Using the following:

{{Infobox Movie|{{PAGENAME}}
|name = Hot Fuzz
|picture = Hot fuzz.jpg
|caption =  ''Theatrical Movie Poster''
|country = [[Image:UKD.jpg|25px]] United Kingdom
|director = Edgar Wright
|date=  2007
|language=English
|studio=StudioCanal<br>Working Title Films<br>Big Talk Productions
|distributor=Universal Pictures<br>Rogue Pictures
|character1 = Nicholas Angel <br> 
|actor1=[[Simon Pegg]]
|character2=Danny Butterman
|actor2 = [[Nick Frost]]
}}

Results in the following (normally aligned on the right of the screen):


Hot Fuzz
Theatrical Movie Poster
Country Error creating thumbnail: File missing United Kingdom
Directed by Edgar Wright
Release Date 2007
Language English
Studio StudioCanal
Working Title Films
Big Talk Productions
Distributor Universal Pictures
Rogue Pictures
Main Cast
Character Actor
Nicholas Angel Simon Pegg
Danny Butterman Nick Frost


Country specific Flag Codes

Country Flag code Output
United States
[[Image:USA.jpg|25px]]
Error creating thumbnail: File missing
India
[[Image:IND.jpg|25px]]
Error creating thumbnail: File missing
Russia
[[Image:RUS.jpg|25px]]
Error creating thumbnail: File missing
Soviet Union
[[Image:SOV.jpg|25px]]
Error creating thumbnail: File missing
Schwitzerland
[[Image:CH.jpg|25px]]
Error creating thumbnail: File missing
China
[[Image:CHN.jpg|25px]]
Error creating thumbnail: File missing
Germany
[[Image:GER.jpg|25px]]
Error creating thumbnail: File missing
Israel
[[Image:ISR.jpg|25px]]
Error creating thumbnail: File missing
UK
[[Image:UKD.jpg|25px]]
Error creating thumbnail: File missing
Italy
[[Image:ITA.jpg|25px]]
Error creating thumbnail: File missing
Japan
[[Image:JAP.jpg|25px]]
Error creating thumbnail: File missing
Australia
[[Image:AUS.jpg|25px]]
Error creating thumbnail: File missing
Hong Kong (pre-1997)
[[Image:HOK.jpg|25px]]
Error creating thumbnail: File missing
Hong Kong (post-1997)
[[Image:HKG.jpg|25px]]
Error creating thumbnail: File missing
France
[[Image:FRA.jpg|25px]]
Error creating thumbnail: File missing
Sweden
[[Image:SWE.jpg|25px]]
Error creating thumbnail: File missing
Republic of Belarus
[[Image:BELARUS.jpg|25px]]
Error creating thumbnail: File missing
SFR Yugoslavia (pre-1992)
[[Image:YUG.jpg|25px]]
Error creating thumbnail: File missing
Federative Republic of Brazil
[[Image:BRA.jpg|25px]]
Error creating thumbnail: File missing