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
 
(89 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
<includeonly>
 +
<br clear=all>
 
<!-- START OF PADDING AROUND INFO BOX -->
 
<!-- START OF PADDING AROUND INFO BOX -->
{| border="0" cellpadding="20" align="right"
+
{| border="0" cellpadding="20" style="float: right;"
 
|-
 
|-
 
|
 
|
Line 6: Line 8:
 
{| 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}}}}}'''
 
|-
 
|-
 
|
 
|
Line 12: Line 14:
 
{| border="0" cellpadding="2" cellspacing="0" style="background: black; border: 1px solid #aaaaaa" align="center"
 
{| border="0" cellpadding="2" cellspacing="0" style="background: black; border: 1px solid #aaaaaa" align="center"
 
|-
 
|-
![[image:{{{picture|none.jpg}}}|400px|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 -->
 
|-
 
|-
 
|
 
|
 
<!-- START OF FIRST SECTION -->
 
<!-- START OF FIRST SECTION -->
{| border="0" cellpadding="2" cellspacing="1" style="background: none; border-top:1px solid #aaaaaa" align="center"
+
{| border="0" cellpadding="2" cellspacing="1" style="text-align:left; background: none; border-top:1px solid #aaaaaa" align="center"
 +
|-valign="top"
 +
{{#if:{{{country|}}} |
 +
!width=150{{!}}Country
 +
!width=150{{!}}{{{country|}}}
 +
}}
 +
|-valign="top"
 +
{{#if:{{{language|}}} |
 +
!width=150{{!}}Language
 +
!width=150{{!}}{{{language|}}}
 +
}}
 +
|-valign="top"
 +
{{#if:{{{type|}}} |
 +
!width=150{{!}}Type
 +
!width=150{{!}}{{{type|}}}
 +
}}
 +
|-valign="top"
 +
{{#if:{{{channel|}}} |
 +
!width=150{{!}}Channel
 +
!width=150{{!}}{{{channel|}}}
 +
}}
 +
|-valign="top"
 +
{{#if:{{{creator|}}} |
 +
!width=150{{!}}Creator
 +
!width=150{{!}}{{{creator|}}}
 +
}}
 +
|-valign="top"
 +
{{#if:{{{genre|}}} |
 +
!width=150{{!}}Genre
 +
!width=150{{!}}{{{genre|}}}
 +
}}
 +
|-valign="top"
 +
{{#if:{{{dates|}}} |
 +
!width=150{{!}}Broadcast
 +
!width=150{{!}}{{{dates|}}}
 +
}}
 +
|-
 +
{{#if:{{{seasons|}}} |
 +
!width=150{{!}}No. of Seasons
 +
!width=150{{!}}{{{seasons|}}}
 +
}}
 +
|-
 +
{{#if:{{{episodes|}}} |
 +
!width=150{{!}}No. of Episodes
 +
!width=150{{!}}{{{episodes|}}}
 +
}}
 +
|-
 +
|}
 +
<!-- END OF FIRST SECTION  -->
 +
<!-- START OF SECOND SECTION -->
 +
{| border="0" cellpadding="2" cellspacing="1" style="background: skyblue; border-top:1px solid #aaaaaa text-align: center;" align="center"
 +
!colspan="2" |'''Main Cast'''
 +
|-
 +
!width=150|Character
 +
!width=150|Actor
 +
|-
 +
|}
 +
{| border="0" cellpadding="2" cellspacing="1" style="background: none; border-top:1px solid #aaaaaa text-align: center;" align="center"
 +
|-
 +
{{#if:{{{character1|}}} |
 +
!width=150{{!}}{{{character1|}}}
 +
!width=150{{!}}{{{actor1|}}}
 +
}}
 
|-
 
|-
!width=200|Country
+
{{#if:{{{character2|}}} |
!width=200|{{{country|NONE}}}  
+
!width=150{{!}}{{{character2|}}}
 +
!width=150{{!}}{{{actor2|}}}
 +
}}
 
|-
 
|-
!width=200|Channel
+
{{#if:{{{character3|}}} |
!width=200|{{{channel|NONE}}}
+
!width=150{{!}}{{{character3|}}}
 +
!width=150{{!}}{{{actor3|}}}
 +
}}
 
|-
 
|-
!width=200|Genre
+
{{#if:{{{character4|}}} |
!width=200|{{{genre|NONE}}}
+
!width=150{{!}}{{{character4|}}}
 +
!width=150{{!}}{{{actor4|}}}
 +
}}
 
|-
 
|-
!width=200|Broadcast
+
{{#if:{{{character5|}}} |
!width=200|{{{dates|NONE}}}
+
!width=150{{!}}{{{character5|}}}
 +
!width=150{{!}}{{{actor5|}}}
 +
}}
 
|-
 
|-
!width=200|No. of Seasons
+
{{#if:{{{character6|}}} |
!width=200|{{{seasons|NONE}}}
+
!width=150{{!}}{{{character6|}}}
 +
!width=150{{!}}{{{actor6|}}}
 +
}}
 
|-
 
|-
!width=200|Np. of Episodes
+
{{#if:{{{character7|}}} |
!width=200|{{{episodes|NONE}}}
+
!width=150{{!}}{{{character7|}}}
 +
!width=150{{!}}{{{actor7|}}}
 +
}}
 
|-
 
|-
|}
+
{{#if:{{{character8|}}} |
<!-- END OF FIRST SECTION  -->
+
!width=150{{!}}{{{character8|}}}
<!-- START OF SECOND SECTION -->
+
!width=150{{!}}{{{actor8|}}}
{| border="0" cellpadding="2" cellspacing="1" style="background: none; border-top:1px solid #aaaaaa" align="center"
+
}}
!colspan="2" style="background:skyblue;"|'''Main Cast'''
 
 
|-
 
|-
!width=200 style="background:skyblue;"|Character
+
{{#if:{{{character9|}}} |
!width=200 style="background:skyblue;"|Actor
+
!width=150{{!}}{{{character9|}}}
 +
!width=150{{!}}{{{actor9|}}}
 +
}}
 
|-
 
|-
!width=200|{{{characters|NONE}}}  
+
{{#if:{{{character10|}}} |
!width=200|{{{actors|NONE}}}  
+
!width=150{{!}}{{{character10|}}}
 +
!width=150{{!}}{{{actor10|}}}
 +
}}
 
|-
 
|-
 
|}
 
|}
Line 57: Line 136:
 
|}
 
|}
 
<!-- END OF PADDING AROUND INFOBOX -->
 
<!-- END OF PADDING AROUND INFOBOX -->
 +
</includeonly>
  
 
<noinclude>
 
<noinclude>
<div style="width: 50%; font-size:150%;"><pre>
+
<div style="width: 750px;"><pre>
{{Foreign TV Infobox|{{PAGENAME}}
+
{{Infobox TV|{{PAGENAME}}
|name= Name of TV Show
+
|name= Name of TV Show  
 
|picture = image_name.jpg
 
|picture = image_name.jpg
|country = [[File:Flag Name.jpg|25px]] Country   (See Below for flag file names)
+
|caption = Caption for Image
|creator = Creator
+
|country = [[File:Flag Name.jpg|25px]] Country (See Below for flag file names)
 
|channel =  Channel
 
|channel =  Channel
|genre = Genere
+
|genre = Genre 1 <br> Genre 2 <br>...
|dates = Broadcast Dates
+
|creator = Creator 1 <br> Creator 2 <br>...
 +
|dates = Broadcast Years (YEARS ONLY)
 +
|language = Spoken Language (Include ONLY if not English)
 
|seasons = Number of Seasons
 
|seasons = Number of Seasons
 
|episodes = Number of Episodes
 
|episodes = Number of Episodes
|characters = Character 1<br>Character 2
+
|character1=Name of Character 1
|actors = [[Actor playing Character 1]] <br> [[Actor playing Character 2]]
+
|actor1=[[Name of Actor 1]]
 +
|character2=Name of Character 2
 +
|actor2=[[Name of Actor 2]]
 +
...
 +
|character10=Name of Character 10
 +
|actor10=[[Name of Actor 10]]
 
}}
 
}}
 
</pre></div>
 
</pre></div>
*Note: leaving "name=" blank will result in the exact name of the page being use at the title of the box.<br> 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)".  
+
=NOTES=
 +
*Any other values that are omitted or left blank, will not be output in the template. I.E. if you you don't supply a channel, the line will not be included in the Infobox
 +
*You can use up to 10 different Character/Actor combinations. If your show absolutely needs to have more then 10, post a comment on the discussion page and I will address it.  
 
<br clear=all>
 
<br clear=all>
  
 
=Example=
 
=Example=
 
Using the following:
 
Using the following:
<div style="width: 40%; font-size:150%;"><pre style=>
+
<div style="width: 400px; font-size:150%;"><pre style=>
 
{{Infobox TV|{{PAGENAME}}
 
{{Infobox TV|{{PAGENAME}}
 
|name=CSI: NY
 
|name=CSI: NY
 
|picture = CSINYPoster.jpg
 
|picture = CSINYPoster.jpg
 +
|caption =
 
|country = [[File:USA.jpg|25px]] USA
 
|country = [[File:USA.jpg|25px]] USA
 
|channel =  CBS
 
|channel =  CBS
Line 89: Line 179:
 
|seasons = 8 (As of 4/24/12)
 
|seasons = 8 (As of 4/24/12)
 
|episodes = 180 (As of 4/24/12)
 
|episodes = 180 (As of 4/24/12)
|characters = Det. Mac Taylor <br>Det. Don Flack
+
|character1=Det. Mac Taylor
|actors = [[Gary Sinise]] <br> [[Eddie Cahill]]
+
|actor1=[[Gary Sinise]]
 +
|character2=Det. Don Flack
 +
|actor2=[[Eddie Cahill]]
 +
|character3=Det. Stella Bonasera
 +
|actor3=[[Melina Kanakaredes]]
 +
|character4 =Det. Danny Messer
 +
|actor4=[[Carmine Giovinazzo]]
 +
|character5=Det. Lindsay Messer
 +
|actor5=[[Anna Belknap]]
 +
|character6=Jo Danville
 +
|actor6=[[Sela Ward]]  
 
}}
 
}}
 
</pre></div>
 
</pre></div>
Resulsts in the following (normally aligned on the right of the screen):
+
Results in the following (normally aligned on the right of the screen):
 
{|
 
{|
 
|-
 
|-
 
|{{Infobox TV|{{PAGENAME}}
 
|{{Infobox TV|{{PAGENAME}}
|name = CSI: NY
+
|name=CSI: NY
 
|picture = CSINYPoster.jpg
 
|picture = CSINYPoster.jpg
 +
|caption =
 
|country = [[File:USA.jpg|25px]] USA
 
|country = [[File:USA.jpg|25px]] USA
|channel = CBS
+
|channel = CBS
|genre = Crime
+
|genre = Crime  
|dates = 2004-Present
+
|dates = 2004-Present
 
|seasons = 8 (As of 4/24/12)
 
|seasons = 8 (As of 4/24/12)
 
|episodes = 180 (As of 4/24/12)
 
|episodes = 180 (As of 4/24/12)
|characters = Det. Mac Taylor <br>Det. Don Flack
+
|character1=Det. Mac Taylor
|actors = [[Gary Sinise]] <br> [[Eddie Cahill]]
+
|actor1=[[Gary Sinise]]
 +
|character2=Det. Don Flack
 +
|actor2=[[Eddie Cahill]]
 +
|character3=Det. Stella Bonasera
 +
|actor3=[[Melina Kanakaredes]]
 +
|character4=Det. Danny Messer
 +
|actor4=[[Carmine Giovinazzo]]
 +
|character5=Det. Lindsay Messer
 +
|actor5=[[Anna Belknap]]
 +
|character6=Jo Danville
 +
|actor6=[[Sela Ward]]  
 
}}
 
}}
 
|-
 
|-
Line 121: Line 232:
 
|<pre>[[Image:USA.jpg|25px]]</pre>  
 
|<pre>[[Image:USA.jpg|25px]]</pre>  
 
|align=center|[[Image:USA.jpg|25px]]
 
|align=center|[[Image:USA.jpg|25px]]
 +
|-
 +
|Canada
 +
|<pre>[[Image:CAN.jpg|25px]]</pre>
 +
|align=center|[[Image:CAN.jpg|25px]]
 
|-
 
|-
 
|India
 
|India
Line 129: Line 244:
 
|<pre>[[Image:RUS.jpg|25px]]</pre>
 
|<pre>[[Image:RUS.jpg|25px]]</pre>
 
|align=center|[[Image:RUS.jpg|25px]]
 
|align=center|[[Image:RUS.jpg|25px]]
 +
|-
 +
|Soviet Union
 +
|<pre>[[Image:SOV.jpg|25px]]</pre>
 +
|align=center|[[Image:SOV.jpg|25px]]
 
|-
 
|-
 
|China
 
|China
Line 149: Line 268:
 
|<pre>[[Image:AUS.jpg|25px]]</pre>
 
|<pre>[[Image:AUS.jpg|25px]]</pre>
 
|align=center|[[Image:AUS.jpg|25px]]
 
|align=center|[[Image:AUS.jpg|25px]]
 +
|-
 +
|Japan
 +
|<pre>[[Image:JAP.jpg|25px]]</pre>
 +
|align=center|[[Image:JAP.jpg|25px]]
 +
|-
 +
|Italy
 +
|<pre>[[Image:ITA.jpg|25px]]</pre>
 +
|align=center|[[Image:ITA.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]]
 +
|-
 
|}
 
|}
 
<br clear=all>
 
<br clear=all>
[[category:Templates]]
+
[[Category:Infobox]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:39, 18 November 2022


{{Infobox TV|{{PAGENAME}}
|name= Name of TV Show 
|picture = image_name.jpg
|caption = Caption for Image
|country = [[File:Flag Name.jpg|25px]] Country (See Below for flag file names)
|channel =  Channel
|genre = Genre 1 <br> Genre 2 <br>...
|creator = Creator 1 <br> Creator 2 <br>...
|dates = Broadcast Years (YEARS ONLY)
|language = Spoken Language (Include ONLY if not English)
|seasons = Number of Seasons
|episodes = Number of Episodes
|character1=Name of Character 1
|actor1=[[Name of Actor 1]]
|character2=Name of Character 2
|actor2=[[Name of Actor 2]]
...
|character10=Name of Character 10
|actor10=[[Name of Actor 10]]
}}

NOTES

  • Any other values that are omitted or left blank, will not be output in the template. I.E. if you you don't supply a channel, the line will not be included in the Infobox
  • You can use up to 10 different Character/Actor combinations. If your show absolutely needs to have more then 10, post a comment on the discussion page and I will address it.


Example

Using the following:

{{Infobox TV|{{PAGENAME}}
|name=CSI: NY
|picture = CSINYPoster.jpg
|caption =
|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)
|character1=Det. Mac Taylor
|actor1=[[Gary Sinise]]
|character2=Det. Don Flack
|actor2=[[Eddie Cahill]]
|character3=Det. Stella Bonasera
|actor3=[[Melina Kanakaredes]]
|character4 =Det. Danny Messer
|actor4=[[Carmine Giovinazzo]]
|character5=Det. Lindsay Messer
|actor5=[[Anna Belknap]]
|character6=Jo Danville
|actor6=[[Sela Ward]] 
}}

Results 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)
No. of Episodes 180 (As of 4/24/12)
Main Cast
Character Actor
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


Country specific Flag Codes

Country Flag code Output
United States
[[Image:USA.jpg|25px]]
Flag of the United States.jpg
Canada
[[Image:CAN.jpg|25px]]
CAN.jpg
India
[[Image:IND.jpg|25px]]
IND.jpg
Russia
[[Image:RUS.jpg|25px]]
RUS.jpg
Soviet Union
[[Image:SOV.jpg|25px]]
SOV.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
Japan
[[Image:JAP.jpg|25px]]
Japan.jpg
Italy
[[Image:ITA.jpg|25px]]
ITA.jpg
Hong Kong (pre-1997)
[[Image:HOK.jpg|25px]]
HOK.jpg
Hong Kong (post-1997)
[[Image:HKG.jpg|25px]]
HKG.jpg
France
[[Image:FRA.jpg|25px]]
FRA.jpg
Sweden
[[Image:SWE.jpg|25px]]
SWE.jpg



Do Not Sell My Personal Information