[Show/Hide Right Column]

Displays a user's avatar
Print
Tags: plugin avatar

Plugin Avatar

This Wiki Plugin displays a user's avatar and can make it a link to another page.

Usage and Parameters

To use this plugin in a wiki page, use the syntax:

Syntax for AVATAR plugin
{AVATAR(page=>SomeWikiPage, float=>left|right)}username{AVATAR}

Parameter Accepted values Default Effect Required? Since
page A wiki page name none Turns avatar into a link to this page. If the user's information is public, then the avatar will automatically be a link to the user information page for that user if this page parameter is not set. Note: This automatic link is not working properly currently - see bug reported at http://dev.tikiwiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=2476. n
float right or left none Causes avatar to align right or left n
body (between the AVATAR tags) A username. Note: leave no spaces between the tags or nothing will show. none The avatar for this user will appear. If the user has no avatar, or if no username is given, then nothing will appear. y

Example

This code,

Including a page link and float left
{AVATAR(page=>tiki-user_information.php?userId=10,float=>left)}marclaporte{AVATAR}


arrow-right.png
Would produce on this site:

marclaporte


Note: Avatar would appear all the way to the left of the page if it weren't in the right column.
This code,

No page link and float right
{AVATAR(float=>right)}ricks99{AVATAR}


arrow-right.png
Would produce on this site:

ricks99


Contributors to this page: lindon2331 points  .
Page last modified on Saturday 03 July, 2010 21:45:06 UTC by lindon2331 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):