Difference between revisions of "Template:User profile/doc"
From Roll20 Wiki
m |
Andreas J. (Talk | contribs) m |
||
Line 43: | Line 43: | ||
File:Brian Profile.jpg|Profile URL | File:Brian Profile.jpg|Profile URL | ||
File:Brian Userpage.jpg|Userpage | File:Brian Userpage.jpg|Userpage | ||
− | </gallery><includeonly>[[Category:API Templates]]</includeonly> | + | </gallery> |
+ | <includeonly> | ||
+ | [[Category:API Templates]] | ||
+ | [[Category:Template Documentation]] | ||
+ | </includeonly> |
Revision as of 00:01, 5 May 2020
This is a documentation subpage for User profile. It contains usage information, categories and other content that is not part of the original template page. |
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}}
|
Brian |
{{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.