Template:Infobox film: Difference between revisions

From BoyWiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
<includeonly>{{main other|{{Infobox film/short description|released={{{released|}}}|country={{{country|}}}|director={{{director|}}}}}}}{{Infobox
{| class="wikitable floatright style="font-size:89%; width:300px;"
| italic title = {{{italic_title|<noinclude>no</noinclude>}}}  
|-
| bodyclass    = vevent
! class="color1" colspan="2" style="font-size:120%; padding:1em; color:Black; background:#cedff2;" | {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:White-blank-header.jpg}}}|{{{imagewidth|200}}}px]]<br/>''{{{caption| }}}''


| aboveclass  = summary
|-
| abovestyle  = font-size: 125%; font-style: italic;
| bgcolor="#ffdead" | '''Year Released:''' || bgcolor="white" | {{{yearReleased}}}
| above        = {{If empty |{{{name|}}} |{{PAGENAMEBASE}} }}
|-
| bgcolor="#efefef" | '''MPAA Rating (USA):''' || bgcolor="white" | {{{mpaaRating}}}
|-
| bgcolor="#ffdead" | '''Director:''' || bgcolor="white" | {{{director}}}
|-
| bgcolor="#efefef" valign="top" | '''Starring:''' || bgcolor="white" | {{{stars}}}
|}


| image        = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |title={{{alt|}}} |border={{{border|yes}}} }}
| caption      = {{{caption|}}}
| labelstyle  = white-space: nowrap; padding-right: 0.65em;<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->
| class1      = description
|  data1      = {{{native_name|}}}
| label2      = Directed by
|  data2      = {{If empty |{{{director|}}} |{{{directors|}}} }}
| label3      = Written by
|  data3      = {{If empty |{{{writer|}}} |{{{writers|}}} }}
| label4      = Screenplay by
|  data4      = {{{screenplay|}}}
| label5      = Story by
|  data5      = {{{story|}}}
| label6      = Based on
|  data6      = {{{based_on|}}}
| label7      = Produced by
|  data7      = {{If empty |{{{producer|}}} |{{{producers|}}} }}
| label8      = Starring
|  data8      = {{{starring|}}}
| label9      = Narrated by
|  data9      = {{If empty |{{{narrator|}}} |{{{narrators|}}} }}
| label10      = Cinematography
|  data10      = {{{cinematography|}}}
| label11      = Edited by
|  data11      = {{{editing|}}}
| label12      = Music by
|  data12      = {{{music|}}}
| label13      = Animation by
| data13      = {{{animator|}}}
| label14      = Layouts by
| data14      = {{{layout_artist|}}}
| label15      = Backgrounds by
| data15      = {{{background_artist|}}}
| label16      = Color process
| data16      = {{{color_process|}}}
| label17      = {{Longitem |Production<br/>{{Pluralize from text|{{If empty |{{{production_companies|}}} |{{{studio|}}} }} || company | companies }}}}
|  data17      = {{#if: {{{production_companies|{{{studio|}}} }}} | <div style="vertical-align: middle;">{{{production_companies|{{{studio|}}}}}}</div> }}
| label18      = Distributed by
|  data18      = {{If empty |{{{distributor|}}} |{{{distributors|}}} }}
| label19      = {{Longitem|style=white-space: normal;|Release date{{Pluralize from text|{{{released|}}}|||s}}}}
|  data19      = {{{released|}}}
| label20      = {{Longitem|style=white-space: normal;|Running time}}
|  data20      = {{{runtime|}}}
| label21      = {{Pluralize from text|{{{country|}}}|| Country | Countries }}
|  data21      = {{{country|}}}
| label22      = {{Pluralize from text|{{{language|}}}|| Language | Languages }}
|  data22      = {{#if: {{{language|}}}
                  | {{#switch:{{lc:{{{language|}}}}}
                    | english = English {{#if: {{NAMESPACE}} | |[[Category:English-language films]]}}
                    | silent (english intertitles) |silent(english intertitles) |silent film (english intertitles) |silent film(english intertitles) |silent with english intertitles |silent |silent film = Silent {{#if:{{NAMESPACE}} | |[[Category:Silent films]]}}
                    | #default = {{{language|}}} {{#if: {{NAMESPACE}} | |{{#ifexist:Category:{{#invoke:string|replace|{{{language}}}|%[%[([^%[%]]*) [%(]?language[%)]?{{!}}[^%[%]]*%]%]|%1|plain=false}}-language films |[[Category:{{#invoke:String|replace|{{{language}}}|%[%[([^%[%]]*) [%(]?language[%)]?{{!}}[^%[%]]*%]%]|%1|plain=false}}-language films]]}} }}
                }} }}
| label23      = Budget
|  data23      = {{{budget|}}}
| label24      = Box office
|  data24      = {{{gross|}}}
}}<!-- Tracking categories
-->{{Main other|{{#if: {{{image_size|}}} | [[Category:Pages using infobox film with image size parameter]] }}}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox film with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[:Template:Infobox film]] with unknown parameter "_VALUE_"|showblankpositional=1| alt | animator | background_artist | based_on | border | budget | caption | cinematography | color_process | country | director | directors | distributor | distributors | editing | gross | italic_title | image | image_size | language | layout_artist | music | name | narrator | narrators | native_name | producer | producers | production_companies | released | runtime | screenplay | starring | story | studio | writer | writers }}<!--
--></includeonly>
<noinclude> {{documentation}}
<noinclude> {{documentation}}
[[Category:Boywiki general templates]]
[[Category:Boywiki general templates]]

Revision as of 01:19, 24 February 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