Template:Profile: Difference between revisions
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:infobox|infobox | <includeonly>{{#invoke:infobox|infobox | ||
| defaultimagesize = 250px | | defaultimagesize = 250px | ||
| invimage = | | invimage = {{#ifexist: File:{{{image}}} | [[File:{{#setmainimage: ParallelLogo.png }}]] }} | ||
| title = {{{title|{{BASEPAGENAME}}}}} | | title = {{{title|{{BASEPAGENAME}}}}} | ||
| rows = | | rows = | ||
{{infobox row|label= | {{infobox row|label=Player name|field={{#if: {{{name|}}} | {{{name}}} | {{ROOTPAGENAME}} }} }} | ||
{{#if: {{{ | {{#if: {{{nickname|}}} | {{infobox row|label=Nickname|field={{{nickname|}}} }} }} | ||
{{#if: {{{former_names|}}} | {{infobox row|label=Former usernames|field={{{former_names|}}} }} }} | |||
{{#if: {{{pronouns|}}} | {{infobox row|label=Pronouns|field={{{pronouns|}}} }} }} | |||
}}}} | |||
{{#if: {{{gender|}}} | {{infobox row|label=Gender|field={{{gender|}}} }} }} | {{#if: {{{gender|}}} | {{infobox row|label=Gender|field={{{gender|}}} }} }} | ||
{{#if: {{{nationality|}}} {{infobox row|label=Nationality|field={{{nationality|}}} }} }} | {{#if: {{{nationality|}}} {{infobox row|label=Nationality|field={{{nationality|}}} }} }} | ||
{{#if: {{{location|}}} | {{infobox row|label=Location|field={{#if: {{{nomap|}}} | {{{location}}} | [https://maps.google.com/?q={{urlencode:{{{location}}}}} {{{location}}}]}} }} }} | {{#if: {{{location|}}} | {{infobox row|label=Location|field={{#if: {{{nomap|}}} | {{{location}}} | [https://maps.google.com/?q={{urlencode:{{{location}}}}} {{{location}}}]}} }} }} | ||
{{#if: {{{languages|}}} | {{infobox row|label=Languages|field={{{languages}}} }} }} | {{#if: {{{languages|}}} | {{infobox row|label=Languages|field={{{languages}}} }} }} | ||
{{#if: {{{relatives|}}} | {{infobox row|label=Relatives|field={{{relatives}}} }} }} | |||
{{#if: {{{ranks|}}} | {{infobox row|label=Server ranks|field={{{ranks}}} }} }} | |||
{{#if: {{{titles|}}} | {{infobox row|label=Titles|field={{{titles}}} }} }} | |||
{{#if: {{{bases|}}} | {{infobox row|label=Bases|field={{{bases}}} }} }} | |||
{{#if: {{{affiliation|}}} | {{infobox row|label=Affiliation|field={{{affiliation}}} }} }} | |||
{{#if: {{{occupation|}}} | {{infobox row|label=Occupation|field={{{occupation}}} }} }} | |||
{{#if: {{{website|}}} | {{infobox row|label=Website|field={{{website}}} }} }} | {{#if: {{{website|}}} | {{infobox row|label=Website|field={{{website}}} }} }} | ||
{{#if: {{{twitter|}}} | {{infobox row|label=Twitter name|field=[https://twitter.com/{{{twitter}}} @{{{twitter}}}] }} }} | {{#if: {{{twitter|}}} | {{infobox row|label=Twitter name|field=[https://twitter.com/{{{twitter}}} @{{{twitter}}}] }} }} | ||
Line 22: | Line 24: | ||
{{#if: {{{discord|}}} | {{infobox row|label=Discord name|field={{{discord}}} }} }} | {{#if: {{{discord|}}} | {{infobox row|label=Discord name|field={{{discord}}} }} }} | ||
{{#if: {{{joined_minecraft|}}} | {{infobox row|label=Joined Minecraft|field={{#ifexist: {{{joined_minecraft}}} |{{Version link|{{{joined_minecraft}}}}}|{{{joined_minecraft|}}}}} }} }} | {{#if: {{{joined_minecraft|}}} | {{infobox row|label=Joined Minecraft|field={{#ifexist: {{{joined_minecraft}}} |{{Version link|{{{joined_minecraft}}}}}|{{{joined_minecraft|}}}}} }} }} | ||
{{#if: {{{ | {{#if: {{{active_from|}}} | {{infobox row|label=Years active on Parallel|field={{{active_from}}}–{{#if:{{{active_to|}}}|{{{active_to}}}|present}} }} }} | ||
{{#if: {{{ | |||
{{#if: {{{custom_field_name|}}} | {{infobox row|label={{{custom_field_name}}}|field={{{custom_field_value|?}}} }} }} | {{#if: {{{custom_field_name|}}} | {{infobox row|label={{{custom_field_name}}}|field={{{custom_field_value|?}}} }} }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Revision as of 06:51, 27 October 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
Lua error in Module:Inventory_slot at line 49: Excessive square brackets found.
{{Profile | image = Diamondback88 Skin.png | nickname = Skips | former_names = Dippers, Dibbers, Skinny Dip | pronouns = He/him }}
Everything (minus nomap)
Lua error in Module:Inventory_slot at line 49: Excessive square brackets found.
{{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}}