Template:Infobox user/doc: Difference between revisions
template data |
No edit summary |
||
| Line 66: | Line 66: | ||
"description": "The username of the user. You don't need to enter anything unless their username is different from the name of the page.", | "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", | "type": "string", | ||
"autovalue": "{{PAGENAME}}" | "autovalue": "{{PAGENAME}}", | ||
"suggested": true | |||
}, | }, | ||
"image": { | "image": { | ||
"description": "An image to represent this user, such as their profile picture", | "description": "An image to represent this user, such as their profile picture", | ||
"example": "Trollface.svg", | "example": "Trollface.svg", | ||
"type": "wiki-file-name" | "type": "wiki-file-name", | ||
"suggested": true | |||
}, | }, | ||
"caption": {}, | "caption": {}, | ||
| Line 78: | Line 80: | ||
"example": "Doctor Penez#2914", | "example": "Doctor Penez#2914", | ||
"type": "string", | "type": "string", | ||
"label": "Discord tag" | "label": "Discord tag", | ||
"autovalue": "", | |||
"suggested": true | |||
}, | }, | ||
"discordid": { | "discordid": { | ||
| Line 84: | Line 88: | ||
"example": "291957859690872833", | "example": "291957859690872833", | ||
"type": "number", | "type": "number", | ||
"label": "Discord ID" | "label": "Discord ID", | ||
"suggested": true | |||
}, | }, | ||
"redditname": { | "redditname": { | ||
| Line 90: | Line 95: | ||
"example": "u/NovaSF", | "example": "u/NovaSF", | ||
"type": "string", | "type": "string", | ||
"label": "Reddit name" | "label": "Reddit name", | ||
"suggested": true | |||
}, | }, | ||
"roles": { | "roles": { | ||
"description": "Mod, Trollsome, etc.", | "description": "Mod, Trollsome, etc.", | ||
"example": "Trollsome", | "example": "Trollsome", | ||
"type": "string" | "type": "string", | ||
"suggested": true | |||
}, | }, | ||
"irlname": { | "irlname": { | ||
"description": "The user's real name.", | "description": "The user's real name.", | ||
"type": "string", | "type": "string", | ||
"label": "IRL name" | "label": "IRL name", | ||
"suggested": true | |||
}, | }, | ||
"age": { | "age": { | ||
"description": "The user's age.", | "description": "The user's age.", | ||
"type": "number" | "type": "number", | ||
"suggested": true | |||
}, | }, | ||
"residence": { | "residence": { | ||
"description": "Where the user lives. Don't get any more specific than city", | "description": "Where the user lives. Don't get any more specific than city", | ||
"example": "San Francisco, California, United States", | "example": "San Francisco, California, United States", | ||
"type": "string" | "type": "string", | ||
"suggested": true | |||
}, | }, | ||
"gaming": { | "gaming": { | ||
| Line 117: | Line 127: | ||
"description": "A link to the user's Steam", | "description": "A link to the user's Steam", | ||
"example": "[https://steamcommunity.com/id/doctorpenez Doctor Penez]", | "example": "[https://steamcommunity.com/id/doctorpenez Doctor Penez]", | ||
"type": "url" | "type": "url", | ||
"suggested": true | |||
}, | }, | ||
"links": { | "links": { | ||
"description": "For example, links to their Twitter or TikTok", | "description": "For example, links to their Twitter or TikTok", | ||
"example": "{{Twitter|DoctorPenez}}" | "example": "{{Twitter|DoctorPenez}}", | ||
"suggested": true | |||
}, | }, | ||
"image_size": { | "image_size": { | ||
| Line 127: | Line 139: | ||
"type": "number", | "type": "number", | ||
"label": "Image size" | "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" | |||
} | } | ||
}, | }, | ||
| Line 144: | Line 160: | ||
"gaming", | "gaming", | ||
"steam", | "steam", | ||
"links" | "links", | ||
"nocat" | |||
], | ], | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 09:59, 6 August 2020
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 =
| 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]
}}
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 | no description | Unknown | 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 |
| 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 |
