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" align={{#if:{{{align|}}}|{{{align}}}|right}}
+
<includeonly>
| colspan=2 style="color:orange" | {{{username}}}
+
{| style="text-align:center; width:200px; color:white; border:1px solid orange" {{#if:{{{align|}}}|align={{{align}}}|align="right"}}
 +
| style="color:orange" | '''{{{name}}}'''
 +
|-
 +
| style="font-size:80%; color:#dddddd" |{{#if:{{{title|}}}|{{{title}}}}}
 
|-
 
|-
| {{#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%">
+
| {{#if:{{{avatar|}}}|[[Image:{{{avatar}}}|120]]}}
 +
|-
 +
| style="font-size:80%; color:orange"| {{#if: {{{extraFilesMember|}}}|[[Image:ExtraFilesGray.gif]] Extra Files Member|<BR>}}
 +
|-
 +
| style="witch:100%" |{{#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>}}<!--
  
Line 17: Line 24:
 
{{{interests}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
 
{{{interests}}}</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:40%">Sex</td><td style="width:60%">
+
-->{{#if: {{{occupation|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:40%">Occupation</td><td style="width:60%">
{{{sex}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
+
{{{occupation}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
  
 
-->{{#if: {{{custom1title|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:40%">{{{custom1title}}}</td><td style="width:60%">
 
-->{{#if: {{{custom1title|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:40%">{{{custom1title}}}</td><td style="width:60%">
Line 31: Line 38:
 
-->
 
-->
 
|-
 
|-
| style="text-align:center; text-size:75%" | [[Template:UserBox|view this template]]
+
|<table style="width:100%; background:black; border; text-align:center" cellpadding=0 cellspacing=0><tr><td style="border:2px solid #202020">
|}</includeonly><noinclude><!--
+
{{#if:{{{pm|}}}|<span class="plainlinks">[http://littleangelshentai.net/forum/privmsg.php?mode=post&u={{{pm}}} PM]</span>
 
+
|PM}}</td><td style="border:2px solid #202020">
 
+
{{#if:{{{email|}}}|<span class="plainlinks">[mailto:{{{email}}} EMAIL]</span>
-->{{UserBox
+
|EMAIL}}</td><td style="border:2px solid #202020">
|username=User Name
+
{{#if:{{{skype|}}}|<span class="plainlinks">[skype:{{{skype}}} SKYPE]</span>
 +
|SKYPE}}</td><td style="border:2px solid #202020">
 +
{{#if:{{{aim|}}}|<span class="plainlinks">[aim:goim?screenname={{{aim}}}&message=Hello+Are+you+there? AIM]</span>
 +
|AIM}}</td></tr></table>
 +
|}</includeonly>
 +
<noinclude>
 +
{{UserBox
 +
|name=UserName
 +
|title=Example Angel
 +
|avatar=ExampleAvvy.png
 +
|extraFilesMember=yes
 
|date=Example
 
|date=Example
 
|age=Example
 
|age=Example
Line 53: Line 70:
  
 
==Usage==
 
==Usage==
This is an infobox designed for user information and is meant to be included in UserPages only.
+
This is an infobox designed for user information and is meant to be included in UserPages only. It is designed to resemble the member's sidebar when posting in [http://littleangelshentai.net/forum/index.php the forum]. If you are not a member of the forum, omit the title, avatar, extraFilesMember and date fields.
  
 
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. If left blank, will default to right.
 
*'''align''' - how it will align to the page. If left blank, will default to right.
*'''username''' - your username
+
*'''name''' - your username
 +
* '''title''' - Your LAH title
 +
* '''avatar''' - The file name of you avatar, which you must [[Special:Upload|upload]] to the LAH Wiki server. The <nowiki>[[Image:]]</nowiki> tag is not necessary, and the template will resize the image to 120px wide.  This template isn't designed for avatars of dimensions other than 120x120.  If you have an avatar that isn't this size, you may request a custom Member Box on the talk page.
 +
* '''extraFilesMember''' - if you are an Extra Files member, enter anything in this field and your star will appear. If you are not a member, please leave it blank.
 
*'''date''' - if a member of the LAH forum, the date you joined
 
*'''date''' - if a member of the LAH forum, the date you joined
 
*'''age''' - your age
 
*'''age''' - your age
Line 70: Line 90:
 
*'''custom2data''' - the data for for custom field 2
 
*'''custom2data''' - the data for for custom field 2
 
*'''custom3title''' - a title for a custom field
 
*'''custom3title''' - a title for a custom field
*'''custom3data''' - the data for for custom field 3
+
*'''pm''' - for a PM link in the quick contacts fields. enter your LAH user ID.  you can find your user ID by clicking on profile under any of your posts; the number at the end of the URL is your user ID.
 +
*'''email''' - your email address
 +
*'''skype''' - your skype username
 +
*'''aim''' - your AIM address
  
 
==Code==
 
==Code==
The code to include in your page is
+
The code to include in the article is
 
<pre>
 
<pre>
 
{{UserBox
 
{{UserBox
 
|align=
 
|align=
|username=
+
|name=
 +
|title=
 +
|avatar=
 +
|extraFilesMember=
 
|date=
 
|date=
 
|age=
 
|age=
Line 90: Line 116:
 
|custom3title=
 
|custom3title=
 
|custom3data=
 
|custom3data=
 +
|pm=
 +
|email=
 +
|skype=
 +
|aim=
 
}}</pre>
 
}}</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 12:24, 17 May 2008

Personal tools