Up:name
Renders the name of the user specified, optionally linked to his profile.
Attributes
- Required
- int uid - The id of the user whose name to show
- Optional
- bool fullname - Show the user's first name + last name. (default value is false)
- bool firstnameonly - Show only the user's first name. (default value is false)
- bool linked - Link to the user's profile. (default value is true)
- bool lastnameonly - Show only the user's last name. (default value is false)
- bool possessive
- Make the user's name possessive (e.g. Joe's instead of Joe). (default value is false)
- bool reflexive - Use "yourself" if useyou is true. (default value is false)
- bool useyou - Use "you" if uid matches the logged in user (default value is true)
- bool capitalize - Capitalize the text if useyou==true and loggedinuser==uid. (default value is false)
Sample code
|
<up:name uid="12345" />
|