Difference between revisions of "Template:UserBox"

From LAH Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{| style="width:200px; border:1px solid dimgray; text-align:center"
+
<includeonly>{| style="width:200px; border:1px solid dimgray; text-align:center" align={{#if:{{{align|}}}|{{{align}}}|right}}
 
| colspan=2 style="color:orange" | {{{username}}}
 
| colspan=2 style="color:orange" | {{{username}}}
 
|-
 
|-
| {{#if: {{{date|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:50%">Joined LAH</td><td style="width:50%">
+
| {{#if: {{{date|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:40%">Joined LAH</td><td style="width:60%">
 
{{{date}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
 
{{{date}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
  
-->{{#if: {{{age|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:50%">Age</td><td style="width:50%">
+
-->{{#if: {{{age|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width50%">Age</td><td style="width:50%">
 
{{{age}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
 
{{{age}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
  
-->{{#if: {{{sex|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:50%">Sex</td><td style="width:50%">
+
-->{{#if: {{{sex|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width45%">Sex</td><td style="width:55%">
 
{{{sex}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
 
{{{sex}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
  
Line 20: Line 20:
 
{{{sex}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
 
{{{sex}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
  
-->{{#if: {{{occupation|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:50%">Occupation</td><td style="width:50%">
+
-->{{#if: {{{custom1title|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:50%">{{{custom1title}}}</td><td style="width:50%">
{{{occupation}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
+
{{{custom1data}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
 +
 
 +
-->{{#if: {{{custom2title|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:50%">{{{custom2title}}}</td><td style="width:50%">
 +
{{{custom2data}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
 +
 
 +
-->{{#if: {{{custom3title|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:50%">{{{custom3title}}}</td><td style="width:50%">
 +
{{{custom3data}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
  
 
-->
 
-->
Line 30: Line 36:
  
 
-->{{UserBox
 
-->{{UserBox
|align=center
 
 
|username=User Name
 
|username=User Name
 
|date=Example
 
|date=Example
Line 39: Line 44:
 
*Example
 
*Example
 
|occupation=Example
 
|occupation=Example
 +
|custom1title=Custom 1
 +
|custom1data=Example
 +
|custom2title=Custom 2
 +
|custom2data=Example
 +
|custom3title=Custom 3
 +
|custom3data=Example
 
}}
 
}}
  
Line 46: Line 57:
 
You may include any or none of the following information, and personal information is not at all required, nor need it be in any way accurate.
 
You may include any or none of the following information, and personal information is not at all required, nor need it be in any way accurate.
  
*'''align''' - how it will align to the page.
+
*'''align''' - how it will align to the page. If left blank, will default to right.
 
*'''username''' - your username
 
*'''username''' - your username
 
*'''date''' - if a member of the LAH forum, the date you joined
 
*'''date''' - if a member of the LAH forum, the date you joined
Line 54: Line 65:
 
*'''interests''' - what interests you have. the template accepts bulleted lists, so you can list a number of things easily.
 
*'''interests''' - what interests you have. the template accepts bulleted lists, so you can list a number of things easily.
 
*'''occupation''' - what you do
 
*'''occupation''' - what you do
 +
*'''custom1title''' - a title for a custom field
 +
*'''custom1data''' - the data for for custom field 1
 +
*'''custom2title''' - a title for a custom field
 +
*'''custom2data''' - the data for for custom field 2
 +
*'''custom3title''' - a title for a custom field
 +
*'''custom3data''' - the data for for custom field 3
  
 
==Code==
 
==Code==
Line 67: Line 84:
 
|interests=
 
|interests=
 
|occupation=
 
|occupation=
 +
|custom1title=
 +
|custom1data=
 +
|custom2title=
 +
|custom2data=
 +
|custom3title=
 +
|custom3data=
 
}}</pre>
 
}}</pre>
 
</noinclude>
 
</noinclude>

Revision as of 12:33, 16 July 2007

Personal tools