Difference between revisions of "Template:User infobox"

From TMB Wiki
Jump to: navigation, search
m
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| 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="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"
 
|-
 
|-
| colspan="2" style="text-align:center; font-size:larger; background-color:#6699CC; color:#000000<nowiki/>;" | {{{username}}}
+
| colspan="2" style="text-align:center; font-size:larger; background-color:#6699CC; color:#000000<nowiki/>;" | {{PAGENAME}}
|-
 
|colspan="2" style="text-align:center; font-size:90%;"| {{#if:{{{image|}}}|<!--then:-->[[Image:{{{image}}}|220px| ]] }}
 
|-
 
|'''Real Name'''
 
|{{{realname}}}
 
|-
 
|'''Age'''
 
|{{{age|{{{dobyear}}}|{{{dobmonth}}}|{{{dobday}}}}}}
 
|-
 
|'''Location'''
 
|{{{Location}}}
 
|-
 
|'''Occupation'''
 
|{{{occupation}}}
 
 
|-
 
|-
 +
{{#if: {{{image}}} |
 +
{{!}} colspan="2" style="text-align:center; font-size:90%;" {{!}} [[Image:{{{image}}}|220px]]
 +
{{!}}-
 +
|}}
 +
{{#if: {{{realname|<noinclude>-</noinclude>}}} |
 +
! '''Real Name'''
 +
{{!}} {{{realname}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{dobmonth|}}} |
 +
    {{#if: {{{dobyear|}}} |
 +
        {{#if: {{{dobday|}}}  |
 +
            ! '''Age'''
 +
            {{!}} {{age|{{{dobyear}}}|{{{dobmonth}}}|{{{dobday}}}}}
 +
            {{!}}-
 +
        }}
 +
    }}
 +
}}
 +
{{#if: {{{location|<noinclude>-</noinclude>}}} |
 +
! '''Location'''
 +
{{!}} {{{location}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{occupation|<noinclude>-</noinclude>}}} |
 +
! '''Occupation'''
 +
{{!}} {{{occupation}}}
 +
{{!}}-
 +
}}
 
|}
 
|}
 
+
__TOC__
 +
<br clear="all" />
 +
<includeonly>[[Category:User Pages|{{PAGENAME}}]]</includeonly>
 
<noinclude>
 
<noinclude>
 +
<br clear="all" />
 +
==Usage==
 
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
 
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
<pre>{{Infobox actor
+
<pre>{{User_infobox
| bgcolour      =  
+
| realname    =  
| name          =  
+
| image        =  
| image        =  
+
| dobyear      =
| imagesize     =  
+
| dobmonth     =
| caption       =
+
| dobday       =
| birthname    =
+
| location    =
| birthdate    =  
+
| occupation   =
| location     =
 
| deathdate     =  
 
| deathplace    =
 
| othername    =
 
| yearsactive   =
 
| spouse        =
 
| homepage      =
 
| notable role  =
 
| academyawards =
 
| emmyawards    =
 
| tonyawards    =  
 
 
}}</pre>
 
}}</pre>
 
</div>
 
</div>
 
</noinclude>
 
</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(24)<({{{dobday}}}))}}
           |-
       }}
   }}

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

Contents




Usage

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