Template:Profile: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 3: Line 3:
| invimage = {{#ifexist: File:{{{image}}} | [[File:{{#setmainimage: ParallelLogo.png }}]] }}
| invimage = {{#ifexist: File:{{{image}}} | [[File:{{#setmainimage: ParallelLogo.png }}]] }}
| title = {{{title|{{BASEPAGENAME}}}}}
| title = {{{title|{{BASEPAGENAME}}}}}
| rows =
| rows = {{
{{#if: {{{nickname|}}} | {{infobox row|label=Nickname|field={{{nickname|}}} }} }}
{{#if: {{{nickname|}}} | {{infobox row|label=Nickname|field={{{nickname|}}} }} }}
{{#if: {{{former_names|}}} | {{infobox row|label=Former usernames|field={{{former_names|}}} }} }}
{{#if: {{{former_names|}}} | {{infobox row|label=Former usernames|field={{{former_names|}}} }} }}
Line 25: Line 25:
{{#if: {{{active_from|}}} | {{infobox row|label=Years active on Parallel|field={{{active_from}}}&ndash{{#if:{{{active_to|}}}|{{{active_to}}}|present}} }} }}  
{{#if: {{{active_from|}}} | {{infobox row|label=Years active on Parallel|field={{{active_from}}}&ndash{{#if:{{{active_to|}}}|{{{active_to}}}|present}} }} }}  
{{#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>
<!-- add categories/interwikis to the /doc subpage, not here -->
<!-- add categories/interwikis to the /doc subpage, not here -->
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 07:19, 27 October 2023

[view] [edit] [history] [⧼smw purge⧽]Documentation

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

{{#invoke:infobox|infobox | defaultimagesize = 250px | invimage = ParallelLogo.png | title = Profile | rows = {{ ! Nickname | | Skips {"label": "Nickname", "field": "Skips"} |- ! Former usernames | | Dippers, Dibbers, Skinny Dip {"label": "Former usernames", "field": "Dippers, Dibbers, Skinny Dip"} |- ! Pronouns | | He/him {"label": "Pronouns", "field": "He/him"} |-










}}

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

Everything (minus nomap)

{{#invoke:infobox|infobox | defaultimagesize = 250px | invimage = ParallelLogo.png | title = Skippy McDippy | rows = {{ ! Nickname | | Skips {"label": "Nickname", "field": "Skips"} |- ! Former usernames | | Dippers, Dibbers, Skinny Dip {"label": "Former usernames", "field": "Dippers, Dibbers, Skinny Dip"} |- ! Pronouns | | He/him {"label": "Pronouns", "field": "He/him"} |- ! Gender | | Male {"label": "Gender", "field": "Male"} |-

! Location | | Your mom's house {"label": "Location", "field": "Your mom's house"} |- ! Languages | | English {"label": "Languages", "field": "English"} |- ! Relatives | | Forever alone {"label": "Relatives", "field": "Forever alone"} |- ! Server ranks | | Owner {"label": "Server ranks", "field": "Owner"} |- ! Titles | | Grand Master of Parallel {"label": "Titles", "field": "Grand Master of Parallel"} |- ! Bases | | Your mom's house {"label": "Bases", "field": "Your mom's house"} |- ! Affiliation | | The Society (you know which one) {"label": "Affiliation", "field": "The Society (you know which one)"} |- ! Occupation | | Delegate of the Society of ??? {"label": "Occupation", "field": "Delegate of the Society of ???"} |- ! Website | | https://parallelmc.org {"label": "Website", "field": "https://parallelmc.org"} |- ! Twitter name | | @parallelmc {"label": "Twitter name", "field": "@parallelmc"} |- ! Reddit account | | parallelmc {"label": "Reddit account", "field": "parallelmc"} |- ! GitHub account | | parallelmc {"label": "GitHub account", "field": "parallelmc"} |- ! Discord name | | parallelmc {"label": "Discord name", "field": "parallelmc"} |- ! Joined Minecraft | | 1.3.2 {"label": "Joined Minecraft", "field": "1.3.2"} |- ! Years active on Parallel | | 2020&ndash2022 {"label": "Years active on Parallel", "field": "2020&ndash2022"} |- ! Test name | | test value {"label": "Test name", "field": "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
[view] [edit] [history] [⧼smw purge⧽]The above documentation is transcluded from Template:Profile/doc.