Difference between revisions of "Template:User profile/doc"
From Roll20 Wiki
m (235259 moved page Template:Script author/doc to Template:User profile/doc) |
|||
Line 1: | Line 1: | ||
− | + | Links to a user's Roll20 profile page | |
== Parameters == | == Parameters == | ||
Line 9: | Line 9: | ||
|- | |- | ||
| d20userid | | d20userid | ||
− | | The user ID | + | | The user's ID. This template will then link to that user's profile page. |
|- | |- | ||
| name | | name | ||
Line 24: | Line 24: | ||
! Output | ! Output | ||
|- | |- | ||
− | | <code><nowiki>{{ | + | | <code><nowiki>{{user profile|235259|Brian}}</nowiki></code> |
− | | {{ | + | | {{user profile|235259|Brian}} |
|- | |- | ||
− | | <code><nowiki>{{ | + | | <code><nowiki>{{user profile|name=Brian|d20userid=235259}}</nowiki></code> |
− | | {{ | + | | {{suser profile|name=Brian|d20userid=235259}} |
|- | |- | ||
− | | <code><nowiki>{{ | + | | <code><nowiki>{{user profile|235259|name=Brian}}</nowiki></code> |
− | | {{ | + | | {{user profile|235259|name=Brian}} |
|- | |- | ||
− | | <code><nowiki>{{ | + | | <code><nowiki>{{user profile|d20userid=235259|Brian}}</nowiki></code> |
− | | {{ | + | | {{user profile|d20userid=235259|Brian}} |
|} | |} | ||
Revision as of 20:10, 7 January 2015
Links to a user's Roll20 profile page
Parameters
Name | Description |
---|---|
d20userid | The user's ID. This template will then link to that user's profile page. |
name | The user's display name. |
The parameters can either be named, or else provided without names (with d20userid first when both are provided).
Usage
Wikitext | Output |
---|---|
{{user profile|235259|Brian}}
|
Brian |
{{user profile|name=Brian|d20userid=235259}}
|
Template:Suser profile |
{{user profile|235259|name=Brian}}
|
Brian |
{{user profile|d20userid=235259|Brian}}
|
Brian |
In order to discover a user's ID, you can visit their profile and grab the number from the URL, or visit their userpage (if they have one) and do the same.