Template:Infobox user/doc: Difference between revisions
mNo edit summary |
template data |
||
Line 58: | Line 58: | ||
| links = [https://twitter.com/DoctorPenez Twitter] | | links = [https://twitter.com/DoctorPenez Twitter] | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"description": "The name of the user. You don't need to enter anything unless their name is different from the name of the page.", | |||
"type": "string", | |||
"autovalue": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"description": "An image to represent this user, such as their profile picture", | |||
"example": "Trollface.svg", | |||
"type": "wiki-file-name" | |||
}, | |||
"caption": {}, | |||
"discordtag": { | |||
"description": "The user's Discord tag (User#0000)", | |||
"example": "Doctor Penez#2914", | |||
"type": "string" | |||
}, | |||
"discordid": { | |||
"description": "The user's ID; a long string of numbers", | |||
"example": "291957859690872833", | |||
"type": "number" | |||
}, | |||
"redditname": { | |||
"description": "u/", | |||
"example": "u/NovaSF", | |||
"type": "string" | |||
}, | |||
"roles": { | |||
"description": "Mod, Trollsome, etc.", | |||
"example": "Trollsome", | |||
"type": "string" | |||
}, | |||
"irlname": { | |||
"description": "The user's real name.", | |||
"type": "string" | |||
}, | |||
"age": { | |||
"description": "The user's age.", | |||
"type": "number" | |||
}, | |||
"residence": { | |||
"description": "Where the user lives. Don't get any more specific than city", | |||
"example": "San Francisco, California, United States", | |||
"type": "string" | |||
}, | |||
"gaming": { | |||
"description": "put whatever you want i guess" | |||
}, | |||
"steam": { | |||
"description": "A link to the user's Steam", | |||
"example": "[https://steamcommunity.com/id/doctorpenez Doctor Penez]", | |||
"type": "url" | |||
}, | |||
"links": { | |||
"description": "For example, links to their Twitter or TikTok", | |||
"example": "{{Twitter|DoctorPenez}}" | |||
}, | |||
"image_size": { | |||
"description": "Override the size of the image, in pixels", | |||
"type": "number" | |||
} | |||
}, | |||
"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", | |||
"residence", | |||
"gaming", | |||
"steam", | |||
"links" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> |
Revision as of 09:52, 6 August 2020
This infobox is for use on articles about users.
Parameters
Here is a list of all parameters for this infobox:
{{Infobox user | name = <!-- If this field is not provided, the page name will be used. --> | image = | image_size = <!-- Override the size of the image, in pixels --> | caption = | discordtag = | discordid = | redditname = | roles = | irlname = | age = | 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 as used on the Doctor Penez page. The configured parameters are also listed.
User info | |
---|---|
Discord tag | Doctor Penez#2914 |
Discord ID | 291957859690872833 |
Reddit name | u/NovaSF |
Irony Hub | |
Roles | Trollsome |
IRL info | |
Name | Maxfield Benbow |
Age | 15 |
Residence | San Francisco, California, United States |
Gaming | |
Gaming | okbr gaming |
Steam | Doctor Penez |
External links |
{{Infobox user | name = Doctor Penez | image = Doctor Penez.gif | caption = | discordtag = Doctor Penez#2914 | discordid = 291957859690872833 | redditname = u/NovaSF | roles = Trollsome | irlname = Maxfield Benbow | age = 15 | residence = San Francisco, California, United States | gaming = okbr gaming | steam = [https://steamcommunity.com/id/doctorpenez Doctor Penez] | links = [https://twitter.com/DoctorPenez Twitter] }}
Infobox for use on articles about users. None of the parameters are required.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the user. You don't need to enter anything unless their name is different from the name of the page.
| String | optional |
image | image | An image to represent this user, such as their profile picture
| File | optional |
image_size | image_size | Override the size of the image, in pixels | Number | optional |
caption | caption | no description | Unknown | optional |
discordtag | discordtag | The user's Discord tag (User#0000)
| String | optional |
discordid | discordid | The user's ID; a long string of numbers
| Number | optional |
redditname | redditname | u/
| String | optional |
roles | roles | Mod, Trollsome, etc.
| String | optional |
irlname | irlname | The user's real name. | String | optional |
age | age | The user's age. | Number | optional |
residence | residence | Where the user lives. Don't get any more specific than city
| String | optional |
gaming | gaming | put whatever you want i guess | Unknown | optional |
steam | steam | A link to the user's Steam
| URL | optional |
links | links | For example, links to their Twitter or TikTok
| Unknown | optional |