Difference between revisions of "Template:TEST"

From LAH Wiki
Jump to: navigation, search
(Replacing page with '<noinclude><center>''This is a template for testing new templates and experimenting with template coding. Please ignore it.''</center> </noinclude>')
Line 1: Line 1:
 
<noinclude><center>''This is a template for testing new templates and experimenting with template coding.  Please ignore it.''</center>
 
<noinclude><center>''This is a template for testing new templates and experimenting with template coding.  Please ignore it.''</center>
  
 +
</noinclude>
 +
 +
{| style="text-align:center; width:200px; background:#333333; color:white; border:1px solid orange" align="{{{align}}}"
 +
| style="color:orange" | '''{{{name}}}'''
 +
|-
 +
| style="font-size:80%; color:#dddddd" |{{#if:{{{title|}}}|{{{title}}}}}
 +
|-
 +
| {{#if:{{{avatar|}}}|[[Image:{{{avatar}}}|120]]}}
 +
|-
 +
| style="font-size:80%; color:orange"| {{#if: {{{extraFilesMember|}}}|[[Image:ExtraFilesGray.gif]] Extra Files Member|<BR>}}<!--
 +
 +
-->
 +
| {{#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>}}<!--
 +
 +
-->{{#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>}}<!--
 +
 +
-->{{#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>}}<!--
 +
 +
-->{{#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>}}<!--
 +
 +
-->{{#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>}}<!--
 +
 +
-->{{#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%">
 +
{{{sex}}}</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>}}<!--
 +
 +
-->
 +
 +
 +
|}
 +
<noinclude>
 +
{{LAHMemberBox
 +
|name=UserName
 +
|title=Example Angel
 +
|avatar=Example_Avvy.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
 +
}}
 +
 +
This is a user box for LAH members.  It is designed to resemble the member's sidebar when posting in [http://littleangelshentai.net/forum/index.php the forum]. It uses four fields.
 +
 +
* '''align''' - optional.  This is where the box will align itself on the page, such as right, left or middle.
 +
* '''name''' - Your LAH screen name
 +
* '''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.
 +
 +
The code to use, replacing the UserValues with your info, is :
 +
 +
<pre>{{LAHMembersBox
 +
|align=UserValue
 +
|name=Uservalue
 +
|title=UserValue
 +
|avatar=UserValue
 +
|extraFilesMember=
 +
}}</pre>
 
</noinclude>
 
</noinclude>

Revision as of 12:45, 16 July 2007

Personal tools