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]].


=== Configuration ===
=== Parameters ===
Here is a configuration of this template with all parameters:
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      = <!-- Just enter the file name. Do not include "File:" or any brackets. For example: Trollface.svg -->
| 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 =
| othernames =
| roles      =
| subboxes  = <!-- Place {{Server subbox}}es here. For more info, see Template:Server subbox -->
| irlname    =
| irlname    =
| age        =
| age        =
| gender    =
| residence  =
| residence  =
| gaming    = <!-- gaming -->
| gaming    = <!-- gaming -->
Line 25: Line 23:


=== Example ===
=== Example ===
Here is an example using a made-up user. The configured parameters are also listed.
Here is an example as used on the [[Doctor Penez]] page. The configured parameters are also listed.


{{Infobox user
{{Infobox user
| name      = Example User
| name      = Doctor Penez
| image      = Discord default pfp blurple.svg
| image      = Doctor Penez.gif
| image_size = 180px
| caption    =
| caption    =
| discordtag = exampleusername
| discordtag = Doctor Penez#2914
| discordid  = 753757823535677561
| discordid  = 291957859690872833
| redditname = u/spez
| redditname = u/NovaSF
| othernames = Example#0000 <br/>obama gaming
| roles     = Trollsome
| subboxes  = {{Server subbox
| irlname    = Maxfield Benbow
  | server = Irony Hub
| age        = 15
  | status = Left server
  | roles = {{role|Trollsome|#9062f8}}
  | joined = September 11, 2020
  | left  = February 30, 2021
  | nocat  = yes
  }}
  {{Server subbox
  | server = Whenthe
  | status = Active
  | roles  = {{role|Bluename|#007ac1}}
  | joined = December 25, 2020
  | nocat  = yes
  }}
| irlname    = Barack Obama
| age        = 16
| gender    = Male
| residence  = San Francisco, California, United States
| residence  = San Francisco, California, United States
| gaming    = obama gaming
| gaming    = okbr gaming
| steam      = [https://steamcommunity.com/id/doctorpenez Doctor Penez]
| steam      = [https://steamcommunity.com/id/doctorpenez Doctor Penez]
| links      = [https://niggafart.com Website], {{Twitter|AndrewYang}}
| links      = [https://twitter.com/DoctorPenez Twitter]
| nocat      = yes
| nocat      = yes
}}
}}
Line 63: Line 44:
<pre><nowiki>
<pre><nowiki>
{{Infobox user
{{Infobox user
| name      = Example User
| name      = Doctor Penez
| image      = Discord default pfp blurple.svg
| image      = Doctor Penez.gif
| image_size = 180px
| caption    =
| caption    =
| discordtag = exampleusername
| discordtag = Doctor Penez#2914
| discordid  = 753757823535677561
| discordid  = 291957859690872833
| redditname = u/spez
| redditname = u/NovaSF
| othernames = Example#0000 <br/>obama gaming
| roles     = Trollsome
| subboxes  = {{Server subbox
| irlname    = Maxfield Benbow
  | server = Irony Hub
| age        = 15
  | status = Left server
  | roles = {{role|Trollsome|#9062f8}}
  | joined = September 11, 2020
  | left  = February 30, 2021
  }}
  {{Server subbox
  | server = Whenthe
  | status = Active
  | roles  = {{role|Bluename|#007ac1}}
  | joined = December 25, 2020
  }}
| irlname    = Barack Obama
| age        = 16
| gender    = Female
| residence  = San Francisco, California, United States
| residence  = San Francisco, California, United States
| gaming    = obama gaming
| gaming    = okbr gaming
| steam      = [https://steamcommunity.com/id/doctorpenez Doctor Penez]
| steam      = [https://steamcommunity.com/id/doctorpenez Doctor Penez]
| links      = [https://niggafart.com Website], {{Twitter|AndrewYang}}
| links      = [https://twitter.com/DoctorPenez Twitter]
}}</nowiki></pre>
}}</nowiki></pre>
=== Parameters ===
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"name": {
"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.",
"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",
"suggested": true,
"autovalue": "{{PAGENAME}}"
"default": "{{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"
"suggested": true
},
},
"caption": {
"caption": {},
"description": "A caption for the image",
"discordtag": {
"description": "The user's Discord tag (User#0000)",
"example": "Doctor Penez#2914",
"type": "string"
"type": "string"
},
"discordtag": {
"description": "The user's Discord username (not their display name)",
"example": "grantvszombies",
"type": "string",
"label": "Discord tag",
"suggested": true
},
},
"discordid": {
"discordid": {
"description": "The user's ID; a long string of digits",
"description": "The user's ID; a long string of numbers",
"example": "753757823535677561",
"example": "291957859690872833",
"type": "number",
"type": "number"
"label": "Discord ID",
"suggested": true
},
},
"redditname": {
"redditname": {
"description": "u/",
"description": "u/",
"example": "u/NovaSF",
"example": "u/NovaSF",
"type": "string",
"type": "string"
"label": "Reddit name",
"suggested": true
},
},
"roles": {
"roles": {
"description": "Mod, Trollsome, etc.",
"description": "Mod, Trollsome, etc.",
"example": "Trollsome",
"example": "Trollsome",
"type": "string",
"type": "string"
"deprecated": "Use {{Server subbox}} in the subboxes parameter instead."
},
},
"irlname": {
"irlname": {
"description": "The user's real name.",
"description": "The user's real name.",
"type": "string",
"type": "string"
"label": "IRL name",
"suggested": true
},
},
"age": {
"age": {
"description": "The user's age.",
"description": "The user's age.",
"type": "number",
"type": "number"
"suggested": true
},
"gender": {
"description": "The user's gender",
"type": "string",
"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 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/saucylegs69420/ Saucy]",
"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": "[https://example.com/ Website], {{Twitter|AndrewYang}}",
"example": "{{Twitter|DoctorPenez}}"
"suggested": true
},
},
"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"
},
"nocat": {
"description": "Set this to \"yes\" to remove the page from the Users category. This shouldn't be used in most cirumstances.",
"type": "string"
},
"servers": {
"description": "Servers that this user is, or historically has been, an active member of.",
"example": "[[Whenthe]], [[Irony Hub]] (formerly)",
"type": "string",
"suggested": true
},
"subboxes": {
"description": "Place {{Server subbox}} templates here to document the user's presence and status for each server they are a part of. Go to [[Template:Server subbox]] for more information.",
"example": "{{Server subbox | server = Irony Hub | status = Left server | roles = {{role|Trollsome|#9062f8}} | joined = September 11, 2020 | left = February 30, 2021}}",
"type": "unbalanced-wikitext",
"suggested": true
},
"othernames": {
"label": "Also known as",
"description": "Alternate or historical names that the user is also known by.",
"type": "string",
"suggested": true
}
}
},
},
Line 212: Line 130:
"discordtag",
"discordtag",
"discordid",
"discordid",
"servers",
"redditname",
"redditname",
"othernames",
"subboxes",
"roles",
"roles",
"irlname",
"irlname",
"age",
"age",
"gender",
"residence",
"residence",
"gaming",
"gaming",
"steam",
"steam",
"links",
"links"
"nocat"
],
],
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedata>
<includeonly>
[[Category:Infobox templates|user]]
[[Category:Templates that store Cargo data]]
</includeonly>
Please note that all contributions to Irony Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Irony Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)