Template:Infobox user/doc: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
Markus+** (talk | contribs)
Markus+** (talk | contribs)
Line 116: Line 116:
"description": "The user's age.",
"description": "The user's age.",
"type": "number",
"type": "number",
"suggested": true
                },
"died": {
"description": "date when the user died.",
"type": "string",
"suggested": true
                },
"causeofdeath": {
"description": "The cause of the death.",
"type": "string",
"suggested": true
"suggested": true
                 },
                 },
Line 165: Line 175:
"irlname",
"irlname",
"age",
"age",
"died",
"causeofdeath",
"gender",
"gender",
"residence",
"residence",

Revision as of 16:02, 7 June 2021

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      = <!-- 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 =
| roles      =
| irlname    =
| age        =
| gender     =
| died       =
| cause      =
| 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.

Doctor Penez
User info
Discord tagDoctor Penez#2914
Discord ID291957859690872833
Reddit nameu/NovaSF
Irony Hub
RolesTrollsome
IRL info
NameMaxfield Benbow
Age15
ResidenceSan Francisco, California, United States
Gaming
Gamingokbr gaming
SteamDoctor Penez
External linksTwitter
{{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      = {{Twitter|DoctorPenez}}
}}

Parameters

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

no description

Unknownoptional
Discord tagdiscordtag

The user's Discord tag (User#0000)

Example
Doctor Penez#2914
Auto value
Stringsuggested
Discord IDdiscordid

The user's ID; a long string of numbers

Example
291957859690872833
Numbersuggested
Reddit nameredditname

u/

Example
u/NovaSF
Stringsuggested
rolesroles

Mod, Trollsome, etc.

Example
Trollsome
Stringsuggested
IRL nameirlname

The user's real name.

Stringsuggested
ageage

The user's age.

Numbersuggested
dieddied

date when the user died.

Stringsuggested
causeofdeathcauseofdeath

The cause of the death.

Stringsuggested
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/doctorpenez Doctor Penez]
URLsuggested
linkslinks

For example, links to their Twitter or TikTok

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

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

Stringoptional