Template:Infobox user/doc: Difference between revisions
Doctor Penez clearly does not want to be the example |
|||
Line 24: | Line 24: | ||
=== Example === | === Example === | ||
Here is an example | Here is an example using a made-up user. The configured parameters are also listed. | ||
{{Infobox user | {{Infobox user | ||
| name = | | name = Example User | ||
| image = | | image = Discord default pfp blurple.svg | ||
| image_size = 180px | |||
| caption = | | caption = | ||
| discordtag = | | discordtag = Example#0000 | ||
| discordid = | | discordid = 753757823535677561 | ||
| redditname = u/ | | redditname = u/spez | ||
| roles = | | roles = {{trollsome|nocat=yes}} | ||
| irlname = | | irlname = Barack Obama | ||
| age = | | age = 16 | ||
| gender = Male | |||
| residence = San Francisco, California, United States | | residence = San Francisco, California, United States | ||
| gaming = | | gaming = obama gaming | ||
| steam = [https://steamcommunity.com/id/doctorpenez Doctor Penez] | | steam = [https://steamcommunity.com/id/doctorpenez Doctor Penez] | ||
| links = {{Twitter| | | links = [https://niggafart.com Website], {{Twitter|AndrewYang}} | ||
| nocat = yes | | nocat = yes | ||
}} | }} | ||
Line 45: | Line 47: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Infobox user | {{Infobox user | ||
| name = | | name = Example User | ||
| image = | | image = Discord default pfp blurple.svg | ||
| image_size = 180px | |||
| caption = | | caption = | ||
| discordtag = | | discordtag = Example#0000 | ||
| discordid = | | discordid = 753757823535677561 | ||
| redditname = | | redditname = u/spez | ||
| roles = | | roles = {{trollsome}} | ||
| irlname = | | irlname = Barack Obama | ||
| age = | | age = 16 | ||
| gender = | | gender = Female | ||
| residence = San Francisco, California, United States | | residence = San Francisco, California, United States | ||
| gaming = | | gaming = obama gaming | ||
| steam = [https://steamcommunity.com/id/doctorpenez Doctor Penez] | | steam = [https://steamcommunity.com/id/doctorpenez Doctor Penez] | ||
| links = {{Twitter| | | links = [https://niggafart.com Website], {{Twitter|AndrewYang}} | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Line 77: | Line 80: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"caption": {}, | "caption": { | ||
"description": "A caption for the image", | |||
"type": "string" | |||
}, | |||
"discordtag": { | "discordtag": { | ||
"description": "The user's Discord tag (User#0000)", | "description": "The user's Discord tag (User#0000)", | ||
Line 83: | Line 89: | ||
"type": "string", | "type": "string", | ||
"label": "Discord tag", | "label": "Discord tag", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"discordid": { | "discordid": { | ||
"description": "The user's ID; a long string of numbers", | "description": "The user's ID; a long string of numbers", | ||
"example": " | "example": "753757823535677561", | ||
"type": "number", | "type": "number", | ||
"label": "Discord ID", | "label": "Discord ID", | ||
Line 133: | Line 138: | ||
"steam": { | "steam": { | ||
"description": "A link to the user's Steam", | "description": "A link to the user's Steam", | ||
"example": "[https://steamcommunity.com/id/ | "example": "[https://steamcommunity.com/id/saucylegs69420/ Saucy]", | ||
"type": "url", | "type": "url", | ||
"suggested": true | "suggested": true | ||
Line 139: | Line 144: | ||
"links": { | "links": { | ||
"description": "For example, links to their Twitter or TikTok", | "description": "For example, links to their Twitter or TikTok", | ||
"example": "[https://example.com/ Website], {{Twitter| | "example": "[https://example.com/ Website], {{Twitter|AndrewYang}}", | ||
"suggested": true | "suggested": true | ||
}, | }, |
Revision as of 01:39, 17 June 2021
This infobox is for use on articles about users.
Configuration
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 = | roles = | 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
Here is an example using a made-up user. The configured parameters are also listed.
User info | |
---|---|
Discord tag | Example#0000 |
Discord ID | 753757823535677561 |
Reddit name | u/spez |
Irony Hub | |
Roles | Trollsome |
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 = Example#0000 | discordid = 753757823535677561 | redditname = u/spez | roles = {{trollsome}} | 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
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 tag (User#0000)
| String | suggested |
Discord ID | discordid | The user's ID; a long string of numbers
| Number | suggested |
Reddit name | redditname | u/
| String | suggested |
roles | roles | Mod, Trollsome, etc.
| String | suggested |
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 |