Difference between revisions of "Template:User infobox"

From TMB Wiki
Jump to: navigation, search
m
m
 
(9 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{(dobyear&dobmonth&dobday)|<noinclude>-</noinclude>}} |
+
{{#if: {{{dobmonth|}}} |
! '''Age'''  
+
    {{#if: {{{dobyear|}}} |
{{!}} {{age|{{{dobyear}}}|{{{dobmonth}}}|{{{dobday}}}}}
+
        {{#if: {{{dobday|}}|
{{!}}-
+
            ! '''Age'''  
 +
            {{!}} {{age|{{{dobyear}}}|{{{dobmonth}}}|{{{dobday}}}}}
 +
            {{!}}-
 +
        }}
 +
    }}
 
}}
 
}}
 
{{#if: {{{location|<noinclude>-</noinclude>}}} |
 
{{#if: {{{location|<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(21)<({{{dobday}}}))}}
           |-
       }}
   }}

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

Contents




Usage

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