Difference between revisions of "Template:User"

From LDraw.org Wiki
Jump to navigation Jump to search
(Created page with "{| style="background-color: #F9F9F9; border: 1px solid #AAAAAA; border-radius: 5px; width: 300px; float:right; margin-left: 10px; font-size: 9pt" cellspacing="5" cellpadding="...")
 
m (Minor colour updates)
Line 1: Line 1:
{| style="background-color: #F9F9F9; border: 1px solid #AAAAAA; border-radius: 5px; width: 300px; float:right; margin-left: 10px; font-size: 9pt" cellspacing="5" cellpadding="0"
+
{| style="background-color: #F9F9F9; border: 1px solid #AAAAAA; border-radius: 5px; width: 300px; float:right; margin-left: 10px; font-size: 9pt" cellspacing="0" cellpadding="3"
 
|-align="center" valign="middle"
 
|-align="center" valign="middle"
| colspan="2" style="font-size: 12pt; font-weight: bold" | {{{name|{{PAGENAME}}}}}
+
| colspan="2" style="background-color: #E0E0E0; font-size: 12pt; font-weight: bold; padding: 5px" | {{{name|{{PAGENAME}}}}}
 
|-align="left" valign="top"
 
|-align="left" valign="top"
 
| style="width: 120px;" | '''LDraw username'''
 
| style="width: 120px;" | '''LDraw username'''
Line 20: Line 20:
 
| style="width: 120px;" | '''Image'''
 
| style="width: 120px;" | '''Image'''
 
| style="width: 180px;" | {{{image|<span style="color:#999">N/A</span>}}}
 
| style="width: 180px;" | {{{image|<span style="color:#999">N/A</span>}}}
 +
|-align="center" valign="middle"
 +
| colspan="2" style="background-color: #E0E0E0; color: #AAAAAA; font-size: 6pt; font-weight: bold; padding: 0px 10px" | &bull;
 
|}<noinclude>
 
|}<noinclude>
  

Revision as of 11:59, 18 January 2015

User
LDraw username Not supplied
Age Not supplied
Country Not supplied
Language(s) Not supplied
Role(s) N/A
Image N/A

Usage

{{User
|name             = <!-- Delete this parameter completely to use the {{{PAGENAME}}} parameter -->
|ldraw username   = 
|age              = 
|country          = 
|language         = <!-- Each language should be separated with the <br> tag -->
|role             = <!-- Each role should be separated with the <br> tag -->
|image            = <!-- This parameter should include the full image declaration: [[File:ImageName.jpg|180px]] -->
}}

Parameters

If the parameter is not known, the field should be removed from the infobox to ensure that "Not supplied" or "N/A" (see example above right) is displayed, rather than the field appearing empty. [This is due to a wiki limitation.]

name

Name of the user as displayed at the top of the infobox. To use the {{{PAGENAME}}} parameter, remove this line from the infobox. Leaving the field blank will cause the name to be displayed incorrectly.

ldraw username

The user's LDraw username.

age

The user's age.

country

The user's country of residence.

language

The user's spoken/written language(s). Native language should be listed first, followed by any other languages.

role

The user's role(s) within the LDraw community.

image

An image of the user. This could also be their LDraw Discussion Forum avatar.