Jump to content

Template:Infobox user/doc: Difference between revisions

From Neptunia Wiki
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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

The custom title to be displayed on the infobox.

Default
{{PAGENAME}}
Stringoptional
Imageimage

A personal image to be displayed.

Fileoptional
Captioncaption

The caption of the image.

Stringoptional
Gendergender

The gender of a user.

Stringoptional
Pronounspronouns

The pronouns for this user.

Example
they/them
Stringoptional
Birth datebirthdate

The date of when this user was born.

Dateoptional
Birth placebirthplace

The place of where this user was born in.

Stringoptional
Locationlocation

The location of this user.

Stringoptional
Websitewebsite

The website of this user.

URLoptional
Blogblog

The URL for the blog of this user.

URLoptional
Battle.net usernamebattledotnet

The username for this user on Battle.net.

Stringoptional
Bluesky usernamebluesky

The username for this user on Bluesky.

Example
example.bsky.social
Stringoptional
Cohost usernamecohost

The username for this user on Cohost.

Stringoptional
DeviantArt usernamedeviantart

The username for this user on DeviantArt.

Stringoptional
Discord usernamediscord

The username for this user on Discord.

Stringoptional
Facebook usernamefacebook

The username for this user on Facebook.

Stringoptional
GitHub usernamegithub

The username for this user on GitHub.

Stringoptional
GitLab usernamegitlab

The username for this user on GitLab.

Stringoptional
Instagram usernameinstagram

The username for this user on Instagram.

Stringoptional
Mastodon usernamemastodon

The username for this user on Mastodon.

Stringoptional
Pastebin usernamepastebin

The username for this user on Pastebin.

Stringoptional
PlayStation Network usernamepsn

The username for this user on PlayStation Network.

Stringoptional
Reddit usernamereddit

The username for this user on Reddit.

Stringoptional
Steam usernamesteam

The username for this user on Steam.

Stringoptional
Tumblr usernametumblr

The username for this user on Tumblr.

Stringoptional
Twitch usernametwitch

The username for this user on Twitch.

Stringoptional
Twitter/X usernametwitter

The username for this user on Twitter/X.

Stringoptional
Xbox Live usernamexboxlive

The username for this user on Xbox Live.

Stringoptional
YouTube channelyoutube

The channel name for this user on YouTube. May include a URL.

Stringoptional