Template:User

From LDraw.org Wiki
Revision as of 12:07, 25 January 2015 by Owen Burgoyne (talk | contribs) (Minor code fix)
Jump to navigation Jump to search
User
LDraw username Not supplied
Age Not supplied
Country 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          = 
|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.

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.