Template:Infobox user/doc: Difference between revisions
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
| discordid = | | discordid = | ||
| redditname = | | redditname = | ||
| othernames = | |||
| subboxes = <!-- Place {{Server subbox}}es here. For more info, see Template:Server subbox --> | | subboxes = <!-- Place {{Server subbox}}es here. For more info, see Template:Server subbox --> | ||
| irlname = | | irlname = | ||
Line 31: | Line 32: | ||
| image_size = 180px | | image_size = 180px | ||
| caption = | | caption = | ||
| discordtag = | | discordtag = exampleusername | ||
| discordid = 753757823535677561 | | discordid = 753757823535677561 | ||
| redditname = u/spez | | redditname = u/spez | ||
| othernames = Example#0000 <br/>obama gaming | |||
| subboxes = {{Server subbox | | subboxes = {{Server subbox | ||
| server = Irony Hub | | server = Irony Hub | ||
Line 65: | Line 67: | ||
| image_size = 180px | | image_size = 180px | ||
| caption = | | caption = | ||
| discordtag = | | discordtag = exampleusername | ||
| discordid = 753757823535677561 | | discordid = 753757823535677561 | ||
| redditname = u/spez | | redditname = u/spez | ||
| othernames = Example#0000 <br/>obama gaming | |||
| subboxes = {{Server subbox | | subboxes = {{Server subbox | ||
| server = Irony Hub | | server = Irony Hub | ||
Line 111: | Line 114: | ||
}, | }, | ||
"discordtag": { | "discordtag": { | ||
"description": "The user's Discord | "description": "The user's Discord username (not their display name)", | ||
"example": " | "example": "grantvszombies", | ||
"type": "string", | "type": "string", | ||
"label": "Discord tag", | "label": "Discord tag", | ||
Line 118: | Line 121: | ||
}, | }, | ||
"discordid": { | "discordid": { | ||
"description": "The user's ID; a long string of | "description": "The user's ID; a long string of digits", | ||
"example": "753757823535677561", | "example": "753757823535677561", | ||
"type": "number", | "type": "number", | ||
Line 192: | Line 195: | ||
"example": "{{Server subbox | server = Irony Hub | status = Left server | roles = {{role|Trollsome|#9062f8}} | joined = September 11, 2020 | left = February 30, 2021}}", | "example": "{{Server subbox | server = Irony Hub | status = Left server | roles = {{role|Trollsome|#9062f8}} | joined = September 11, 2020 | left = February 30, 2021}}", | ||
"type": "unbalanced-wikitext", | "type": "unbalanced-wikitext", | ||
"suggested": true | |||
}, | |||
"othernames": { | |||
"label": "Also known as", | |||
"description": "Alternate or historical names that the user is also known by.", | |||
"type": "string", | |||
"suggested": true | "suggested": true | ||
} | } | ||
Line 205: | Line 214: | ||
"servers", | "servers", | ||
"redditname", | "redditname", | ||
"othernames", | |||
"subboxes", | "subboxes", | ||
"roles", | "roles", | ||
Line 219: | Line 229: | ||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly> | |||
[[Category:Infobox templates|user]] | |||
[[Category:Templates that store Cargo data]] | |||
</includeonly> |
Latest revision as of 07:48, 18 August 2023
This infobox is for use on articles about users.
Configuration[edit source]
Here is a configuration of this template with all parameters:
{{Infobox user | name = <!-- If this field is not provided, the page name will be used. --> | image = <!-- Just enter the file name. Do not include "File:" or any brackets. For example: Trollface.svg --> | image_size = <!-- Override the size of the image, in pixels --> | caption = | discordtag = | discordid = | redditname = | othernames = | subboxes = <!-- Place {{Server subbox}}es here. For more info, see Template:Server subbox --> | irlname = | age = | gender = | residence = | gaming = <!-- gaming --> | steam = | links = <!-- for example, a link to their twitter or tiktok --> | nocat = <!-- If nocat=yes , then the page will not be put into Category:Users. This parameter should not be used in most circumstances. --> }}
Example[edit source]
Here is an example using a made-up user. The configured parameters are also listed.
User info | |
---|---|
Discord tag | exampleusername |
Discord ID | 753757823535677561 |
Reddit name | u/spez |
Also known as | Example#0000 obama gaming |
Irony Hub | |
Status | Left server |
Roles | Trollsome |
Joined server | September 11, 2020 |
Left server | February 30, 2021 |
Whenthe | |
Status | Active |
Roles | Bluename |
Joined server | December 25, 2020 |
IRL info | |
Name | Barack Obama |
Age | 16 |
Gender | Male |
Residence | San Francisco, California, United States |
Gaming | |
Gaming | obama gaming |
Steam | Doctor Penez |
External links | Website, Twitter |
{{Infobox user | name = Example User | image = Discord default pfp blurple.svg | image_size = 180px | caption = | discordtag = exampleusername | discordid = 753757823535677561 | redditname = u/spez | othernames = Example#0000 <br/>obama gaming | subboxes = {{Server subbox | server = Irony Hub | status = Left server | roles = {{role|Trollsome|#9062f8}} | joined = September 11, 2020 | left = February 30, 2021 }} {{Server subbox | server = Whenthe | status = Active | roles = {{role|Bluename|#007ac1}} | joined = December 25, 2020 }} | irlname = Barack Obama | age = 16 | gender = Female | residence = San Francisco, California, United States | gaming = obama gaming | steam = [https://steamcommunity.com/id/doctorpenez Doctor Penez] | links = [https://niggafart.com Website], {{Twitter|AndrewYang}} }}
Parameters[edit source]
Infobox for use on articles about users. None of the parameters are required.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The username of the user. You don't need to enter anything unless their username is different from the name of the page.
| String | suggested |
image | image | An image to represent this user, such as their profile picture
| File | suggested |
Image size | image_size | Override the size of the image, in pixels | Number | optional |
caption | caption | A caption for the image | String | optional |
Discord tag | discordtag | The user's Discord username (not their display name)
| String | suggested |
Discord ID | discordid | The user's ID; a long string of digits
| Number | suggested |
servers | servers | Servers that this user is, or historically has been, an active member of.
| String | suggested |
Reddit name | redditname | u/
| String | suggested |
Also known as | othernames | Alternate or historical names that the user is also known by. | String | suggested |
subboxes | subboxes | Place {{Server subbox}} templates here to document the user's presence and status for each server they are a part of. Go to [[Template:Server subbox]] for more information.
| Unbalanced wikitext | suggested |
roles | roles | Mod, Trollsome, etc.
| String | deprecated |
IRL name | irlname | The user's real name. | String | suggested |
age | age | The user's age. | Number | suggested |
gender | gender | The user's gender | String | suggested |
residence | residence | Where the user lives. Don't get any more specific than city
| String | suggested |
gaming | gaming | put whatever you want i guess | Unknown | optional |
steam | steam | A link to the user's Steam
| URL | suggested |
links | links | For example, links to their Twitter or TikTok
| Unknown | suggested |
nocat | nocat | Set this to "yes" to remove the page from the Users category. This shouldn't be used in most cirumstances. | String | optional |