Template:Profile/doc: Difference between revisions
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 | 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 = | ||
| | | image_caption = | ||
| | | nickname = | ||
| | | former_names = | ||
| pronouns = | |||
| gender = | | gender = | ||
| nationality = | | nationality = | ||
| location = | | location = | ||
| | | nomap = | ||
| languages = | |||
| relatives = | |||
| ranks = | |||
| titles = | |||
| bases = | |||
| affiliation = | |||
| occupation = | |||
| website = | | website = | ||
| twitter = | | twitter = | ||
| Line 22: | Line 27: | ||
| discord = | | discord = | ||
| joined_minecraft = | | joined_minecraft = | ||
| | | active_from = | ||
| | | active_to = | ||
| custom_field_name = | | custom_field_name = | ||
| custom_field_value = | | custom_field_value = | ||
| Line 34: | Line 38: | ||
{ | { | ||
"params": { | "params": { | ||
"gender": { | "gender": { | ||
"label": { | "label": { | ||
| Line 70: | Line 43: | ||
}, | }, | ||
"description": { | "description": { | ||
"en": " | "en": "The player's gender" | ||
}, | }, | ||
"example": { | "example": { | ||
| Line 82: | Line 55: | ||
}, | }, | ||
"description": { | "description": { | ||
"en": " | "en": "Preferred pronouns" | ||
}, | }, | ||
"example": { | "example": { | ||
| Line 89: | Line 62: | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"nationality": { | "nationality": { | ||
| Line 113: | Line 68: | ||
}, | }, | ||
"description": { | "description": { | ||
"en": " | "en": "The player's real-world nationality" | ||
}, | }, | ||
"type": " | "type": "string", | ||
"default": "\n" | |||
}, | }, | ||
"location": { | "location": { | ||
| Line 143: | Line 99: | ||
}, | }, | ||
"description": { | "description": { | ||
"en": "Languages that the | "en": "Languages that the player is able to speak" | ||
}, | }, | ||
"type": " | "type": "string" | ||
}, | }, | ||
"website": { | "website": { | ||
| Line 159: | Line 114: | ||
"twitter": { | "twitter": { | ||
"label": { | "label": { | ||
"en": " | "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" | ||
}, | }, | ||
"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": " | "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", | ||
" | "image_caption", | ||
" | "nickname", | ||
" | "former_names", | ||
" | "pronouns", | ||
"gender", | "gender", | ||
"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", | ||
" | "active_from", | ||
" | "active_to", | ||
"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]] | ||
</includeonly><!-- | </includeonly><!-- | ||
--><noinclude> | --><noinclude> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 01:46, 4 November 2023
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Only needed to change the title from the page name
| String | optional |
| Image | image | Profile image, avatar or rendered player skin
| String | suggested |
| Image caption | image_caption | A caption for the image. Usually not necessary. | Line | optional |
| Nickname | nickname | The player's preferred name(s) | String | suggested |
| Former Names | former_names | Other usernames the player has used in the past | String | suggested |
| Pronouns | pronouns | Preferred pronouns
| String | suggested |
| Gender | gender | The player's gender
| String | optional |
| Nationality | nationality | The player's real-world nationality
| String | optional |
| Location | location | Location of the user (use nomap parameter to disable Google Maps link) | Content | optional |
| No map | nomap | Disables map for "location" parameter
| Number | optional |
| Languages | languages | Languages that the player is able to speak | String | optional |
| Relatives | relatives | Any relatives of the player who are on the server | String | optional |
| Ranks | ranks | Any server ranks the player holds
| String | suggested |
| Titles | titles | Any unofficial titles the player holds
| String | suggested |
| Bases | bases | Bases the player occupies
| String | suggested |
| Affiliation | affiliation | Any groups the player belongs to
| String | suggested |
| Occupation | occupation | Any positions the player holds
| String | suggested |
| Website | website | URL of a desired website link | String | optional |
twitter | Handle on Twitter | String | optional | |
reddit | Handle on Reddit | String | optional | |
| Github | github | Github account | String | optional |
| Discord | discord | Discord username | String | suggested |
| Joined Minecraft | joined_minecraft | The current Minecraft version at the time the user started playing Minecraft | String | optional |
| Active from | active_from | The year the player became active on Parallel | Number | suggested |
| Active to | active_to | The year the player became inactive on Parallel
| Number | suggested |
| Custom field (name) | custom_field_name | Name of an additional custom field | String | optional |
| Custom field (value) | custom_field_value | Value of an additional custom field | Unknown | optional |
Examples
Some
{
"title": "Profile",
"rows": [
{
"field": "Skips",
"label": "Nickname"
},
{
"field": "Dippers, Dibbers, Skinny Dip",
"label": "Former usernames"
},
{
"field": "He/him",
"label": "Pronouns"
}
],
"invimages": [],
"images": [
"Diamondback88 Skin.png"
]
}
{{Profile
| image = Diamondback88 Skin.png
| nickname = Skips
| former_names = Dippers, Dibbers, Skinny Dip
| pronouns = He/him
}}
Everything (minus nomap)
| Nickname |
Skips |
|---|---|
| Former usernames |
Dippers, Dibbers, Skinny Dip |
| Pronouns |
He/him |
| Gender |
Male |
| Location | |
| 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 | |
| Twitter name | |
| Reddit account | |
| GitHub account | |
| Discord name |
parallelmc |
| Joined Minecraft |
1.3.2 |
| Years active on Parallel |
2020–2022 |
| Test name |
test value |
{
"extratext": "Diamondback88's skin since 2012, when he first bought Minecraft: Java Edition",
"title": "Skippy McDippy",
"images": [
"Diamondback88 Skin.png"
],
"rows": [
{
"field": "Skips",
"label": "Nickname"
},
{
"field": "Dippers, Dibbers, Skinny Dip",
"label": "Former usernames"
},
{
"field": "He/him",
"label": "Pronouns"
},
{
"field": "Male",
"label": "Gender"
},
{
"field": "[https://maps.google.com/?q=Your+mom%27s+house Your mom's house]",
"label": "Location"
},
{
"field": "English",
"label": "Languages"
},
{
"field": "Forever alone",
"label": "Relatives"
},
{
"field": "Owner",
"label": "Server ranks"
},
{
"field": "Grand Master of Parallel",
"label": "Titles"
},
{
"field": "Your mom's house",
"label": "Bases"
},
{
"field": "The Society (you know which one)",
"label": "Affiliation"
},
{
"field": "Delegate of the Society of ???",
"label": "Occupation"
},
{
"field": "https://parallelmc.org",
"label": "Website"
},
{
"field": "[https://twitter.com/parallelmc @parallelmc]",
"label": "Twitter name"
},
{
"field": "[https://www.reddit.com/user/parallelmc parallelmc]",
"label": "Reddit account"
},
{
"field": "[https://www.github.com/parallelmc parallelmc]",
"label": "GitHub account"
},
{
"field": "parallelmc",
"label": "Discord name"
},
{
"field": "1.3.2",
"label": "Joined Minecraft"
},
{
"field": "2020–2022",
"label": "Years active on Parallel"
},
{
"field": "test value",
"label": "Test name"
}
],
"invimages": []
}
{{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
{{Biome}}{{Block}}{{Development phase}}{{Enchantment}}{{Effect}}{{Entity}}{{Fluid}}{{Item}}{{ItemEntity}}{{Structure}}
- Minecraft Dungeons
{{DungeonsEnchantment}}{{DungeonsEntity}}{{DungeonsItem}}{{DungeonsMission}}
- Minecraft Legends
{{LegendsBiome}}{{LegendsEntity}}{{LegendsItem}}{{LegendsStructure}}
- Minecraft Story Mode
{{Episode}}
- Other
{{Album}}{{Book}}{{Company}}{{Music}}{{Person}}{{Profile}}{{Program}}{{Server}}{{Theme}}{{Version nav}}{{Website}}