Welcome, guest Sign In

yml:user-badge

Description

Displays the user badge, which is the name and picture of the user's profile. Optionally, links to the person's Yahoo! Profiles page.

Attributes

Name Type Required/Optional Description
linked boolean optional If true, the badge displayed links to the user's Yahoo! Profiles page. Default is "true".
width string (numerical) optional The width in pixels of the badge with a max of 48. Default is "48".
reflexive boolean optional If true, shows "yourself" if useyou="true", otherwise it's ignored. Default is "false".
capitalize boolean optional If true, capitalize the first letter of the user's name. Default is "true".
useyou boolean optional If true, and the user is the viewer, it'll show "you" instead of the name. Default is "false".
uid string optional The ID of the user whose badge is displayed. Allowed values are "viewer", "owner", or id. Default is "viewer".

Examples

See also Links to Yahoo! Profiles.

Table of Contents

Copyright © 2009 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy

Help us continue to improve the Yahoo! Developer Network: Send Your Suggestions