Difference between revisions of "Template:User infobox"

From TMB Wiki
Jump to: navigation, search
m
m
 
(24 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
| colspan="2" style="text-align:center; font-size:larger; background-color:#6699CC; color:#000000<nowiki/>;" | {{PAGENAME}}
 
| 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%;"| [[Image:{{{image}}}|220px]]
+
{{#if: {{{image}}} |  
|-
+
{{!}} colspan="2" style="text-align:center; font-size:90%;" {{!}} [[Image:{{{image}}}|220px]]
|'''Real Name'''  
+
{{!}}-
|{{{realname}}}
+
|}}
|-
+
{{#if: {{{realname|<noinclude>-</noinclude>}}} |
|'''Age'''  
+
! '''Real Name'''  
|{{age|{{{dobyear}}}|{{{dobmonth}}}|{{{dobday}}}}}
+
{{!}} {{{realname}}}
|-
+
{{!}}-
|'''Location'''  
+
}}
|{{{location}}}
+
{{#if: {{{dobmonth|}}} |
|-
+
    {{#if: {{{dobyear|}}} |  
|'''Occupation'''  
+
        {{#if: {{{dobday|}}}  |
|{{{occupation}}}
+
            ! '''Age'''  
|-
+
            {{!}} {{age|{{{dobyear}}}|{{{dobmonth}}}|{{{dobday}}}}}
 +
            {{!}}-
 +
        }}
 +
    }}
 +
}}
 +
{{#if: {{{location|<noinclude>-</noinclude>}}} |
 +
! '''Location'''  
 +
{{!}} {{{location}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{occupation|<noinclude>-</noinclude>}}} |
 +
! '''Occupation'''  
 +
{{!}} {{{occupation}}}
 +
{{!}}-
 +
}}
 
|}
 
|}
 
__TOC__
 
__TOC__
 +
<br clear="all" />
 
<includeonly>[[Category:User Pages|{{PAGENAME}}]]</includeonly>
 
<includeonly>[[Category:User Pages|{{PAGENAME}}]]</includeonly>
 
<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(25)<({{{dobday}}}))}}
           |-
       }}
   }}

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

Contents




Usage

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