Difference between revisions of "Template:User infobox"

From TMB Wiki
Jump to: navigation, search
m
m
 
(21 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
|'''Real Name'''  
+
{{#if: {{{realname|<noinclude>-</noinclude>}}} |
|{{{realname}}}
+
! '''Real Name'''  
|-
+
{{!}} {{{realname}}}
|'''Age'''  
+
{{!}}-
|{{age|{{{dobyear}}}|{{{dobmonth}}}|{{{dobday}}}}}
+
}}
|-
+
{{#if: {{{dobmonth|}}} |
|'''Location'''  
+
    {{#if: {{{dobyear|}}} |  
|{{{location}}}
+
        {{#if: {{{dobday|}}}  |
|-
+
            ! '''Age'''  
|'''Occupation'''  
+
            {{!}} {{age|{{{dobyear}}}|{{{dobmonth}}}|{{{dobday}}}}}
|{{{occupation}}}
+
            {{!}}-
|-
+
        }}
 +
    }}
 +
}}
 +
{{#if: {{{location|<noinclude>-</noinclude>}}} |
 +
! '''Location'''  
 +
{{!}} {{{location}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{occupation|<noinclude>-</noinclude>}}} |
 +
! '''Occupation'''  
 +
{{!}} {{{occupation}}}
 +
{{!}}-
 +
}}
 
|}
 
|}
 
__TOC__
 
__TOC__

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   =
}}