Template:Infobox player/doc: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 32: Line 32:
<templatedata>
<templatedata>
{
{
"description": "An infobox to serve as a quick reference on the right side of item pages.",
"description": "An infobox to serve as a quick reference on the right side of item pages. '''This module is now deprecated in favor of [[Template:Profile]].",
"params": {
"params": {
"name": {
"name": {
Line 46: 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 87: Line 87:
"example": "Mod, Researcher",
"example": "Mod, Researcher",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
},
},
"titles": {
"titles": {
Line 94: Line 94:
"example": "Pirate King",
"example": "Pirate King",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
},
},
"bases": {
"bases": {
Line 101: Line 101:
"example": "Thiccy Piston",
"example": "Thiccy Piston",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
},
},
"affiliation": {
"affiliation": {
Line 108: Line 108:
"example": "Scrovnia",
"example": "Scrovnia",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
},
},
"occupation": {
"occupation": {
Line 115: Line 115:
"example": "Darkmount Mall owner",
"example": "Darkmount Mall owner",
"type": "line",
"type": "line",
            "suggested": true
"suggested": true
},
},
"active_from": {
"active_from": {
Line 121: Line 121:
"description": "The year the player became active on Parallel.",
"description": "The year the player became active on Parallel.",
"type": "number",
"type": "number",
            "suggested": true
"suggested": true
},
},
"active_to": {
"active_to": {
Line 127: Line 127:
"description": "The year the player became inactive on Parallel.",
"description": "The year the player became inactive on Parallel.",
"type": "number",
"type": "number",
            "suggested": true
"suggested": true
}
}
},
},
Line 133: 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_from",
        "active_to"
"active_to"
]
]
}
}
</templatedata>
</templatedata>

Revision as of 07:54, 26 October 2023

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

An infobox to serve as a quick reference on the right side of item pages. '''This module is now deprecated in favor of [[Template:Profile]].

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