Token example

Click a token to insert it into the field you've last clicked.
NameTokenDescription
Current userTokens related to the currently logged in user.
User ID[current-user:uid]The unique ID of the user account.
Name[current-user:name]The login name of the user account.
Email[current-user:mail]The email address of the user account.
URL[current-user:url]The URL of the account profile page.
Edit URL[current-user:edit-url]The URL of the account edit page.
Last login[current-user:last-login]The date the user last logged in to the site.
Created[current-user:created]The date the user account was created.
Short format[current-user:created:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[current-user:created:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[current-user:created:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[current-user:created:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[current-user:created:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[current-user:created:raw]A date in UNIX timestamp format (1321811610)
DatesTokens related to times and dates.
Short format[date:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[date:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[date:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[date:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[date:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[date:raw]A date in UNIX timestamp format (1321811610)
Default text formatTokens related to the currently logged in user's default text format.
ID[default-format:id]The unique ID of the text format.
Name[default-format:name]The name of the text format.
FilesTokens related to uploaded files.
File ID[file:fid]The unique ID of the uploaded file.
File name[file:name]The name of the file on disk.
Description[file:description]An optional human-readable description of the file.
Path[file:path]The location of the file relative to Drupal root.
MIME type[file:mime]The MIME type of the file.
File size[file:size]The size of the file, in kilobytes.
URL[file:url]The web-accessible URL for the file.
Timestamp[file:timestamp]The date the file was most recently changed.
Short format[file:timestamp:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[file:timestamp:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[file:timestamp:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[file:timestamp:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[file:timestamp:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[file:timestamp:raw]A date in UNIX timestamp format (1321811610)
Owner[file:owner]The user who originally uploaded the file.
User ID[file:owner:uid]The unique ID of the user account.
Name[file:owner:name]The login name of the user account.
Email[file:owner:mail]The email address of the user account.
URL[file:owner:url]The URL of the account profile page.
Edit URL[file:owner:edit-url]The URL of the account edit page.
Last login[file:owner:last-login]The date the user last logged in to the site.
Created[file:owner:created]The date the user account was created.
Short format[file:owner:created:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[file:owner:created:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[file:owner:created:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[file:owner:created:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[file:owner:created:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[file:owner:created:raw]A date in UNIX timestamp format (1321811610)
NodesTokens related to individual content items, or "nodes".
Comment count[node:comment-count]The number of comments posted on a node.
New comment count[node:comment-count-new]The number of comments posted on a node since the reader last viewed it.
Content ID[node:nid]The unique ID of the content item, or "node".
Revision ID[node:vid]The unique ID of the node's latest revision.
Translation set ID[node:tnid]The unique ID of the original-language version of this node, if one exists.
Content type[node:type]The type of the node.
Content type name[node:type-name]The human-readable name of the node type.
Title[node:title]The title of the node.
Body[node:body]The main body text of the node.
Summary[node:summary]The summary of the node's main body text.
Language[node:language]The language the node is written in.
URL[node:url]The URL of the node.
Edit URL[node:edit-url]The URL of the node's edit page.
Date created[node:created]The date the node was posted.
Short format[node:created:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[node:created:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[node:created:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[node:created:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[node:created:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[node:created:raw]A date in UNIX timestamp format (1321811610)
Date changed[node:changed]The date the node was most recently updated.
Short format[node:changed:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[node:changed:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[node:changed:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[node:changed:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[node:changed:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[node:changed:raw]A date in UNIX timestamp format (1321811610)
Author[node:author]The author of the node.
User ID[node:author:uid]The unique ID of the user account.
Name[node:author:name]The login name of the user account.
Email[node:author:mail]The email address of the user account.
URL[node:author:url]The URL of the account profile page.
Edit URL[node:author:edit-url]The URL of the account edit page.
Last login[node:author:last-login]The date the user last logged in to the site.
Created[node:author:created]The date the user account was created.
Short format[node:author:created:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[node:author:created:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[node:author:created:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[node:author:created:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[node:author:created:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[node:author:created:raw]A date in UNIX timestamp format (1321811610)
Translation source node[node:source]Source node for this current node's translation set.
Comment count[node:source:comment-count]The number of comments posted on a node.
New comment count[node:source:comment-count-new]The number of comments posted on a node since the reader last viewed it.
Content ID[node:source:nid]The unique ID of the content item, or "node".
Revision ID[node:source:vid]The unique ID of the node's latest revision.
Translation set ID[node:source:tnid]The unique ID of the original-language version of this node, if one exists.
Content type[node:source:type]The type of the node.
Content type name[node:source:type-name]The human-readable name of the node type.
Title[node:source:title]The title of the node.
Body[node:source:body]The main body text of the node.
Summary[node:source:summary]The summary of the node's main body text.
Language[node:source:language]The language the node is written in.
URL[node:source:url]The URL of the node.
Edit URL[node:source:edit-url]The URL of the node's edit page.
Date created[node:source:created]The date the node was posted.
Short format[node:source:created:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[node:source:created:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[node:source:created:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[node:source:created:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[node:source:created:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[node:source:created:raw]A date in UNIX timestamp format (1321811610)
Date changed[node:source:changed]The date the node was most recently updated.
Short format[node:source:changed:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[node:source:changed:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[node:source:changed:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[node:source:changed:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[node:source:changed:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[node:source:changed:raw]A date in UNIX timestamp format (1321811610)
Author[node:source:author]The author of the node.
User ID[node:source:author:uid]The unique ID of the user account.
Name[node:source:author:name]The login name of the user account.
Email[node:source:author:mail]The email address of the user account.
URL[node:source:author:url]The URL of the account profile page.
Edit URL[node:source:author:edit-url]The URL of the account edit page.
Last login[node:source:author:last-login]The date the user last logged in to the site.
Created[node:source:author:created]The date the user account was created.
Short format[node:source:author:created:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[node:source:author:created:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[node:source:author:created:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[node:source:author:created:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[node:source:author:created:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[node:source:author:created:raw]A date in UNIX timestamp format (1321811610)
Translation source node[node:source:source]Source node for this current node's translation set.
Comment count[node:source:source:comment-count]The number of comments posted on a node.
New comment count[node:source:source:comment-count-new]The number of comments posted on a node since the reader last viewed it.
Content ID[node:source:source:nid]The unique ID of the content item, or "node".
Revision ID[node:source:source:vid]The unique ID of the node's latest revision.
Translation set ID[node:source:source:tnid]The unique ID of the original-language version of this node, if one exists.
Content type[node:source:source:type]The type of the node.
Content type name[node:source:source:type-name]The human-readable name of the node type.
Title[node:source:source:title]The title of the node.
Body[node:source:source:body]The main body text of the node.
Summary[node:source:source:summary]The summary of the node's main body text.
Language[node:source:source:language]The language the node is written in.
URL[node:source:source:url]The URL of the node.
Edit URL[node:source:source:edit-url]The URL of the node's edit page.
Date created[node:source:source:created]The date the node was posted.
Short format[node:source:source:created:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[node:source:source:created:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[node:source:source:created:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[node:source:source:created:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[node:source:source:created:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[node:source:source:created:raw]A date in UNIX timestamp format (1321811610)
Date changed[node:source:source:changed]The date the node was most recently updated.
Short format[node:source:source:changed:short]A date in 'short' format. (11/20/2011 - 10:53)
Medium format[node:source:source:changed:medium]A date in 'medium' format. (Sun, 11/20/2011 - 10:53)
Long format[node:source:source:changed:long]A date in 'long' format. (Sunday, November 20, 2011 - 10:53)
Custom format[node:source:source:changed:custom:?]A date in a custom format. See the PHP documentation for details.
Time-since[node:source:source:changed:since]A date in 'time-since' format. (41 years 11 months)
Raw timestamp[node:source:source:changed:raw]A date in UNIX timestamp format (1321811610)
Author[node:source:source:author]The author of the node.
User ID[node:source:source:author:uid]The unique ID of the user account.
Name[node:source:source:author:name]The login name of the user account.
Email[node:source:source:author:mail]The email address of the user account.
URL[node:source:source:author:url]The URL of the account profile page.
Edit URL[node:source:source:author:edit-url]The URL of the account edit page.
Last login[node:source:source:author:last-login]The date the user last logged in to the site.
Created[node:source:source:author:created]The date the user account was created.
Translation source node[node:source:source:source]Source node for this current node's translation set.
Comment count[node:source:source:source:comment-count]The number of comments posted on a node.
New comment count[node:source:source:source:comment-count-new]The number of comments posted on a node since the reader last viewed it.
Content ID[node:source:source:source:nid]The unique ID of the content item, or "node".
Revision ID[node:source:source:source:vid]The unique ID of the node's latest revision.
Translation set ID[node:source:source:source:tnid]The unique ID of the original-language version of this node, if one exists.
Content type[node:source:source:source:type]The type of the node.
Content type name[node:source:source:source:type-name]The human-readable name of the node type.
Title[node:source:source:source:title]The title of the node.
Body[node:source:source:source:body]The main body text of the node.
Summary[node:source:source:source:summary]The summary of the node's main body text.
Language[node:source:source:source:language]The language the node is written in.
URL[node:source:source:source:url]The URL of the node.
Edit URL[node:source:source:source:edit-url]The URL of the node's edit page.
Date created[node:source:source:source:created]The date the node was posted.
Date changed[node:source:source:source:changed]The date the node was most recently updated.
Author[node:source:source:source:author]The author of the node.
Translation source node[node:source:source:source:source]Source node for this current node's translation set.
Body text format[node:source:source:source:body-format]The name of the text format used on the node's body field.
Body text format[node:source:source:body-format]The name of the text format used on the node's body field.
ID[node:source:source:body-format:id]The unique ID of the text format.
Name[node:source:source:body-format:name]The name of the text format.
Body text format[node:source:body-format]The name of the text format used on the node's body field.
ID[node:source:body-format:id]The unique ID of the text format.
Name[node:source:body-format:name]The name of the text format.
Body text format[node:body-format]The name of the text format used on the node's body field.
ID[node:body-format:id]The unique ID of the text format.
Name[node:body-format:name]The name of the text format.
Site informationTokens for site-wide settings and other global information.
Name[site:name]The name of the site.
Slogan[site:slogan]The slogan of the site.
Email[site:mail]The administrative email address for the site.
URL[site:url]The URL of the site's front page.
URL (brief)[site:url-brief]The URL of the site's front page without the protocol.
Login page[site:login-url]The URL of the site's login page.