Difference between revisions of "Template:User infobox"

From TMB Wiki
Jump to: navigation, search
(New page: {| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%;" |- | colspan="2" style="text-align:center; font-size: large;" | '''{{{name}}}''' |- | colspan="2" style="...)
 
Line 1: Line 1:
{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%;"
+
{| class="infobox" style="width: 20em; text-align: left; font-size: 90%" cellspacing="2"
 +
! style="font-size: 120%; background: {{{bgcolour|{{Television colour|{{{show_name}}}}}}}}; text-align: center;" colspan="2" | ''{{{show_name}}}''
 
|-
 
|-
| colspan="2" style="text-align:center; font-size: large;" | '''{{{name}}}'''
+
{{#if: {{{image|<noinclude>-</noinclude>}}} |  
 +
{{!}} style="text-align: center;" colspan="2" {{!}} {{{image}}} {{#if: {{{caption|<noinclude>-</noinclude>}}} |<br/><small>{{{caption}}}}}</small>
 +
{{!}}-
 +
}}
 +
{{#if: {{{genre|<noinclude>-</noinclude>}}} |
 +
! Genre
 +
{{!}} {{{genre}}}
 +
{{!}}-
 +
| {{#if: {{{format|<noinclude>-</noinclude>}}} |
 +
! Genre
 +
{{!}} {{{format}}}
 +
{{!}}-
 +
}}}}
 +
{{#if: {{{creator|<noinclude>-</noinclude>}}} |
 +
! Creator(s)
 +
{{!}} {{{creator}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{developer|<noinclude>-</noinclude>}}} |
 +
! Developer(s)
 +
{{!}} {{{developer}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{presenter|<noinclude>-</noinclude>}}} |
 +
! Presenter(s)
 +
{{!}} {{{presenter}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{starring|<noinclude>-</noinclude>}}} |
 +
! Starring
 +
{{!}} {{{starring}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{voices|<noinclude>-</noinclude>}}} |
 +
! Voices&nbsp;of
 +
{{!}} {{{voices}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{narrated|<noinclude>-</noinclude>}}} |
 +
! Narrated&nbsp;by
 +
{{!}} {{{narrated}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{theme_music_composer|<noinclude>-</noinclude>}}} |
 +
! Theme music composer
 +
{{!}} {{{theme_music_composer}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{opentheme|<noinclude>-</noinclude>}}} |
 +
! Opening&nbsp;theme
 +
{{!}} {{{opentheme}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{endtheme|<noinclude>-</noinclude>}}} |
 +
! Ending&nbsp;theme
 +
{{!}} {{{endtheme}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{country|<noinclude>-</noinclude>}}} |
 +
! Country&nbsp;of&nbsp;origin
 +
{{!}} {{{country}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{language|<noinclude>-</noinclude>}}} |
 +
! Language(s)
 +
{{!}} {{{language}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{num_seasons|<noinclude>-</noinclude>}}} |
 +
!  No. of seasons
 +
{{!}} {{{num_seasons}}}
 +
{{!}}-
 +
| {{#if: {{{num_series|<noinclude>-</noinclude>}}} |
 +
! No. of series
 +
{{!}} {{{num_series}}}
 +
{{!}}-
 +
}}}}
 +
{{#if: {{{num_episodes|<noinclude>-</noinclude>}}} |
 +
! No.&nbsp;of&nbsp;episodes
 +
{{!}} {{{num_episodes}}} {{#if: {{{list_episodes|<noinclude>-</noinclude>}}} | ([[{{{list_episodes}}}|List&nbsp;of&nbsp;episodes]])}}
 +
{{!}}-
 +
}}
 +
{{#ifeq: {{#expr: {{#if:{{{producer|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{executive_producer|}}}|1|0}} or {{#if:{{{location|}}}|1|0}} or {{#if:{{{camera|}}}|1|0}} or {{#if:{{{runtime|}}}|1|0}} }} | 1 |
 +
! style="font-size: 100%; background: {{{bgcolour|{{Television colour|{{{show_name}}}}}}}}; text-align: center;" colspan="2" {{!}} Production
 +
{{!}}-
 +
{{#if: {{{producer|<noinclude>-</noinclude>}}} |
 +
! Producer(s)
 +
{{!}} {{{producer}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{executive_producer|<noinclude>-</noinclude>}}} |
 +
! Executive producer(s)
 +
{{!}} {{{executive_producer}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{location|<noinclude>-</noinclude>}}} |
 +
! Location
 +
{{!}} {{{location}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{camera|<noinclude>-</noinclude>}}} |
 +
! Camera&nbsp;setup
 +
{{!}} {{{camera}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{runtime|<noinclude>-</noinclude>}}} |
 +
! Running&nbsp;time
 +
{{!}} {{{runtime}}}
 +
{{!}}-
 +
}}
 +
|
 +
}}
 +
! style="font-size: 100%; background: {{{bgcolour|{{Television colour|{{{show_name}}}}}}}}; text-align: center;" colspan="2" | Broadcast
 
|-
 
|-
| colspan="2" style="text-align:center;" | [[Image:{{{image}}}|300px| ]]<br>{{{caption}}}
+
{{#ifeq: {{#expr: {{#if:{{{channel|}}}|1|0}} or {{#if:{{{network|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
|-  
+
! Original channel
! Data 1:
+
{{!}} {{#if: {{{network|<noinclude>-</noinclude>}}} | {{{network}}} | {{{channel}}} }}
| {{{data1}}}
+
{{!}}-
|-  
+
| }}
! Data 2:
+
{{#if: {{{picture_format|<noinclude>-</noinclude>}}} |
| {{{data2|''this text displayed if data2 not defined''}}}
+
! Picture&nbsp;format
|-  
+
{{!}} {{{picture_format}}}
! Data 3 (data hidden if data3 empty or not defined):
+
{{!}}-
| {{{data3|}}}
+
}}
|-
+
{{#if:{{{audio_format|<noinclude>-</noinclude>}}}|
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
+
! Audio&nbsp;format
|}
+
{{!}} {{{audio_format}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{first_run|<noinclude>-</noinclude>}}} |
 +
! First&nbsp;shown&nbsp;in
 +
{{!}} {{{first_run}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{first_aired|<noinclude>-</noinclude>}}} |
 +
! Original run
 +
{{!}} {{{first_aired}}} – {{{last_aired|}}}
 +
{{!}}-
 +
}}
 +
{{#ifeq: {{#expr: {{#if:{{{preceded_by|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{followed_by|}}}|1|0}} or {{#if:{{{related|}}}|1|0}} }} | 1 |
 +
! style="font-size: 100%; background: {{{bgcolour|{{Television colour|{{{show_name}}}}}}}}; text-align: center;" colspan="2" {{!}} Chronology
 +
{{!}}-
 +
{{#if:{{{preceded_by|<noinclude>-</noinclude>}}} |
 +
! Preceded&nbsp;by
 +
{{!}} {{{preceded_by}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{followed_by|<noinclude>-</noinclude>}}} |
 +
! Followed&nbsp;by
 +
{{!}} {{{followed_by}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{related|<noinclude>-</noinclude>}}} |
 +
! Related shows
 +
{{!}} {{{related}}}
 +
{{!}}-
 +
}}
 +
|
 +
}}
 +
{{#ifeq: {{#expr: {{#if:{{{website|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{imdb_id|}}}|1|0}} or {{#if:{{{tv_com_id|}}}|1|0}} }} | 1 |
 +
! style="font-size: 100%; background: {{{bgcolour|{{Television colour|{{{show_name}}}}}}}}; text-align: center;" colspan="2" {{!}} Links
 +
{{!}}-
 +
{{#if: {{{website|<noinclude>-</noinclude>}}} |
 +
! colspan="2" style="text-align: center;" {{!}} [{{{website}}} Official website]
 +
{{!}}-
 +
}}
 +
{{#if: {{{imdb_id|<noinclude>-</noinclude>}}} |
 +
! colspan="2" style="text-align: center;" {{!}} [http://imdb.com/title/tt{{{imdb_id}}}/ IMDb profile]
 +
{{!}}-
 +
}}
 +
{{#if: {{{tv_com_id|<noinclude>-</noinclude>}}} |
 +
! colspan="2" style="text-align: center;" {{!}} [http://tv.com/show/{{{tv_com_id}}}/summary.html TV.com summary]
 +
{{!}}-
 +
}}
 +
|
 +
}}
 +
|}<noinclude>{{template doc}}{{sprotected2}}</noinclude>

Revision as of 18:10, 8 April 2007

{{#if: - | }} {{#if: - | }}}} {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#if: - | }}}} {{#if: - | }} {{#ifeq: {{#expr: {{#if:-|1|0}} or {{#if:|1|0}} or {{#if:|1|0}} or {{#if:|1|0}} or {{#if:|1|0}} }} | 1 | {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#if: - | }} {{#ifeq: {{#expr: {{#if:|1|0}} or {{#if:-|1|0}} }} | 1 | }} {{#if:-| }} {{#if: - | }} {{#if: - | }} {{#ifeq: {{#expr: {{#if:-|1|0}} or {{#if:|1|0}} or {{#if:|1|0}} }} | 1 | {{#if:- | }} {{#if:- | }} {{#if:- | }} {{#if: - | }} {{#if: - | }} {{#if: - | }}
style="font-size: 120%; background: Template:Television colour; text-align: center;" colspan="2" | {{{show_name}}}
{{{image}}} {{#if: - |
{{{caption}}}}}
Genre {{{genre}}}
Genre {{{format}}}
Creator(s) {{{creator}}}
Developer(s) {{{developer}}}
Presenter(s) {{{presenter}}}
Starring {{{starring}}}
Voices of {{{voices}}}
Narrated by {{{narrated}}}
Theme music composer {{{theme_music_composer}}}
Opening theme {{{opentheme}}}
Ending theme {{{endtheme}}}
Country of origin {{{country}}}
Language(s) {{{language}}}
No. of seasons {{{num_seasons}}}
No. of series {{{num_series}}}
No. of episodes ([[{{{list_episodes}}}|List of episodes]])}}
style="font-size: 100%; background: Template:Television colour; text-align: center;" colspan="2" | Production
Producer(s) {{{producer}}}
Executive producer(s) {{{executive_producer}}}
Location {{{location}}}
Camera setup {{{camera}}}
Running time {{{runtime}}}

}}

style="font-size: 100%; background: Template:Television colour; text-align: center;" colspan="2" | Broadcast
Original channel {{{network}}} | {{{channel}}} }}
}}

{{#if: - |

Picture format {{{picture_format}}}
Audio format {{{audio_format}}}
First shown in {{{first_run}}}
Original run {{{first_aired}}} –
style="font-size: 100%; background: Template:Television colour; text-align: center;" colspan="2" | Chronology
Preceded by {{{preceded_by}}}
Followed by {{{followed_by}}}
Related shows {{{related}}}

}} {{#ifeq: {{#expr: {{#if:-|1|0}} or {{#if:|1|0}} or {{#if:|1|0}} }} | 1 |

style="font-size: 100%; background: Template:Television colour; text-align: center;" colspan="2" | Links
[{{{website}}} Official website]
IMDb profile
TV.com summary

}}

Template:Template docTemplate:Sprotected2