Template:Profile/doc: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
m (rebase dev changes onto prod)
 
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation header}}
{{Documentation header}}


This template profides a infobox for user pages.
This template provides an infobox for user pages. '''It has been edited slightly from its original version to better reflect the profile needs of Parallel players.'''
<pre style="display:table">
<pre style="display:table">
{{Profile
{{Profile
| title =
| title =
| image =
| image =
| name =
| image_caption =
| date_of_birth =
| nickname =
| age =
| former_names =
| pronouns =
| gender =
| gender =
| pronouns =
| health =
| armor =
| nationality =
| nationality =
| location =
| location =
| language =
| nomap =
| languages =
| relatives =
| ranks =
| titles =
| bases =
| affiliation =
| occupation =
| website =
| website =
| twitter =
| twitter =
Line 22: Line 27:
| discord =
| discord =
| joined_minecraft =
| joined_minecraft =
| minecraft =
| active_from =
| join =
| active_to =
| play =
| custom_field_name =
| custom_field_name =
| custom_field_value =
| custom_field_value =
Line 34: Line 38:
{
{
"params": {
"params": {
"name": {
"label": {
"en": "Name"
},
"description": {
"en": "Nickname, Minecraft username, or real name"
},
"type": "string"
},
"date_of_birth": {
"label": {
"en": "Date of birth"
},
"description": {
"en": "Date of birth. Use {{Birth date and age}}. If this is used, it replaces the age parameter."
},
"example": {
"en": "{{Birth date and age|1970|1|1|}}"
},
"type": "content"
},
"dob_suffix": {},
"age": {
"label": {
"en": "Age"
},
"description": {
"en": "Age of the user"
},
"type": "content"
},
"gender": {
"gender": {
"label": {
"label": {
Line 70: Line 43:
},
},
"description": {
"description": {
"en": "Gender of the user"
"en": "The player's gender"
},
},
"example": {
"example": {
Line 82: Line 55:
},
},
"description": {
"description": {
"en": "Prefered pronouns"
"en": "Preferred pronouns"
},
},
"example": {
"example": {
Line 89: Line 62:
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
"health": {
"label": {
"en": "Health"
},
"description": {
"en": "Number of lifes the user has"
},
"type": "content"
},
"armor": {
"label": {
"en": "Armor"
},
"description": {
"en": "User's armor points"
},
"type": "content"
},
},
"nationality": {
"nationality": {
Line 113: Line 68:
},
},
"description": {
"description": {
"en": "User's nationality"
"en": "The player's real-world nationality"
},
},
"type": "content"
"type": "string",
"default": "\n"
},
},
"location": {
"location": {
Line 143: Line 99:
},
},
"description": {
"description": {
"en": "Languages that the user is able to speak"
"en": "Languages that the player is able to speak"
},
},
"type": "content",
"type": "string"
"suggested": true
},
},
"website": {
"website": {
Line 159: Line 114:
"twitter": {
"twitter": {
"label": {
"label": {
"en": "Twiiter/X"
"en": "Twitter"
},
},
"description": {
"description": {
Line 200: Line 155:
"description": {
"description": {
"en": "The current Minecraft version at the time the user started playing Minecraft"
"en": "The current Minecraft version at the time the user started playing Minecraft"
}
},
"minecraft": {
"label": {
"en": "Minecraft username"
},
"description": {
"en": "Username in Minecraft"
},
"type": "string"
},
"join": {
"label": {
"en": "Joined wiki"
},
"description": {
"en": "Date when the user joined this wiki"
},
"type": "string"
},
"play": {
"label": {
"en": "Plays in"
},
"description": {
"en": "The version user plays the most (or right now)"
},
"example": {
"en": "Java Edition 23w13a_or_b"
},
},
"type": "string"
"type": "string"
Line 256: Line 182:
"en": "Only needed to change the title from the page name"
"en": "Only needed to change the title from the page name"
},
},
"type": "string"
"type": "string",
"example": "CreeperKing309"
},
},
"image": {
"image": {
Line 267: Line 194:
"type": "string",
"type": "string",
"default": {
"default": {
"en": "No image.svg"
"en": "ParallelLogo.png"
}
},
"example": "CreeperKing309.png",
"suggested": true
},
"nickname": {
"label": "Nickname",
"description": "The player's preferred name(s)",
"type": "string",
"suggested": true
},
"former_names": {
"label": "Former Names",
"description": "Other usernames the player has used in the past",
"type": "string",
"suggested": true
},
"relatives": {
"label": "Relatives",
"description": "Any relatives of the player who are on the server",
"type": "string"
},
"ranks": {
"label": "Ranks",
"description": "Any server ranks the player holds",
"example": "Mod, Researcher",
"type": "string",
"suggested": true
},
"titles": {
"label": "Titles",
"description": "Any unofficial titles the player holds",
"example": "Pirate King",
"type": "string",
"suggested": true
},
"bases": {
"label": "Bases",
"description": "Bases the player occupies",
"example": "Thiccy Piston",
"type": "string",
"suggested": true
},
"affiliation": {
"label": "Affiliation",
"description": "Any groups the player belongs to",
"example": "Scrovnia",
"type": "string",
"suggested": true
},
"occupation": {
"label": "Occupation",
"description": "Any positions the player holds",
"example": "Darkmount Mall owner",
"type": "string",
"suggested": true
},
"active_from": {
"label": "Active from",
"description": "The year the player became active on Parallel",
"type": "number",
"suggested": true
},
"active_to": {
"label": "Active to",
"description": "The year the player became inactive on Parallel",
"type": "number",
"default": "Present",
"suggested": true
},
"image_caption": {
"label": "Image caption",
"description": "A caption for the image. Usually not necessary.",
"type": "line"
}
}
},
},
Line 274: Line 273:
"title",
"title",
"image",
"image",
"name",
"image_caption",
"date_of_birth",
"nickname",
"dob_suffix",
"former_names",
"age",
"pronouns",
"gender",
"gender",
"pronouns",
"health",
"armor",
"nationality",
"nationality",
"location",
"location",
"nomap",
"nomap",
"languages",
"languages",
"relatives",
"ranks",
"titles",
"bases",
"affiliation",
"occupation",
"website",
"website",
"twitter",
"twitter",
Line 292: Line 294:
"discord",
"discord",
"joined_minecraft",
"joined_minecraft",
"minecraft",
"active_from",
"join",
"active_to",
"play",
"custom_field_name",
"custom_field_name",
"custom_field_value"
"custom_field_value"
Line 301: Line 302:
}
}
</templatedata>
</templatedata>
== Examples ==
=== Some ===
{{Profile
| image = Diamondback88 Skin.png
| nickname = Skips
| former_names = Dippers, Dibbers, Skinny Dip
| pronouns = He/him
}}
<pre style="display:table">
{{Profile
| image = Diamondback88 Skin.png
| nickname = Skips
| former_names = Dippers, Dibbers, Skinny Dip
| pronouns = He/him
}}
</pre>
=== Everything (minus nomap)===
{{Profile
| title = Skippy McDippy
| image = Diamondback88 Skin.png
| image_caption = Diamondback88's skin since 2012, when he first bought Minecraft: Java Edition
| nickname = Skips
| former_names = Dippers, Dibbers, Skinny Dip
| pronouns = He/him
| gender = Male
| nationality = American
| location = Your mom's house
| languages = English
| relatives = Forever alone
| ranks = Owner
| titles = Grand Master of Parallel
| bases = Your mom's house
| affiliation = The Society (you know which one)
| occupation = Delegate of the Society of ???
| website = https://parallelmc.org
| twitter = parallelmc
| reddit = parallelmc
| github = parallelmc
| discord = parallelmc
| joined_minecraft = 1.3.2
| active_from = 2020
| active_to = 2022
| custom_field_name=test name
| custom_field_value=test value
}}
<pre style="display:table">
{{Profile
| title = Skippy McDippy
| image = Diamondback88 Skin.png
| image_caption = Diamondback88's skin since 2012, when he first bought Minecraft: Java Edition
| nickname = Skips
| former_names = Dippers, Dibbers, Skinny Dip
| pronouns = He/him
| gender = Male
| nationality = American
| location = Your mom's house
| languages = English
| relatives = Forever alone
| ranks = Owner
| titles = Grand Master of Parallel
| bases = Your mom's house
| affiliation = The Society (you know which one)
| occupation = Delegate of the Society of ???
| website = https://parallelmc.org
| twitter = parallelmc
| reddit = parallelmc
| github = parallelmc
| discord = parallelmc
| joined_minecraft = 1.3.2
| active_from = 2020
| active_to = 2022
| custom_field_name=test name
| custom_field_value=test value
}}
</pre>


== See also ==
== See also ==
Line 307: Line 385:
<includeonly>
<includeonly>
[[Category:Infobox templates|P]]
[[Category:Infobox templates|P]]
[[de:Vorlage:Benutzer]]
[[es:Plantilla:Perfil]]
[[fr:Modèle:Profil]]
[[ja:テンプレート:Profile]]
[[pt:Predefinição:Perfil]]
[[zh:Template:Profile]]
</includeonly><!--
</includeonly><!--


--><noinclude>
--><noinclude>
[[es:Plantilla:Perfil/doc]]
[[fr:Modèle:Profil/doc]]
[[ja:テンプレート:Profile/doc]]
[[pt:Predefinição:Perfil/doc]]
[[zh:Template:Profile/doc]]
</noinclude>
</noinclude>

Latest revision as of 01:46, 4 November 2023

This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information

This template provides an infobox for user pages. It has been edited slightly from its original version to better reflect the profile needs of Parallel players.

{{Profile
| title =
| image =
| image_caption =
| nickname =
| former_names =
| pronouns =
| gender =
| nationality =
| location =
| nomap =
| languages =
| relatives =
| ranks =
| titles =
| bases =
| affiliation =
| occupation =
| website =
| twitter =
| reddit =
| github =
| discord =
| joined_minecraft =
| active_from =
| active_to =
| custom_field_name =
| custom_field_value =
}}

TemplateData

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Only needed to change the title from the page name

Example
CreeperKing309
Stringoptional
Imageimage

Profile image, avatar or rendered player skin

Default
ParallelLogo.png
Example
CreeperKing309.png
Stringsuggested
Image captionimage_caption

A caption for the image. Usually not necessary.

Lineoptional
Nicknamenickname

The player's preferred name(s)

Stringsuggested
Former Namesformer_names

Other usernames the player has used in the past

Stringsuggested
Pronounspronouns

Preferred pronouns

Example
they/them
Stringsuggested
Gendergender

The player's gender

Example
Male, Female, Non-binary
Stringoptional
Nationalitynationality

The player's real-world nationality

Default
Stringoptional
Locationlocation

Location of the user (use nomap parameter to disable Google Maps link)

Contentoptional
No mapnomap

Disables map for "location" parameter

Suggested values
1
Numberoptional
Languageslanguages

Languages that the player is able to speak

Stringoptional
Relativesrelatives

Any relatives of the player who are on the server

Stringoptional
Ranksranks

Any server ranks the player holds

Example
Mod, Researcher
Stringsuggested
Titlestitles

Any unofficial titles the player holds

Example
Pirate King
Stringsuggested
Basesbases

Bases the player occupies

Example
Thiccy Piston
Stringsuggested
Affiliationaffiliation

Any groups the player belongs to

Example
Scrovnia
Stringsuggested
Occupationoccupation

Any positions the player holds

Example
Darkmount Mall owner
Stringsuggested
Websitewebsite

URL of a desired website link

Stringoptional
Twittertwitter

Handle on Twitter

Stringoptional
Redditreddit

Handle on Reddit

Stringoptional
Githubgithub

Github account

Stringoptional
Discorddiscord

Discord username

Stringsuggested
Joined Minecraftjoined_minecraft

The current Minecraft version at the time the user started playing Minecraft

Stringoptional
Active fromactive_from

The year the player became active on Parallel

Numbersuggested
Active toactive_to

The year the player became inactive on Parallel

Default
Present
Numbersuggested
Custom field (name)custom_field_name

Name of an additional custom field

Stringoptional
Custom field (value)custom_field_value

Value of an additional custom field

Unknownoptional

Examples

Some

Profile
Diamondback88 Skin.png: Infobox image for Profile the profile in Minecraft
Nickname

Skips

Former usernames

Dippers, Dibbers, Skinny Dip

Pronouns

He/him

{{Profile
| image = Diamondback88 Skin.png
| nickname = Skips
| former_names = Dippers, Dibbers, Skinny Dip
| pronouns = He/him
}}

Everything (minus nomap)

Skippy McDippy
Diamondback88 Skin.png: Infobox image for Skippy McDippy the profile in Minecraft
Diamondback88's skin since 2012, when he first bought Minecraft: Java Edition
Nickname

Skips

Former usernames

Dippers, Dibbers, Skinny Dip

Pronouns

He/him

Gender

Male

Location

Your mom's house

Languages

English

Relatives

Forever alone

Server ranks

Owner

Titles

Grand Master of Parallel

Bases

Your mom's house

Affiliation

The Society (you know which one)

Occupation

Delegate of the Society of ???

Website

https://parallelmc.org

Twitter name

@parallelmc

Reddit account

parallelmc

GitHub account

parallelmc

Discord name

parallelmc

Joined Minecraft

1.3.2

Years active on Parallel

2020–2022

Test name

test value

{{Profile
| title = Skippy McDippy
| image = Diamondback88 Skin.png
| image_caption = Diamondback88's skin since 2012, when he first bought Minecraft: Java Edition
| nickname = Skips
| former_names = Dippers, Dibbers, Skinny Dip
| pronouns = He/him
| gender = Male
| nationality = American
| location = Your mom's house
| languages = English
| relatives = Forever alone
| ranks = Owner
| titles = Grand Master of Parallel
| bases = Your mom's house
| affiliation = The Society (you know which one)
| occupation = Delegate of the Society of ???
| website = https://parallelmc.org
| twitter = parallelmc
| reddit = parallelmc
| github = parallelmc
| discord = parallelmc
| joined_minecraft = 1.3.2
| active_from = 2020
| active_to = 2022
| custom_field_name=test name
| custom_field_value=test value
}}

See also

Minecraft
Minecraft Dungeons
Minecraft Legends
Minecraft Story Mode
Other