Template:Infobox player/doc: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
(Replaced content with "{{Infobox |above = {{{name}}} |image = [[File:{{{image}}}]] |caption = {{{image_caption}}} | data1 = Personal information | label2 = Known as | data2 = {{{nickname}}} | label3 = Former usernames | data3 = {{{former_names}}} | label4 = Gender | data4 = {{{gender}}} | label5 = Nationality | data5 = {{{nationality}}} | label6 = Relatives | data6 = {{{relatives}}} | data7 = On Parallel | label8 = Server ranks | data8 = {{{ranks}}} | la...")
Tag: Replaced
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 25: Line 25:
   | label12 = Occupation
   | label12 = Occupation
   | data12 = {{{occupation}}}
   | data12 = {{{occupation}}}
  | label13 = Years active
  | data13 = {{{active_from}}}–{{{active_to}}}
}}
}}
 
'''This module is now deprecated in favor of [[Template:Profile]].'''
<templatedata>
<templatedata>
{
{
Line 43: Line 46:
"type": "wiki-file-name",
"type": "wiki-file-name",
"default": "ParallelLogo.png",
"default": "ParallelLogo.png",
            "suggested": true
"suggested": true
},
},
        "image_caption": {
"image_caption": {
"label": "Image caption",
"label": "Image caption",
"description": "A caption for the image. Usually not necessary.",
"description": "A caption for the image. Usually not necessary.",
"type": "line"
"type": "line"
        },
},
        "nickname": {
"nickname": {
"label": "Known as",
"label": "Known as",
"description": "The player's preferred name(s).",
"description": "The player's preferred name(s).",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
        },
},
        "former_names": {
"former_names": {
"label": "Former usernames",
"label": "Former usernames",
"description": "Other usernames the player has used in the past.",
"description": "Other usernames the player has used in the past.",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
        },
},
        "gender": {
"gender": {
"label": "Gender",
"label": "Gender",
"description": "The player's gender.",
"description": "The player's gender.",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
        },
},
        "nationality": {
"nationality": {
"label": "Nationality",
"label": "Nationality",
"description": "The player's real-world nationality.",
"description": "The player's real-world nationality.",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
        },
},
        "relatives": {
"relatives": {
"label": "Relatives",
"label": "Relatives",
"description": "Any relatives of the player who are on the server.",
"description": "Any relatives of the player who are on the server.",
"type": "line"
"type": "line"
        },
},
"ranks": {
"ranks": {
"label": "Server ranks",
"label": "Server ranks",
Line 84: Line 87:
"example": "Mod, Researcher",
"example": "Mod, Researcher",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
},
},
"titles": {
"titles": {
Line 91: Line 94:
"example": "Pirate King",
"example": "Pirate King",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
},
},
"bases": {
"bases": {
Line 98: Line 101:
"example": "Thiccy Piston",
"example": "Thiccy Piston",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
},
},
"affiliation": {
"affiliation": {
Line 105: Line 108:
"example": "Scrovnia",
"example": "Scrovnia",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
},
},
"occupation": {
"occupation": {
Line 112: Line 115:
"example": "Darkmount Mall owner",
"example": "Darkmount Mall owner",
"type": "line",
"type": "line",
            "suggested": true
"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",
"suggested": true
}
}
},
},
Line 118: Line 133:
"name",
"name",
"image",
"image",
        "image_caption",
"image_caption",
        "nickname",
"nickname",
        "former_names",
"former_names",
        "gender",
"gender",
        "nationality",
"nationality",
        "relatives",
"relatives",
        "ranks",
"ranks",
        "titles",
"titles",
        "bases",
"bases",
        "affiliation",
"affiliation",
        "occupation"
"occupation",
"active_from",
"active_to"
]
]
}
}
</templatedata>
</templatedata>

Latest revision as of 07:56, 26 October 2023

Infobox player
[[File:[[File:{{{image}}}]]|150px|class=|alt=[[File:{{{image}}}]]: Infobox image for Infobox player the infobox in Minecraft]]

This module is now deprecated in favor of Template:Profile.

An infobox to serve as a quick reference on the right side of item pages.

Template parameters

ParameterDescriptionTypeStatus
Player namename

Will automatically enter based on page name

Example
CreeperKing309
Lineoptional
Imageimage

Refers to the image file of the player skin stored on the wiki.

Default
ParallelLogo.png
Example
CreeperKing309.png
Filesuggested
Image captionimage_caption

A caption for the image. Usually not necessary.

Lineoptional
Known asnickname

The player's preferred name(s).

Linesuggested
Former usernamesformer_names

Other usernames the player has used in the past.

Linesuggested
Gendergender

The player's gender.

Linesuggested
Nationalitynationality

The player's real-world nationality.

Linesuggested
Relativesrelatives

Any relatives of the player who are on the server.

Lineoptional
Server ranksranks

Any server ranks the player holds.

Example
Mod, Researcher
Linesuggested
Titlestitles

Any unofficial titles the player holds.

Example
Pirate King
Linesuggested
Basesbases

Bases the player occupies.

Example
Thiccy Piston
Linesuggested
Affiliationaffiliation

Any groups the player belongs to.

Example
Scrovnia
Linesuggested
Occupationoccupation

Any positions the player holds.

Example
Darkmount Mall owner
Linesuggested
Active fromactive_from

The year the player became active on Parallel.

Numbersuggested
Active toactive_to

The year the player became inactive on Parallel.

Numbersuggested