Difference between revisions of "Template:UserBox"

From LAH Wiki
Jump to: navigation, search
(New page: {| style="width:200px; border:1px solid dimgray; text-align:center" | colspan=2 style="color:orange" | {{{username}}} |- | {{#if: {{{date|}}}|<table style="background:black; width:100%"><t...)
 
 
Line 1: Line 1:
{| style="width:200px; border:1px solid dimgray; text-align:center"
+
<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:50%">Joined LAH</td><td style="width:50%">
+
| {{#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>}}<!--
  
-->{{#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="width40%">Age</td><td style="width:60%">
 
{{{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="width40%">Sex</td><td style="width:60%">
 
{{{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: {{{location|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:50%">Location</td><td style="width:50%">
+
-->{{#if: {{{location|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:40%">Location</td><td style="width:60%">
 
{{{location}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
 
{{{location}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
  
-->{{#if: {{{interests|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:50%">Interests</td><td style="width:50%">
+
-->{{#if: {{{interests|}}}|<table style="background:black; width:100%"><tr style="border:1px solid dimgray" cellpadding=2><td style="width:40%">Interests</td><td style="width:60%">
 
{{{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:50%">Sex</td><td style="width:50%">
+
-->{{#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>}}<!--
+
 
+
-->{{#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%">
+
 
{{{occupation}}}</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%">
 +
{{{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:40%">{{{custom2title}}}</td><td style="width:60%">
 +
{{{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:40%">{{{custom3title}}}</td><td style="width:60%">
 +
{{{custom3data}}}</td></tr></table><table style="height:2px; background=transparent><TR><TD></TD></TR></TABLE>}}<!--
  
 
-->
 
-->
 
|-
 
|-
| 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">
|}<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>
 +
|EMAIL}}</td><td style="border:2px solid #202020">
 +
{{#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
 +
|age=Example
 +
|sex=Example
 +
|location=Example
 +
|interests=*Example
 +
*Example
 +
|occupation=Example
 +
|custom1title=Custom 1
 +
|custom1data=Example
 +
|custom2title=Custom 2
 +
|custom2data=Example
 +
|custom3title=Custom 3
 +
|custom3data=Example
 +
}}
  
 
==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.
+
*'''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 41: Line 85:
 
*'''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
 +
*'''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>
 
{{UserBox
 
{{UserBox
 
|align=
 
|align=
|username=
+
|name=
 +
|title=
 +
|avatar=
 +
|extraFilesMember=
 
|date=
 
|date=
 
|age=
 
|age=
Line 53: Line 110:
 
|interests=
 
|interests=
 
|occupation=
 
|occupation=
}}
+
|custom1title=
 +
|custom1data=
 +
|custom2title=
 +
|custom2data=
 +
|custom3title=
 +
|custom3data=
 +
|pm=
 +
|email=
 +
|skype=
 +
|aim=
 +
}}</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 12:24, 17 May 2008

Personal tools