Template:Infobox user: Difference between revisions
mNo edit summary |
(Recoding) |
||
Line 1: | Line 1: | ||
{| | <includeonly>{{infobox | ||
|name = | |||
|bodystyle = background-color: #F0F0FA; | |||
|title = User | |||
|titlestyle = font-size: 90%; | |||
{{ | text-transform: uppercase; | ||
{{ | background-color: #EEE; | ||
border: 1px solid #AAA; | |||
{{#if: {{{ | border-bottom: none; | ||
{{ | |above = {{BASEPAGENAME}} | ||
|abovestyle = font-size: 150%; | |||
{{ | |||
{{ | |image = [[File:{{{image||GTW-logo.png}}}|{{#if:{{{size|}}}|{{{size|}}}|170px}}|center|{{{caption}}}]] | ||
|imagestyle = {{{imagestyle|}}} | |||
|caption = {{{caption|}}} | |||
|captionstyle = {{{captionstyle|}}} | |||
|headerstyle = background:#444; color: #fff; | |||
|labelstyle = background:#ddd; | |||
|datastyle = | |||
|header1 = | |||
|label1 = Full Name | |||
|data1 = {{{name|}}} | |||
|label2 = Also Known As | |||
|data2 = {{{aka|}}} | |||
|label3 = Rank | |||
|data3 = {{{rank|}}} | |||
|label4 = gender | |||
|data4 = {{#if: {{#ifeq: {{{gender|}}}|M|M}}|Male|{{#if: {{#ifeq: {{{gender|}}}|F|F}}|Female}}|}}}} | |||
|label5 = Date of Birth | |||
|data5 = {{#if: {{{dob|}}}|[[{{#time: Y |{{{dob|}}}}}|{{{dob}}}]][[DOB::{{{dob|}}}| ]] {{{dob-comment|}}} | |||
}} | }} | ||
|label6 = Age | |||
|data6 = | |||
{{#if: {{{dob|}}}| | |||
{{#iferror:{{#time: Y |{{{dob|abc}}}}} | <!-- dob error -->[[Category:Fix dob]] | | |||
{{age|{{#time: Y |{{{dob}}} | |||
{{#if: {{{ | }}| {{{age|}}} }} | ||
{{ | |||
|label7 = Place of Birth | |||
|data7 = {{{pob|}}} | |||
|label8 = Nationality | |||
|data8 = {{#if: {{{nationality|}}}|[[{{Country|{{{nationality}}}}}|{{Nationality|{{{nationality}}}}}]][[Nationality::{{nationality|{{{nationality|}}}}}| ]]}} | |||
{{ | |label9 = Home | ||
{{# | |data9 = {{{home|}}} | ||
|label10 = Family | |||
|data10 = {{{family|}}} | |||
{{ | |||
|label11 = Friends | |||
|data11 = {{{friends|}}} | |||
{{#if: {{{ | |||
{{ | |label12 = Affiliations | ||
|data12 = {{{affiliations|}}} | |||
{ | |||
{{ | |label13 = Favourite Game | ||
|data13 = {{game|{{{game}}}}} | |||
{{ | |||
|label14 = Vehicles | |||
|data14 = {{{vehicles|}}} | |||
{{ | |||
|label15 = Businesses | |||
}} | |data15 = {{{businesses|}}} | ||
}}</noinclude><noinclude>{{doc}} | |||
[[Category:Infobox Templates]] | |||
</noinclude> | |||
{{ | |||
{{ | |||
{{ | |||
{ | |||
{{ | |||
}} | |||
<noinclude>{{doc}}</noinclude> |