Template:Infobox user/doc: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
Qaukduic (talk | contribs)
No edit summary
No edit summary
 
(14 intermediate revisions by 5 users not shown)
Line 12: Line 12:
| discordid  =
| discordid  =
| redditname =
| redditname =
| roles      =
| othernames =
| subboxes  = <!-- Place {{Server subbox}}es here. For more info, see Template:Server subbox -->
| irlname    =
| irlname    =
| age        =
| age        =
Line 24: Line 25:


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


{{Infobox user
{{Infobox user
| name      = Doctor Penez
| name      = Example User
| image      = Doctor Penez.gif
| image      = Discord default pfp blurple.svg
| image_size = 180px
| caption    =
| caption    =
| discordtag = Doctor Penez#2914
| discordtag = exampleusername
| discordid  = 291957859690872833
| discordid  = 753757823535677561
| redditname = u/NovaSF
| redditname = u/spez
| roles     = Trollsome
| othernames = Example#0000 <br/>obama gaming
| irlname    = Maxfield Benbow
| subboxes  = {{Server subbox
| age        = 15
  | server = Irony Hub
  | 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    = okbr gaming
| gaming    = obama gaming
| steam      = [https://steamcommunity.com/id/doctorpenez Doctor Penez]
| steam      = [https://steamcommunity.com/id/doctorpenez Doctor Penez]
| links      = {{Twitter|DoctorPenez}}
| links      = [https://niggafart.com Website], {{Twitter|AndrewYang}}
| nocat      = yes
| nocat      = yes
}}
}}
Line 45: Line 63:
<pre><nowiki>
<pre><nowiki>
{{Infobox user
{{Infobox user
| name      = Doctor Penez
| name      = Example User
| image      = Doctor Penez.gif
| image      = Discord default pfp blurple.svg
| image_size = 180px
| caption    =
| caption    =
| discordtag = Doctor Penez#2914
| discordtag = exampleusername
| discordid  = 291957859690872833
| discordid  = 753757823535677561
| redditname = u/NovaSF
| redditname = u/spez
| roles     = Trollsome
| othernames = Example#0000 <br/>obama gaming
| irlname    = Maxfield Benbow
| subboxes  = {{Server subbox
| age        = 15
  | server = Irony Hub
  | 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    = okbr gaming
| gaming    = obama gaming
| steam      = [https://steamcommunity.com/id/doctorpenez Doctor Penez]
| steam      = [https://steamcommunity.com/id/doctorpenez Doctor Penez]
| links      = {{Twitter|DoctorPenez}}
| links      = [https://niggafart.com Website], {{Twitter|AndrewYang}}
}}</nowiki></pre>
}}</nowiki></pre>


Line 76: Line 109:
"suggested": true
"suggested": true
},
},
"caption": {},
"caption": {
"description": "A caption for the image",
"type": "string"
},
"discordtag": {
"discordtag": {
"description": "The user's Discord tag (User#0000)",
"description": "The user's Discord username (not their display name)",
"example": "Doctor Penez#2914",
"example": "grantvszombies",
"type": "string",
"type": "string",
"label": "Discord tag",
"label": "Discord tag",
"autovalue": "",
"suggested": true
"suggested": true
},
},
"discordid": {
"discordid": {
"description": "The user's ID; a long string of numbers",
"description": "The user's ID; a long string of digits",
"example": "291957859690872833",
"example": "753757823535677561",
"type": "number",
"type": "number",
"label": "Discord ID",
"label": "Discord ID",
Line 103: Line 138:
"example": "Trollsome",
"example": "Trollsome",
"type": "string",
"type": "string",
"suggested": true
"deprecated": "Use {{Server subbox}} in the subboxes parameter instead."
},
},
"irlname": {
"irlname": {
Line 115: Line 150:
"type": "number",
"type": "number",
"suggested": true
"suggested": true
                },
},
"gender": {
"gender": {
                        "description": "The user's gender",
"description": "The user's gender",
                        "type": "string",
"type": "string",
                        "suggested": true
"suggested": true
},
},
"residence": {
"residence": {
Line 132: Line 167:
"steam": {
"steam": {
"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/saucylegs69420/ Saucy]",
"type": "url",
"type": "url",
"suggested": true
"suggested": true
Line 138: Line 173:
"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|DoctorPenez}}",
"example": "[https://example.com/ Website], {{Twitter|AndrewYang}}",
"suggested": true
"suggested": true
},
},
Line 149: Line 184:
"description": "Set this to \"yes\" to remove the page from the Users category. This shouldn't be used in most cirumstances.",
"description": "Set this to \"yes\" to remove the page from the Users category. This shouldn't be used in most cirumstances.",
"type": "string"
"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 159: Line 212:
"discordtag",
"discordtag",
"discordid",
"discordid",
"servers",
"redditname",
"redditname",
"othernames",
"subboxes",
"roles",
"roles",
"irlname",
"irlname",
Line 173: Line 229:
}
}
</templatedata>
</templatedata>
<includeonly>
[[Category:Infobox templates|user]]
[[Category:Templates that store Cargo data]]
</includeonly>

Latest revision as of 07:48, 18 August 2023

This infobox is for use on articles about users.

Configuration[edit source]

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      = <!-- Just enter the file name. Do not include "File:" or any brackets. For example: Trollface.svg -->
| image_size = <!-- Override the size of the image, in pixels -->
| caption    =
| discordtag =
| discordid  =
| redditname =
| othernames =
| subboxes   = <!-- Place {{Server subbox}}es here. For more info, see Template:Server subbox -->
| irlname    =
| age        =
| gender     =
| 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[edit source]

Here is an example using a made-up user. The configured parameters are also listed.

Example User
User info
Discord tagexampleusername
Discord ID753757823535677561
Reddit nameu/spez
Also known asExample#0000
obama gaming
Irony Hub
StatusLeft server
Roles Trollsome
Joined serverSeptember 11, 2020
Left serverFebruary 30, 2021
Whenthe
StatusActive
Roles Bluename
Joined serverDecember 25, 2020
IRL info
NameBarack Obama
Age16
GenderMale
ResidenceSan Francisco, California, United States
Gaming
Gamingobama gaming
SteamDoctor Penez
External linksWebsite, Twitter
{{Infobox user
| name       = Example User
| image      = Discord default pfp blurple.svg
| image_size = 180px
| caption    =
| discordtag = exampleusername
| discordid  = 753757823535677561
| redditname = u/spez
| othernames = Example#0000 <br/>obama gaming
| subboxes   = {{Server subbox
  | server = Irony Hub
  | 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
| gaming     = obama gaming
| steam      = [https://steamcommunity.com/id/doctorpenez Doctor Penez]
| links      = [https://niggafart.com Website], {{Twitter|AndrewYang}}
}}

Parameters[edit source]

Infobox for use on articles about users. None of the parameters are required.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

The username of the user. You don't need to enter anything unless their username is different from the name of the page.

Default
{{PAGENAME}}
Stringsuggested
imageimage

An image to represent this user, such as their profile picture

Example
Trollface.svg
Filesuggested
Image sizeimage_size

Override the size of the image, in pixels

Numberoptional
captioncaption

A caption for the image

Stringoptional
Discord tagdiscordtag

The user's Discord username (not their display name)

Example
grantvszombies
Stringsuggested
Discord IDdiscordid

The user's ID; a long string of digits

Example
753757823535677561
Numbersuggested
serversservers

Servers that this user is, or historically has been, an active member of.

Example
[[Whenthe]], [[Irony Hub]] (formerly)
Stringsuggested
Reddit nameredditname

u/

Example
u/NovaSF
Stringsuggested
Also known asothernames

Alternate or historical names that the user is also known by.

Stringsuggested
subboxessubboxes

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}}
Unbalanced wikitextsuggested
rolesroles

Mod, Trollsome, etc.

Example
Trollsome
Stringdeprecated
IRL nameirlname

The user's real name.

Stringsuggested
ageage

The user's age.

Numbersuggested
gendergender

The user's gender

Stringsuggested
residenceresidence

Where the user lives. Don't get any more specific than city

Example
San Francisco, California, United States
Stringsuggested
gaminggaming

put whatever you want i guess

Unknownoptional
steamsteam

A link to the user's Steam

Example
[https://steamcommunity.com/id/saucylegs69420/ Saucy]
URLsuggested
linkslinks

For example, links to their Twitter or TikTok

Example
[https://example.com/ Website], {{Twitter|AndrewYang}}
Unknownsuggested
nocatnocat

Set this to "yes" to remove the page from the Users category. This shouldn't be used in most cirumstances.

Stringoptional