Template:Infobox Film: Difference between revisions

    From Hokuto no Ken Encyclopedia | HnKWiki
    (new)
     
    No edit summary
    Line 1: Line 1:
    <includeonly>{| class="infobox vevent" style="width:20em; text-align:left; font-size:90%;" cellspacing="2"
    {{Infobox
    ! class="summary" style="font-size: 110%; text-align: center;" colspan="2" | ''{{{name|{{PAGENAME}}}}}''
    | bodyclass    = vevent
    |-
    | bodystyle    = font-size:90%;
    {{#if:{{{image|}}}|
    | labelstyle  = white-space:nowrap; text-align:left;
    {{!}} style="font-size: 95%; line-height:1.5em; text-align: center;" colspan="2" {{!}} [[Image:{{{image}}}|{{#if:{{{image_size|}}}|<!--then:-->{{px|{{{image_size}}} }}|<!--else:-->200px}}|]] {{#if:{{{caption|}}}|<br />{{{caption}}}}}
    | aboveclass  = summary
    | abovestyle  = font-size: 110%;
    | above        = <includeonly>''{{{name|{{PAGENAME}}}}}''</includeonly>
    | image        = {{#if: {{{image|}}}|[[File:{{{image}}}|{{#if: {{{image_size|{{{image size|}}}}}}|<!--then:-->{{{image_size|{{{image size}}}}}}|<!--else:-->200px}}|alt={{{alt|}}}]]}}
    | captionstyle = font-size: 95%; line-height:1.5em;
    | caption      = {{{caption|}}}
     
    | class1      = description
     
    | label1      = Directed by
    | data1        = {{{director|}}}
     
    | label2      = Produced by
    | data2        = {{{producer|}}}
     
    | label3      = Written by
    | data3        = {{{writer|}}}
     
    | label4      = Narrated by
    | data4        = {{{narrator|}}}
     
    | label5      = Starring
    | data5        = {{{starring|}}}
     
    | label6      = Music by
    | data6        = {{{music|}}}
     
    | label7      = Cinematography
    | data7        = {{{cinematography|}}}
     
    | label8      = Editing by
    | data8        = {{{editing|}}}
     
    | label9      = Studio
    | data9        = {{{studio|}}}
     
    | label10      = Distributed by
    | data10      = {{{distributor|}}}
     
    | label11      = Release {{nowrap|date(s)}}
    | data11      = {{{released|}}}
     
    | label12      = Running time
    | data12      = {{{runtime|}}}
     
    | label13      = Country
    | data13      = {{{country|}}}
     
    | label14      = Language
    | data14      = {{#if:{{{language|}}}
    |{{#ifexist:{{{language}}} language
      |{{#ifeq:{{lc:{{{language}}}}}|english|{{{language}}}|[[{{{language}}} language|{{{language}}}]]}}
      |{{{language|}}}
    }}{{#if:{{NAMESPACE}}|
      |{{#ifexist:Category:{{{language}}}-language films
      |[[Category:{{{language}}}-language films]]
      }}
    }}
    }}
    }}
    {{!}}- class="description"
     
    {{#if:{{{director|}}}|
    | label15      = Budget
    ! Directed by
    | data15      = {{{budget|}}}
    {{!}} {{{director}}}
     
    {{!}}-
    | label16      = Gross revenue
    }}
    | data16      = {{{gross|}}}
    {{#if:{{{producer|}}}|
     
    ! Produced&nbsp;by
    | label17      = Preceded by
    {{!}} {{{producer}}}
    | data17      = {{{preceded_by|{{{preceded by|}}}}}}
    {{!}}-
     
    }}
    | label18      = Followed by
    {{#if:{{{writer|}}}|
    | data18      = {{{followed_by|{{{followed by|}}}}}}
    ! Written&nbsp;by
     
    {{!}} {{{writer}}}
    }}{{#if:{{{1|}}}{{{imdb_id|}}}{{{amg_id|}}}{{{website|}}}{{{imdb_rating|}}}{{{mpaa_rating|}}}|[[Category:Film articles using deprecated parameters]]}}<noinclude>
    {{!}}-
     
    }}
    {{#if:{{{narrator|}}}|
    ! Narrated&nbsp;by
    {{!}} {{{narrator}}}
    {{!}}-
    }}
    {{#if:{{{starring|}}}|
    ! Starring
    {{!}} {{{starring}}}
    {{!}}-
    }}
    {{#if:{{{music|}}}|
    ! Music&nbsp;by
    {{!}} {{{music}}}
    {{!}}-
    }}
    {{#if:{{{cinematography|}}}|
    ! Cinematography
    {{!}} {{{cinematography}}}
    {{!}}-
    }}
    {{#if:{{{editing|}}}|
    ! Editing&nbsp;by
    {{!}} {{{editing}}}
    {{!}}-
    }}
    {{#if:{{{distributor|}}}|
    ! Distributed&nbsp;by
    {{!}} {{{distributor}}}
    {{!}}-
    }}
    {{#if:{{{released|}}}|
    ! {{nowrap|Release date(s)}}
    {{!}} {{{released}}}
    {{!}}-
    }}
    {{#if:{{{runtime|}}}|
    ! Running time
    {{!}} {{{runtime}}}
    {{!}}-
    }}
    {{#if:{{{country|}}}|
    ! Country
    {{!}} {{{country}}}
    {{!}}-
    }}
    {{#if:{{{language|}}}|
    ! Language
    {{!}} {{#ifexist: {{{language}}} language | [[{{{language}}} language|{{{language}}}]]{{#ifeq:{{{language|}}}|||[[Category:{{{language}}}-language films]]}} | {{{language}}} }}
    {{!}}-
    }}
    {{#if:{{{budget|}}}|
    ! Budget
    {{!}} {{{budget}}}
    {{!}}-
    }}
    {{#if:{{{gross|}}}|
    ! Gross revenue
    {{!}} {{{gross}}}
    {{!}}-
    }}
    {{#if:{{{preceded_by|}}}|
    ! Preceded&nbsp;by
    {{!}} {{{preceded_by}}}
    {{!}}-
    }}
    {{#if:{{{followed_by|}}}|
    ! Followed&nbsp;by
    {{!}} {{{followed_by}}}
    {{!}}-
    }}
    {{#if:{{{website|}}}|
    ! style="font-size: 100%;" align="center" colspan="2" {{!}} '''[{{{website|}}} Official website]'''
    {{!}}-
    }}
    {{#if:{{{amg_id|}}}|
    ! style="font-size: 100%;" align="center" colspan="2" {{!}} '''[http://allmovie.com/cg/avg.dll?p=avg&sql={{{amg_id|}}} Allmovie profile]'''
    {{!}}-
    }}
    {{#if:{{{imdb_id|}}}|
    ! style="font-size: 100%;" align="center" colspan="2" {{!}} '''[http://www.imdb.com/title/tt{{{imdb_id|}}}/ IMDb profile]'''
    {{!}}-
    }}
    |}</includeonly><noinclude>
    {{documentation}}
    {{documentation}}
    <!-- Add cats and interwikis to the /doc subpage, not here! -->
    <!-- Add cats and interwikis to the /doc subpage, not here! -->
    </noinclude>
    </noinclude>

    Revision as of 10:39, 13 February 2012

    Template documentation (for the above template, sometimes hidden or invisible)
    Description
    Template for movies
    Dependencies
    • Uses {{Infobox}} to centralize the style.
    Syntax
    Insert the following at the beginning of the page
    {{Infobox Film
    | name           = 
    | image          = 
    | caption        = 
    | director       = 
    | producer       = 
    | writer         = 
    | narrator       = 
    | starring       = 
    | music          = 
    | cinematography = 
    | editing        = 
    | distributor    =  
    | studio         = 
    | released       = 
    | runtime        = 
    | country        = 
    | language       = 
    | budget         = 
    | gross          =  
    | preceded_by    = 
    | followed_by    = 
    }}
    
    Notes
    • TBD
    Example
    {{Infobox Film
    | name           = New Fist of the North Star
    | image          = Shin_Hokuto_no_Ken.jpg
    | image_size     = 
    | caption        = Japanese DVD cover (OAV 1)
    | director       = [[wikipedia:Takashi Watanabe|Takashi Watanabe]]
    | producer       = OB Planning
    | writer         = Hiroshi Toda, [[Nobuhiko Horie]]
    | narrator       = [[wikipedia:Fumihiko Tachiki|Fumihiko Tachiki]]
    | starring       = [[Takehito Koyasu]], [[wikipedia:Gackt|Gackt]]
    | music          = [[wikipedia:Yasuharu Takanashi|Yasuharu Takanashi]]
    | cinematography = [[wikipedia:Junichi Watanabe|Junichi Watanabe]]
    | editing        = Shinji Kobukata 
    | distributor    =  
    | studio = 
    | released       = July 24, 2003
    | runtime        = 165 minutes (3 OAVs)
    | country        = {{JPN}}
    | language       = Japanese
    | budget         = 
    | gross          =  
    | preceded_by    = 
    | followed_by    = 
    }}
    

    Becomes










































    Japanese DVD cover (OAV 1)
    Visit Template:Infobox Film/doc to edit this text! (How does this work?)
    Done editing it? Refresh this page! (Why?)