Difference between revisions of "Template:User infobox"

From TMB Wiki
Jump to: navigation, search
m
 
(80 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="width: 20em; text-align: left; font-size: 90%" cellspacing="2"
+
{| style="width:21em; font-size:90%;border:1px solid #aaa;background-color:#f9f9f9;color:black;margin-bottom:0.5em;margin-left 1em;padding:0.2em;float:right;clear:right;" cellspacing="2"
! style="font-size: 120%; background: {{{bgcolour|{{Television colour|{{{show_name}}}}}}}}; text-align: center;" colspan="2" | ''{{{show_name}}}''
 
 
|-
 
|-
{{#if: {{{image|<noinclude>-</noinclude>}}} |
+
| colspan="2" style="text-align:center; font-size:larger; background-color:#6699CC; color:#000000<nowiki/>;" | {{PAGENAME}}
{{!}} style="text-align: center;" colspan="2" {{!}} {{{image}}} {{#if: {{{caption|<noinclude>-</noinclude>}}} |<br/><small>{{{caption}}}}}</small>
+
|-
{{!}}-
+
{{#if: {{{image}}} |  
}}
+
{{!}} colspan="2" style="text-align:center; font-size:90%;" {{!}} [[Image:{{{image}}}|220px]]
{{#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>}}} |
+
{{#if: {{{realname|<noinclude>-</noinclude>}}} |
! Narrated&nbsp;by
+
! '''Real Name'''
{{!}} {{{narrated}}}
+
{{!}} {{{realname}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{theme_music_composer|<noinclude>-</noinclude>}}} |
+
{{#if: {{{dobmonth|}}} |  
! Theme music composer
+
    {{#if: {{{dobyear|}}} |  
{{!}} {{{theme_music_composer}}}
+
        {{#if: {{{dobday|}}}  |
{{!}}-
+
            ! '''Age'''
}}
+
            {{!}} {{age|{{{dobyear}}}|{{{dobmonth}}}|{{{dobday}}}}}
{{#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>}}} |
 
{{#if: {{{location|<noinclude>-</noinclude>}}} |
! Location
+
! '''Location'''
 
{{!}} {{{location}}}
 
{{!}} {{{location}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{camera|<noinclude>-</noinclude>}}} |
+
{{#if: {{{occupation|<noinclude>-</noinclude>}}} |
! Camera&nbsp;setup
+
! '''Occupation'''
{{!}} {{{camera}}}
+
{{!}} {{{occupation}}}
{{!}}-
 
}}
 
{{#if: {{{runtime|<noinclude>-</noinclude>}}} |
 
! Running&nbsp;time
 
{{!}} {{{runtime}}}
 
{{!}}-
 
}}
 
|
 
}}
 
! style="font-size: 100%; background: {{{bgcolour|{{Television colour|{{{show_name}}}}}}}}; text-align: center;" colspan="2" | Broadcast
 
|-
 
{{#ifeq: {{#expr: {{#if:{{{channel|}}}|1|0}} or {{#if:{{{network|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
 
! Original channel
 
{{!}} {{#if: {{{network|<noinclude>-</noinclude>}}} | {{{network}}} | {{{channel}}} }}
 
{{!}}-
 
| }}
 
{{#if: {{{picture_format|<noinclude>-</noinclude>}}} |
 
! Picture&nbsp;format
 
{{!}} {{{picture_format}}}
 
{{!}}-
 
}}
 
{{#if:{{{audio_format|<noinclude>-</noinclude>}}}|
 
! 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}}}
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
|
+
|}
}}
+
__TOC__
{{#ifeq: {{#expr: {{#if:{{{website|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{imdb_id|}}}|1|0}} or {{#if:{{{tv_com_id|}}}|1|0}} }} | 1 |
+
<br clear="all" />
! style="font-size: 100%; background: {{{bgcolour|{{Television colour|{{{show_name}}}}}}}}; text-align: center;" colspan="2" {{!}} Links
+
<includeonly>[[Category:User Pages|{{PAGENAME}}]]</includeonly>
{{!}}-
+
<noinclude>
{{#if: {{{website|<noinclude>-</noinclude>}}} |
+
<br clear="all" />
! colspan="2" style="text-align: center;" {{!}} [{{{website}}} Official website]
+
==Usage==
{{!}}-
+
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
}}
+
<pre>{{User_infobox
{{#if: {{{imdb_id|<noinclude>-</noinclude>}}} |
+
| realname    =
! colspan="2" style="text-align: center;" {{!}} [http://imdb.com/title/tt{{{imdb_id}}}/ IMDb profile]
+
| image        =
{{!}}-
+
| dobyear      =
}}
+
| dobmonth    =
{{#if: {{{tv_com_id|<noinclude>-</noinclude>}}} |
+
| dobday      =
! colspan="2" style="text-align: center;" {{!}} [http://tv.com/show/{{{tv_com_id}}}/summary.html TV.com summary]
+
| location    =
{{!}}-
+
| occupation  =
}}
+
}}</pre>
|
+
</div>
}}
+
</noinclude>
|}<noinclude>{{template doc}}{{sprotected2}}</noinclude>
 

Latest revision as of 18:32, 9 April 2007

{{#if: {{{image}}} |
User infobox
[[Image:{{{image}}}|220px]]

}

{{#if: - | ! Real Name | {{{realname}}} |- }} {{#if: |

   {{#if:  | 
       {{#if:   |
           ! Age 
           | {{#expr:(2024)-({{{dobyear}}})-((11)<({{{dobmonth}}})or(11)=({{{dobmonth}}})and(22)<({{{dobday}}}))}}
           |-
       }}
   }}

}} {{#if: - | ! Location | {{{location}}} |- }} {{#if: - | ! Occupation | {{{occupation}}} |- }} |}

Contents




Usage

{{User_infobox
| realname     = 
| image        = 
| dobyear      =
| dobmonth     =
| dobday       =
| location     =
| occupation   =
}}