Editing Template:Infobox user/doc
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
This infobox is for use on articles about [[:Category:Users|users]]. | This infobox is for use on articles about [[:Category:Users|users]]. | ||
=== | === Parameters === | ||
Here is a | Here is a list of all parameters for this infobox: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Infobox user | {{Infobox user | ||
| name = <!-- If this field is not provided, the page name will be used. --> | | name = <!-- If this field is not provided, the page name will be used. --> | ||
| image = | | image = | ||
| image_size = <!-- Override the size of the image, in pixels --> | | image_size = <!-- Override the size of the image, in pixels --> | ||
| caption = | | caption = | ||
Line 12: | Line 12: | ||
| discordid = | | discordid = | ||
| redditname = | | redditname = | ||
| | | roles = | ||
| irlname = | | irlname = | ||
| age = | | age = | ||
| residence = | | residence = | ||
| gaming = <!-- gaming --> | | gaming = <!-- gaming --> | ||
Line 25: | Line 23: | ||
=== Example === | === Example === | ||
Here is an example | Here is an example as used on the [[Doctor Penez]] page. The configured parameters are also listed. | ||
{{Infobox user | {{Infobox user | ||
| name = | | name = Doctor Penez | ||
| image = | | image = Doctor Penez.gif | ||
| caption = | | caption = | ||
| discordtag = | | discordtag = Doctor Penez#2914 | ||
| discordid = | | discordid = 291957859690872833 | ||
| redditname = u/ | | redditname = u/NovaSF | ||
| roles = Trollsome | |||
| irlname = Maxfield Benbow | |||
| age = 15 | |||
| irlname = | |||
| age = | |||
| residence = San Francisco, California, United States | | residence = San Francisco, California, United States | ||
| gaming = | | gaming = okbr gaming | ||
| steam = [https://steamcommunity.com/id/doctorpenez Doctor Penez] | | steam = [https://steamcommunity.com/id/doctorpenez Doctor Penez] | ||
| links = [https:// | | links = [https://twitter.com/DoctorPenez Twitter] | ||
| nocat = yes | | nocat = yes | ||
}} | }} | ||
Line 63: | Line 44: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Infobox user | {{Infobox user | ||
| name = | | name = Doctor Penez | ||
| image = | | image = Doctor Penez.gif | ||
| caption = | | caption = | ||
| discordtag = | | discordtag = Doctor Penez#2914 | ||
| discordid = | | discordid = 291957859690872833 | ||
| redditname = u/ | | redditname = u/NovaSF | ||
| roles = Trollsome | |||
| irlname = Maxfield Benbow | |||
| age = 15 | |||
| irlname = | |||
| age = | |||
| residence = San Francisco, California, United States | | residence = San Francisco, California, United States | ||
| gaming = | | gaming = okbr gaming | ||
| steam = [https://steamcommunity.com/id/doctorpenez Doctor Penez] | | steam = [https://steamcommunity.com/id/doctorpenez Doctor Penez] | ||
| links = [https:// | | links = [https://twitter.com/DoctorPenez Twitter] | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
"description": "The | "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", | "type": "string", | ||
" | "autovalue": "{{PAGENAME}}" | ||
}, | }, | ||
"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" | ||
}, | }, | ||
"caption": { | "caption": {}, | ||
"description": " | "discordtag": { | ||
"description": "The user's Discord tag (User#0000)", | |||
"example": "Doctor Penez#2914", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
"discordid": { | "discordid": { | ||
"description": "The user's ID; a long string of | "description": "The user's ID; a long string of numbers", | ||
"example": " | "example": "291957859690872833", | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"redditname": { | "redditname": { | ||
"description": "u/", | "description": "u/", | ||
"example": "u/NovaSF", | "example": "u/NovaSF", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"roles": { | "roles": { | ||
"description": "Mod, Trollsome, etc.", | "description": "Mod, Trollsome, etc.", | ||
"example": "Trollsome", | "example": "Trollsome", | ||
"type": "string | "type": "string" | ||
}, | }, | ||
"irlname": { | "irlname": { | ||
"description": "The user's real name.", | "description": "The user's real name.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"age": { | "age": { | ||
"description": "The user's age.", | "description": "The user's age.", | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"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" | ||
}, | }, | ||
"gaming": { | "gaming": { | ||
Line 167: | Line 110: | ||
"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/doctorpenez Doctor Penez]", | ||
"type": "url" | "type": "url" | ||
}, | }, | ||
"links": { | "links": { | ||
"description": "For example, links to their Twitter or TikTok", | "description": "For example, links to their Twitter or TikTok", | ||
"example": " | "example": "{{Twitter|DoctorPenez}}" | ||
}, | }, | ||
"image_size": { | "image_size": { | ||
"description": "Override the size of the image, in pixels", | "description": "Override the size of the image, in pixels", | ||
"type": "number" | "type": "number" | ||
} | } | ||
}, | }, | ||
Line 212: | Line 130: | ||
"discordtag", | "discordtag", | ||
"discordid", | "discordid", | ||
"redditname", | "redditname", | ||
"roles", | "roles", | ||
"irlname", | "irlname", | ||
"age", | "age", | ||
"residence", | "residence", | ||
"gaming", | "gaming", | ||
"steam", | "steam", | ||
"links | "links" | ||
], | ], | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||