Template:User: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
m (Minor code fix)
m (Minor code fix)
Line 4: Line 4:
|-
|-
|
|
{| style="background-color: #F9F9F9; font-size: 9pt" cellpadding="0" cellspacing="5"
{| style="background-color:#F9F9F9; font-size:9pt; width:300px" cellpadding="0" cellspacing="5"
|-align="left" valign="top"
|-align="left" valign="top"
| style="width: 120px;" | '''LDraw username'''
| style="width:120px; max-width:120px; min-width:120px" | '''LDraw username'''
| {{{ldraw username|<span style="color:#999">Not supplied</span>}}}
| {{{ldraw username|<span style="color:#999">Not supplied</span>}}}
|-align="left" valign="top"
|-align="left" valign="top"
| style="width: 120px;" | '''Age'''
| '''Age'''
| {{{age|<span style="color:#999">Not supplied</span>}}}
| {{{age|<span style="color:#999">Not supplied</span>}}}
|-align="left" valign="top"
|-align="left" valign="top"
Line 15: Line 15:
| {{{country|<span style="color:#999">Not supplied</span>}}}
| {{{country|<span style="color:#999">Not supplied</span>}}}
|-align="left" valign="top"
|-align="left" valign="top"
| style="width: 120px;" | '''Language(s)'''
| '''Language(s)'''
| {{{language|<span style="color:#999">Not supplied</span>}}}
| {{{language|<span style="color:#999">Not supplied</span>}}}
|-align="left" valign="top"
|-align="left" valign="top"
| style="width: 120px;" | '''Role(s)'''
| '''Role(s)'''
| {{{role|<span style="color:#999">N/A</span>}}}
| {{{role|<span style="color:#999">N/A</span>}}}
|-align="left" valign="top"
|-align="left" valign="top"
| style="width: 120px;" | '''Image'''
| '''Image'''
| style="width: 180px;" | {{{image|<span style="color:#999">N/A</span>}}}
| {{{image|<span style="color:#999">N/A</span>}}}
|}
|}
|-align="right" valign="middle"
|-align="right" valign="middle"

Revision as of 19:03, 25 January 2015

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

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 use this page's sub-template: {{user/image|ImageName.jpg}} -->
}}

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. Use the {{user/image}} template to insert an auto-resized image.