Description edit

This userbox template may be used to place the Facebook userbox on a user page with or without a link to a given Facebook profile.

Usage edit

The basic usage for this userbox is: {{User:UBX/Facebook|YourFacebookUsername|DisplayName}}

Parameters edit

  • YourFacebookUsername is the unique name of your Facebook profile to which the userbox will link. It can be either your selected Username or your assigned User ID and usually takes the form: https://www.facebook.com/YourFacebookUsername. (For more information on Facebook Usernames and User ID's, see How are usernames and user IDs used on Facebook profiles?.) This parameter may be omitted, which will display a generic Facebook userbox with no profile link.
  • DisplayName is the name you would like the profile link to display in the userbox. This would usually be the name people see on your Facebook profile page. For this parameter to function properly, it must always be used with the YourFacebookUsername parameter.

Examples edit

Code Result
{{User:UBX/Facebook}}
 
{{User:UBX/Facebook|zuck}}
 
{{User:UBX/Facebook|zuck|Mark Zuckerberg}}
 

Template Data edit

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:UBX/Facebook in articles based on its TemplateData.

TemplateData for UBX/Facebook

This template can be used to place the Facebook userbox on a user page with or without a link to a Facebook profile.

Template parameters

ParameterDescriptionTypeStatus
YourFacebookUsername1

The official Facebook Username or User ID of the target profile.

Default
default value
Stringoptional
DisplayName2

The name which should be displayed for the profile link. This parameter can be used only when ''YourFacebookUsername'' is also used.

Default
default value
Stringoptional

See also edit