Template:Infobox user/doc: Difference between revisions
Blanked the page Tags: Blanking Reverted |
m Reverted edits by 77.111.245.13 (talk) to last revision by Saucy Tags: Rollback Mobile edit Mobile web edit |
||
Line 1: | Line 1: | ||
This infobox is for use on articles about [[:Category:Users|users]]. | |||
=== Configuration === | |||
Here is a configuration of this template with all parameters: | |||
<pre><nowiki> | |||
{{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. --> | |||
}}</nowiki></pre> | |||
=== Example === | |||
Here is an example using a made-up user. The configured parameters are also listed. | |||
{{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|nocat=yes}} | |||
| irlname = Barack Obama | |||
| age = 16 | |||
| gender = Male | |||
| residence = San Francisco, California, United States | |||
| gaming = obama gaming | |||
| steam = [https://steamcommunity.com/id/doctorpenez Doctor Penez] | |||
| links = [https://niggafart.com Website], {{Twitter|AndrewYang}} | |||
| nocat = yes | |||
}} | |||
<pre><nowiki> | |||
{{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}} | |||
}}</nowiki></pre> | |||
=== Parameters === | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"description": "The username of the user. You don't need to enter anything unless their username is different from the name of the page.", | |||
"type": "string", | |||
"suggested": true, | |||
"default": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"description": "An image to represent this user, such as their profile picture", | |||
"example": "Trollface.svg", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"caption": { | |||
"description": "A caption for the image", | |||
"type": "string" | |||
}, | |||
"discordtag": { | |||
"description": "The user's Discord tag (User#0000)", | |||
"example": "Doctor Penez#2914", | |||
"type": "string", | |||
"label": "Discord tag", | |||
"suggested": true | |||
}, | |||
"discordid": { | |||
"description": "The user's ID; a long string of numbers", | |||
"example": "753757823535677561", | |||
"type": "number", | |||
"label": "Discord ID", | |||
"suggested": true | |||
}, | |||
"redditname": { | |||
"description": "u/", | |||
"example": "u/NovaSF", | |||
"type": "string", | |||
"label": "Reddit name", | |||
"suggested": true | |||
}, | |||
"roles": { | |||
"description": "Mod, Trollsome, etc.", | |||
"example": "Trollsome", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"irlname": { | |||
"description": "The user's real name.", | |||
"type": "string", | |||
"label": "IRL name", | |||
"suggested": true | |||
}, | |||
"age": { | |||
"description": "The user's age.", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"gender": { | |||
"description": "The user's gender", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"residence": { | |||
"description": "Where the user lives. Don't get any more specific than city", | |||
"example": "San Francisco, California, United States", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"gaming": { | |||
"description": "put whatever you want i guess" | |||
}, | |||
"steam": { | |||
"description": "A link to the user's Steam", | |||
"example": "[https://steamcommunity.com/id/saucylegs69420/ Saucy]", | |||
"type": "url", | |||
"suggested": true | |||
}, | |||
"links": { | |||
"description": "For example, links to their Twitter or TikTok", | |||
"example": "[https://example.com/ Website], {{Twitter|AndrewYang}}", | |||
"suggested": true | |||
}, | |||
"image_size": { | |||
"description": "Override the size of the image, in pixels", | |||
"type": "number", | |||
"label": "Image size" | |||
}, | |||
"nocat": { | |||
"description": "Set this to \"yes\" to remove the page from the Users category. This shouldn't be used in most cirumstances.", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Infobox for use on articles about users. None of the parameters are required.", | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"image_size", | |||
"caption", | |||
"discordtag", | |||
"discordid", | |||
"redditname", | |||
"roles", | |||
"irlname", | |||
"age", | |||
"gender", | |||
"residence", | |||
"gaming", | |||
"steam", | |||
"links", | |||
"nocat" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> |
Revision as of 19:43, 28 June 2022
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 |