Template:Infobox film: Difference between revisions

From BoyWiki
No edit summary
No edit summary
Tag: Manual revert
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{| class="wikitable floatright style="font-size:89%; width:300px;"
| bodyclass    = vevent
|-
| bodystyle    = font-size: 90%;
! class="color1" colspan="2" style="font-size:120%; padding:1em; color:Black; background:#cedff2;" | {{{name|{{PAGENAME}}}}}
| labelstyle  = white-space: nowrap;
|- style="text-align:center;"
| aboveclass  = summary
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:White-blank-header.jpg}}}|{{{imagewidth|200}}}px]]<br/>''{{{caption| }}}''
| abovestyle  = font-size: 110%; font-style: italic
| above        = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| image        =  
| captionstyle = font-size: 95%; line-height: 1.5em
| caption      = {{{caption|}}}


| class1      = description
|-
 
| bgcolor="#ffdead" | '''Year Released:''' || bgcolor="white" | {{{yearReleased}}}
| data1        = {{{film name|}}}
|-
 
| bgcolor="#efefef" | '''MPAA Rating (USA):''' || bgcolor="white" | {{{mpaaRating}}}
| label2      = Directed by
|-
| data2        = {{{director|}}}
| bgcolor="#ffdead" | '''Director:''' || bgcolor="white" | {{{director}}}
 
|-
| label3      = Produced by
| bgcolor="#efefef" valign="top" | '''Starring:''' || bgcolor="white" | {{{stars}}}
| data3        = {{{producer|}}}
|}
 
| label4      = Written by
| data4        = {{{writer|}}}
 
| label5      = Screenplay by
| data5        = {{{screenplay|}}}
 
| label6      = Story by
| data6        = {{{story|}}}
 
| label7      = Based on
| data7        = {{{based on|}}}
 
| label8      = Narrated by
| data8        = {{{narrator|}}}
 
| label9      = Starring
| data9        = {{{starring|}}}
 
| label10      = Music by
| data10        = {{{music|}}}
 
| label11      = Cinematography
| data11      = {{{cinematography|}}}
 
| label12      = Editing by
| data12        = {{{editing|}}}
 
| label13      = Studio
| data13        = {{{studio|}}}
 
| label14      = Distributed by
| data14      = {{{distributor|}}}
 
| label15      = Release date(s)
| data15      = {{{released|}}}
 
| label16      = Running time
| data16      = {{{runtime|}}}
 
| label17      = Country
| data17      = {{{country|}}}
 
| label18      = Language
| data18      = {{#if:{{{language|}}}|
  {{#switch:{{{language|}}}
    |English
    |english = English{{#if:{{NAMESPACE}}||[[Category:English-language films]]}}
    |Silent
    |Silent film
    |silent
    |Silent film(English intertitles)
    |Silent(English intertitles)
    |Silent with English intertitles
    |Silent (English intertitles) = Silent{{#if:{{NAMESPACE}}||[[Category:Silent films]]}}
    |{{#ifexist:{{{language}}} language|[[{{{language|}}} language|{{{language|}}}]]|{{{language|}}}}}<!--
  -->{{#if:{{NAMESPACE}}||{{#ifexist:Category:{{{language}}}-language films|[[Category:{{{language|}}}-language films]]}}}}
  }}
}}
 
| label19      = Budget
| data19      = {{{budget|}}}
 
| label20      = Box office
| data20      = {{{gross|}}}
 
}}<includeonly><!--
-->{{#if:{{{1|}}}{{{imdb_id|}}}{{{amg_id|}}}{{{website|}}}{{{imdb_rating|}}}{{{mpaa_rating|}}}|[[Category:Film articles using deprecated parameters]]}}<!--
-->{{#if:{{{image_size|}}}{{{image size|}}}|[[Category:Film articles using image size parameter]]}}<!--
-->{{#if:{{{preceded_by|}}}{{{preceded by|}}}{{{followed_by|}}}{{{followed by|}}}|[[Category:Film articles using infobox succession]]}}</includeonly><noinclude>
 
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage -->


<noinclude> {{documentation}}
[[Category:Boywiki general templates]]
[[Category:Infobox templates]]
[[Category:Film templates]]
</noinclude>
</noinclude>

Latest revision as of 23:57, 30 June 2022

Infobox film

Year Released: {{{yearReleased}}}
MPAA Rating (USA): {{{mpaaRating}}}
Director: {{{director}}}
Starring: {{{stars}}}


BoyWiki Template documentation (for the above template, sometimes hidden or invisible)

Here is an example on how to include this template:

{{Infobox film
| name         =  
| image        = 
| imagewidth   =  [defaults to 250]
| caption      = 
| yearReleased =
|mpaaRating    =
|director      =
|stars         = <br>

}}
  • Add the code <br> after every star's name in order to break the line. Don't break the line in your edit box (in the wikitext): this will make a paragraph in the rendered text.


Example

{{Infobox film
| name         =  En tu ausencia
| image        = Image:En tu ausencia.jpg
| imagewidth   = 300
| caption      = En tu ausencia
| yearReleased =2008
|mpaaRating    =NR
|director      =Ivan Noel
|stars         =Gonzalo Sánchez Salas<br>
Francisco Alfonsin
}}

Produces:

En tu ausencia

En tu ausencia
Year Released: 2008
MPAA Rating (USA): NR
Director: Ivan Noel
Starring: Gonzalo Sánchez Salas

Francisco Alfonsin



Visit Template:Infobox film/doc to edit this template's description!
Done making changes?   Refresh   Also see:  Portal:Template index  and   Help:Templates