Difference between revisions of "Template:User infobox"
From TMB Wiki
m |
m |
||
| (34 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%;" | + | {{#if: {{{image}}} | |
| − | |- | + | {{!}} colspan="2" style="text-align:center; font-size:90%;" {{!}} [[Image:{{{image}}}|220px]] |
| − | + | {{!}}- | |
| − | + | |}} | |
| − | | | + | {{#if: {{{realname|<noinclude>-</noinclude>}}} | |
| − | |'''Age''' | + | ! '''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> | ||
<br clear="all" /> | <br clear="all" /> | ||
| − | |||
==Usage== | ==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>{{User_infobox | <pre>{{User_infobox | ||
| − | |||
| realname = | | realname = | ||
| image = | | image = | ||
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:(2025)-({{{dobyear}}})-((12)<({{{dobmonth}}})or(12)=({{{dobmonth}}})and(6)<({{{dobday}}}))}}
|-
}}
}}
}} {{#if: - | ! Location | {{{location}}} |- }} {{#if: - | ! Occupation | {{{occupation}}} |- }} |}
Contents
Usage
{{User_infobox
| realname =
| image =
| dobyear =
| dobmonth =
| dobday =
| location =
| occupation =
}}