Template:Infobox user/doc: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
(Doctor Penez clearly does not want to be the example)
(Blanked the page)
Tags: Blanking Reverted
Line 1: Line 1:
This infobox is for use on articles about [[:Category:Users|users]].


=== Configuration ===
Here is a configuration of this template with all parameters:
<pre><nowiki>
{{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    =
| 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. -->
}}</nowiki></pre>
=== Example ===
Here is an example using a made-up user. The configured parameters are also listed.
{{Infobox user
| name      = Example User
| image      = Discord default pfp blurple.svg
| image_size = 180px
| caption    =
| discordtag = Example#0000
| discordid  = 753757823535677561
| redditname = u/spez
| roles      = {{trollsome|nocat=yes}}
| irlname    = Barack Obama
| age        = 16
| gender    = Male
| residence  = San Francisco, California, United States
| gaming    = obama gaming
| steam      = [https://steamcommunity.com/id/doctorpenez Doctor Penez]
| links      = [https://niggafart.com Website], {{Twitter|AndrewYang}}
| nocat      = yes
}}
<pre><nowiki>
{{Infobox user
| name      = Example User
| image      = Discord default pfp blurple.svg
| image_size = 180px
| caption    =
| discordtag = Example#0000
| discordid  = 753757823535677561
| redditname = u/spez
| roles      = {{trollsome}}
| 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}}
}}</nowiki></pre>
=== Parameters ===
<templatedata>
{
"params": {
"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.",
"type": "string",
"suggested": true,
"default": "{{PAGENAME}}"
},
"image": {
"description": "An image to represent this user, such as their profile picture",
"example": "Trollface.svg",
"type": "wiki-file-name",
"suggested": true
},
"caption": {
"description": "A caption for the image",
"type": "string"
},
"discordtag": {
"description": "The user's Discord tag (User#0000)",
"example": "Doctor Penez#2914",
"type": "string",
"label": "Discord tag",
"suggested": true
},
"discordid": {
"description": "The user's ID; a long string of numbers",
"example": "753757823535677561",
"type": "number",
"label": "Discord ID",
"suggested": true
},
"redditname": {
"description": "u/",
"example": "u/NovaSF",
"type": "string",
"label": "Reddit name",
"suggested": true
},
"roles": {
"description": "Mod, Trollsome, etc.",
"example": "Trollsome",
"type": "string",
"suggested": true
},
"irlname": {
"description": "The user's real name.",
"type": "string",
"label": "IRL name",
"suggested": true
},
"age": {
"description": "The user's age.",
"type": "number",
"suggested": true
                },
"gender": {
                        "description": "The user's gender",
                        "type": "string",
                        "suggested": true
},
"residence": {
"description": "Where the user lives. Don't get any more specific than city",
"example": "San Francisco, California, United States",
"type": "string",
"suggested": true
},
"gaming": {
"description": "put whatever you want i guess"
},
"steam": {
"description": "A link to the user's Steam",
"example": "[https://steamcommunity.com/id/saucylegs69420/ Saucy]",
"type": "url",
"suggested": true
},
"links": {
"description": "For example, links to their Twitter or TikTok",
"example": "[https://example.com/ Website], {{Twitter|AndrewYang}}",
"suggested": true
},
"image_size": {
"description": "Override the size of the image, in pixels",
"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"
}
},
"description": "Infobox for use on articles about users. None of the parameters are required.",
"paramOrder": [
"name",
"image",
"image_size",
"caption",
"discordtag",
"discordid",
"redditname",
"roles",
"irlname",
"age",
"gender",
"residence",
"gaming",
"steam",
"links",
"nocat"
],
"format": "block"
}
</templatedata>

Revision as of 23:51, 26 June 2022