Discord-logo.jpg Join our Discord!
If you have been locked out of your account you can request a password reset here.

Difference between revisions of "Template:Infobox TV"

From Internet Movie Firearms Database - Guns in Movies, TV and Video Games
Jump to navigation Jump to search
Line 54: Line 54:
 
!width=150 style="background:skyblue;"|Character
 
!width=150 style="background:skyblue;"|Character
 
!width=150 style="background:skyblue;"|Actor  
 
!width=150 style="background:skyblue;"|Actor  
|-style="color: red"
 
{{{characters|NONE}}}
 
 
|-
 
|-
 +
{{#if:{{{Character1|}}} |
 +
!width=150{{!}}{{{Character1|}}}
 +
!width=150{{!}}{{{Actor1|}}}
 +
}}
 +
|-
 +
{{#if:{{{Character2|}}} |
 +
!width=150{{!}}{{{Character2|}}}
 +
!width=150{{!}}{{{Actor2|}}}
 +
}}
 +
|-
 +
{{#if:{{{Character3|}}} |
 +
!width=150{{!}}{{{Character3|}}}
 +
!width=150{{!}}{{{Actor3|}}}
 +
}}
 
|}
 
|}
 
<!-- END OF SECOND SECTION -->
 
<!-- END OF SECOND SECTION -->

Revision as of 20:29, 29 April 2012

[[]]
Country NONE
Genre NONE
Broadcast NONE
No. of Seasons NONE
Np. of Episodes NONE
Main Cast
Character Actor


{{Infobox TV|{{PAGENAME}}
|name= Name of TV Show (Can be left blank, see note below.)
|picture = image_name.jpg
|country = [[File:Flag Name.jpg|25px]] Country   (See Below for flag file names)
|channel =  Channel
|genre = Genere
|dates = Broadcast Dates
|seasons = Number of Seasons
|episodes = Number of Episodes
|characters =  {{!}}-
{{!}}Character 1{{!}}{{!}}[[Actor 1]]
{{!}}-
{{!}}Character 2{{!}}{{!}}[[Actor 2]]
{{!}}-
}}
  • Note: leaving "name=" blank (or simply omitting the line entirely) will result in the exact name of the page being use at the title of the box.
    For most shoes this is fine, but for any page starting with "The" (A-Team, The) for example or containing a year (Hawaii Five-O (1968)), you would want to override the title by setting "name=The A-Team" or "name=Hawaii Five-O" otherwise the title of the infobox would be "Matrix, The" or "Hawaii Five-O (1968)".
  • Note: using {{!}} is the way you use the pipe (" | ") character inside of a template. This allows you to create a table inside of a template. In the code above, just think of each {{!}} as a pipe (" | ").


Example

Using the following:

{{Infobox TV|{{PAGENAME}}
|name=CSI: NY
|picture = CSINYPoster.jpg
|country = [[File:USA.jpg|25px]] USA
|channel =  CBS
|genre = Crime
|dates = 2004-Present
|seasons = 8 (As of 4/24/12)
|episodes = 180 (As of 4/24/12)
|characters ={{!}}-
{{!}}Det. Mac Taylor{{!}}{{!}}[[Gary Sinise]]
{{!}}-
{{!}}Det. Don Flack{{!}}{{!}}[[Eddie Cahill]]
{{!}}-
{{!}}Det. Stella Bonasera{{!}}{{!}}[[Melina Kanakaredes]]
{{!}}-
{{!}}Det. Danny Messer{{!}}{{!}}[[Carmine Giovinazzo]]
{{!}}-
{{!}}Det. Lindsay Messer{{!}}{{!}}[[Anna Belknap]]
{{!}}-
{{!}}Jo Danville{{!}}{{!}}[[Sela Ward]] 
{{!}}-
}}

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

CSI: NY
CSINYPoster.jpg
Country Flag of the United States.jpg USA
Channel CBS
Genre Crime
Broadcast 2004-Present
No. of Seasons 8 (As of 4/24/12)
Np. of Episodes 18
Main Cast
Character Actor


Country specific Flag Codes

Country Flag code Output
United States
[[Image:USA.jpg|25px]]
Flag of the United States.jpg
India
[[Image:IND.jpg|25px]]
IND.jpg
Russia
[[Image:RUS.jpg|25px]]
RUS.jpg
China
[[Image:CHN.jpg|25px]]
CHN.jpg
Germany
[[Image:GER.jpg|25px]]
GER.jpg
Israel
[[Image:ISR.jpg|25px]]
ISR.jpg
UK
[[Image:UKD.jpg|25px]]
UKD.jpg
Australia
[[Image:AUS.jpg|25px]]
AUS.jpg



Do Not Sell My Personal Information