Template:Infobox user/doc: Difference between revisions
template data |
template data |
||
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]]. | ||
=== | === Configuration === | ||
Here is a | Here is a configuration of this template with all parameters: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Infobox user | {{Infobox user | ||
Line 58: | Line 58: | ||
| links = [https://twitter.com/DoctorPenez Twitter] | | links = [https://twitter.com/DoctorPenez Twitter] | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
=== Parameters === | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
"description": "The | "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}}" | ||
Line 75: | Line 77: | ||
"description": "The user's Discord tag (User#0000)", | "description": "The user's Discord tag (User#0000)", | ||
"example": "Doctor Penez#2914", | "example": "Doctor Penez#2914", | ||
"type": "string" | "type": "string", | ||
"label": "Discord tag" | |||
}, | }, | ||
"discordid": { | "discordid": { | ||
"description": "The user's ID; a long string of numbers", | "description": "The user's ID; a long string of numbers", | ||
"example": "291957859690872833", | "example": "291957859690872833", | ||
"type": "number" | "type": "number", | ||
"label": "Discord ID" | |||
}, | }, | ||
"redditname": { | "redditname": { | ||
"description": "u/", | "description": "u/", | ||
"example": "u/NovaSF", | "example": "u/NovaSF", | ||
"type": "string" | "type": "string", | ||
"label": "Reddit name" | |||
}, | }, | ||
"roles": { | "roles": { | ||
Line 94: | Line 99: | ||
"irlname": { | "irlname": { | ||
"description": "The user's real name.", | "description": "The user's real name.", | ||
"type": "string" | "type": "string", | ||
"label": "IRL name" | |||
}, | }, | ||
"age": { | "age": { | ||
Line 119: | Line 125: | ||
"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", | ||
"label": "Image size" | |||
} | } | ||
}, | }, |