Nitro Tokens

Tokens are placeholders that are replaced by the identifier they represent at runtime. Nitro supports the following tokens:

Availability

Token

Replaced at runtime with...

Within mission action phrases

 

 

 

 

 

{username}

the user's first and last name (if set with user preferences). Replaced with first name + space + last name.

{challengeName}

the mission's display name. If no display name is set, uses the mission name.

{firstName}

the user's first name

{groupName}

the group name

{groupShortName}

the group short name

{lastInitial}

the first letter of the user's last name. Use with {firstName} to display the user's name as first name last initial. For example, Jane D.

{lastName}

the user's last name

{points}

the points awarded with the mission. If there is more than one point reward for a mission, the token will use the points for the award account point category. If there is no award account point reward, it will use the default point category.

{userId}

the user's ID

{userlinkUrl}

the userlink URL (if set in site settings)

[ ]

If a URL is specified for the mission, it's used as the hyperlink for the part of the action phrase enclosed between square brackets.

Show me an example Closed

  • Content = "{username} made a [post to the forums]."
  • URL="http://www.site.com/forums/post"
  • Userlink URL=http://www.site.com/users/{userId}

Within level action phrases

 

 

 

 

{username}

the user's first and last name (if set with user preferences). Replaced with first name + space + last name.

{firstName}

the user's first name

{lastName}

the user's last name

{lastInitial}

the first letter of the user's last name.

{levelName}

the new level name

{userId}

the user's ID

Within recognition action phrases

 

 

 

 

{recipientName}

the recipient user's first and last name (if set with user preferences)

{giverName}

the giver user's first and last name (if set with user preferences)

{categoryName}

the recognition category name

{points}

the number of points awarded for the recognition

{comment}

the free-form comment added with a recognition submission

See also

Create a mission

Create a recognition