Difference between revisions of "Template:User infobox"

From TMB Wiki
Jump to: navigation, search
m
m
Line 13: Line 13:
 
}}
 
}}
 
{{#if: {{{dobmonth}}} |  
 
{{#if: {{{dobmonth}}} |  
     {{#if: {{{dobmonth}}} |  
+
     {{#if: {{{dobyear}}} |  
         {{#if: {{{dobmonth}}}  |
+
         {{#if: {{{dobday}}}  |
 
         ! '''Age'''  
 
         ! '''Age'''  
 
         {{!}} {{age|{{{dobyear}}}|{{{dobmonth}}}|{{{dobday}}}}}
 
         {{!}} {{age|{{{dobyear}}}|{{{dobmonth}}}|{{{dobday}}}}}

Revision as of 18:30, 9 April 2007

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

}

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

   {{#if: {{{dobyear}}} | 
       {{#if: {{{dobday}}}  |
       ! 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   =
}}