Template:Infobox user/doc: Difference between revisions
Created page with "==Description== This infobox is used for user pages. ==Parameters== <pre> {{Infobox user |title = |image = |caption = |gender = |pronouns = |birthdate = |birthplace = |location = |website = |blog = |battledotnet = |bluesky = |cohost = |deviantart = |discord = |facebook = |github = |gitlab = |instagram = |mastodon = |pastebin = |psn = |reddit = |steam = |tumblr = |twitch = |twitter = |xboxlive = |youtube = }} </pre> <includeonly>Category:In..." |
Added TemplateData |
||
Line 36: | Line 36: | ||
}} | }} | ||
</pre> | </pre> | ||
==TemplateData== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "The custom title to be displayed on the infobox.", | |||
"type": "string", | |||
"default": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "A personal image to be displayed.", | |||
"type": "wiki-file-name" | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "The caption of the image.", | |||
"type": "string" | |||
}, | |||
"gender": { | |||
"label": "Gender", | |||
"description": "The gender of a user.", | |||
"type": "string" | |||
}, | |||
"pronouns": { | |||
"label": "Pronouns", | |||
"description": "The pronouns for this user.", | |||
"example": "they/them", | |||
"type": "string" | |||
}, | |||
"birthdate": { | |||
"label": "Birth date", | |||
"description": "The date of when this user was born.", | |||
"type": "date" | |||
}, | |||
"birthplace": { | |||
"label": "Birth place", | |||
"description": "The place of where this user was born in.", | |||
"type": "string" | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"description": "The location of this user.", | |||
"type": "string" | |||
}, | |||
"website": { | |||
"label": "Website", | |||
"description": "The website of this user.", | |||
"type": "url" | |||
}, | |||
"blog": { | |||
"label": "Blog", | |||
"description": "The URL for the blog of this user.", | |||
"type": "url" | |||
}, | |||
"battledotnet": { | |||
"label": "Battle.net username", | |||
"description": "The username for this user on Battle.net.", | |||
"type": "string" | |||
}, | |||
"bluesky": { | |||
"label": "Bluesky username", | |||
"description": "The username for this user on Bluesky.", | |||
"example": "example.bsky.social", | |||
"type": "string" | |||
}, | |||
"cohost": { | |||
"label": "Cohost username", | |||
"description": "The username for this user on Cohost.", | |||
"type": "string" | |||
}, | |||
"deviantart": { | |||
"label": "DeviantArt username", | |||
"description": "The username for this user on DeviantArt.", | |||
"type": "string" | |||
}, | |||
"discord": { | |||
"label": "Discord username", | |||
"description": "The username for this user on Discord.", | |||
"type": "string" | |||
}, | |||
"facebook": { | |||
"label": "Facebook username", | |||
"description": "The username for this user on Facebook.", | |||
"type": "string" | |||
}, | |||
"github": { | |||
"label": "GitHub username", | |||
"description": "The username for this user on GitHub.", | |||
"type": "string" | |||
}, | |||
"gitlab": { | |||
"label": "GitLab username", | |||
"description": "The username for this user on GitLab.", | |||
"type": "string" | |||
}, | |||
"instagram": { | |||
"label": "Instagram username", | |||
"description": "The username for this user on Instagram.", | |||
"type": "string" | |||
}, | |||
"mastodon": { | |||
"label": "Mastodon username", | |||
"description": "The username for this user on Mastodon.", | |||
"type": "string" | |||
}, | |||
"pastebin": { | |||
"label": "Pastebin username", | |||
"description": "The username for this user on Pastebin.", | |||
"type": "string" | |||
}, | |||
"psn": { | |||
"label": "PlayStation Network username", | |||
"description": "The username for this user on PlayStation Network.", | |||
"type": "string" | |||
}, | |||
"reddit": { | |||
"label": "Reddit username", | |||
"description": "The username for this user on Reddit.", | |||
"type": "string" | |||
}, | |||
"steam": { | |||
"label": "Steam username", | |||
"description": "The username for this user on Steam.", | |||
"type": "string" | |||
}, | |||
"tumblr": { | |||
"label": "Tumblr username", | |||
"description": "The username for this user on Tumblr.", | |||
"type": "string" | |||
}, | |||
"twitch": { | |||
"label": "Twitch username", | |||
"description": "The username for this user on Twitch.", | |||
"type": "string" | |||
}, | |||
"twitter": { | |||
"label": "Twitter/X username", | |||
"description": "The username for this user on Twitter/X.", | |||
"type": "string" | |||
}, | |||
"xboxlive": { | |||
"label": "Xbox Live username", | |||
"description": "The username for this user on Xbox Live.", | |||
"type": "string" | |||
}, | |||
"youtube": { | |||
"label": "YouTube channel", | |||
"description": "The channel name for this user on YouTube. May include a URL.", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Used to display information about a user.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 23:59, 2 March 2025
Description
This infobox is used for user pages.
Parameters
{{Infobox user |title = |image = |caption = |gender = |pronouns = |birthdate = |birthplace = |location = |website = |blog = |battledotnet = |bluesky = |cohost = |deviantart = |discord = |facebook = |github = |gitlab = |instagram = |mastodon = |pastebin = |psn = |reddit = |steam = |tumblr = |twitch = |twitter = |xboxlive = |youtube = }}
TemplateData
Used to display information about a user.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The custom title to be displayed on the infobox.
| String | optional |
Image | image | A personal image to be displayed. | File | optional |
Caption | caption | The caption of the image. | String | optional |
Gender | gender | The gender of a user. | String | optional |
Pronouns | pronouns | The pronouns for this user.
| String | optional |
Birth date | birthdate | The date of when this user was born. | Date | optional |
Birth place | birthplace | The place of where this user was born in. | String | optional |
Location | location | The location of this user. | String | optional |
Website | website | The website of this user. | URL | optional |
Blog | blog | The URL for the blog of this user. | URL | optional |
Battle.net username | battledotnet | The username for this user on Battle.net. | String | optional |
Bluesky username | bluesky | The username for this user on Bluesky.
| String | optional |
Cohost username | cohost | The username for this user on Cohost. | String | optional |
DeviantArt username | deviantart | The username for this user on DeviantArt. | String | optional |
Discord username | discord | The username for this user on Discord. | String | optional |
Facebook username | facebook | The username for this user on Facebook. | String | optional |
GitHub username | github | The username for this user on GitHub. | String | optional |
GitLab username | gitlab | The username for this user on GitLab. | String | optional |
Instagram username | instagram | The username for this user on Instagram. | String | optional |
Mastodon username | mastodon | The username for this user on Mastodon. | String | optional |
Pastebin username | pastebin | The username for this user on Pastebin. | String | optional |
PlayStation Network username | psn | The username for this user on PlayStation Network. | String | optional |
Reddit username | reddit | The username for this user on Reddit. | String | optional |
Steam username | steam | The username for this user on Steam. | String | optional |
Tumblr username | tumblr | The username for this user on Tumblr. | String | optional |
Twitch username | twitch | The username for this user on Twitch. | String | optional |
Twitter/X username | twitter | The username for this user on Twitter/X. | String | optional |
Xbox Live username | xboxlive | The username for this user on Xbox Live. | String | optional |
YouTube channel | youtube | The channel name for this user on YouTube. May include a URL. | String | optional |