Template:PlayerInfobox: Difference between revisions

From Legendary Hardcore Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 54: Line 54:
| colspan="3" | {{{rivalries}}}
| colspan="3" | {{{rivalries}}}
|}
|}
{{ #switch: {{{status|}}}
{{ #switch: {{lc:{{{status|}}}}}
| Dead = [[Category:Dead Players]]
| dead = [[Category:Dead Players]]
| Alive = [[Category:Living Players]]
| alive = [[Category:Living Players]]
| Inactive = [[Category:Inactive Players]]
| inactive = [[Category:Inactive Players]]
| Admin = [[Category:Admins]]
| admin = [[Category:Admins]]
}}
}}
[[Category:Players]]
[[Category:Players]]
</includeonly>
</includeonly>


Line 84: Line 85:
</pre>
</pre>
</noinclude>
</noinclude>
<div style="display:none">
{{Documentation|content=
Infobox for [[Players|Player]] pages.
}}
<templatedata>
{
    "description": "Player infobox",
    "params": {
        "quote": {
            "label": "Quote",
            "description": "A quote from the player. Do not include quotation marks.",
            "type": "string"
        },
        "image": {
            "label": "Image",
            "description": "An image of the player (e.g. ExampleFile.png).",
            "type": "string"
        },
        "player_name": {
            "label": "Player name",
            "description": "The in-game name of the player. This can usually be omitted if the article name is already the player name.",
            "type": "string"
        },
        "other_names": {
            "label": "Other names",
            "description": "Other names used by the player. For example, if a player has changed their username.",
            "type": "string"
        },
        "status": {
            "label": "Status",
            "description": "The status of the player. Must be alive, inactive, dead or admin.",
            "type": "string",
            "required":true
        },
        "playtime": {
            "label": "Playtime",
            "description": "Playtime in hours. Can be found in [[Player Statistics]].",
            "type": "string",
            "required":true
        },
        "join_date": {
            "label": "Join date",
            "description": "The player's join date formatted as 'DD MMMM YYYY'. Can be found in [[Player Statistics]].",
            "type": "string",
            "required":true
        },
        "join_num": {
            "label": "Join number",
            "description": "The player's unique join number.",
            "type": "string",
            "required":true
        },
        "death_date": {
            "label": "Death date",
            "description": "If applicable, the date the player died.",
            "type": "string"
        },
        "death_cause": {
            "label": "Death cause",
            "description": "If applicable, how the player died.",
            "type": "string"
        },
        "death_location": {
            "label": "Death cause",
            "description": "If applicable, where the player died in the world (e.g. in a town, in a trial chamber, etc.",
            "type": "string"
        },
        "head_status": {
            "label": "Head status",
            "description": "If applicable and known, the location of or who holds the player's head.",
            "type": "string"
        },
        "last_will": {
            "label": "Last will",
            "description": "If applicable, the last will of the player.",
            "type": "string"
        },
        "allegiances": {
            "label": "Allegiances",
            "description": "If known, players or groups that the player was associated with.",
            "type": "string"
        },
        "rivalries": {
            "label": "Allegiances",
            "description": "If known, players or groups that the player was a known rival of.",
            "type": "string"
        }
    }
}
</templatedata>
</div>

Latest revision as of 06:14, 25 January 2026


{{PlayerInfobox
|quote =
|image =
|player_name =
|other_names =
|status =
|playtime =
|join_date =
|join_num =
|death_date = 
|death_cause = 
|death_location = 
|head_status = 
|last_will = 
|allegiances = 
|rivalries = 
}}


Template:Documentation


Player infobox

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Quotequote

A quote from the player. Do not include quotation marks.

Stringoptional
Imageimage

An image of the player (e.g. ExampleFile.png).

Stringoptional
Player nameplayer_name

The in-game name of the player. This can usually be omitted if the article name is already the player name.

Stringoptional
Other namesother_names

Other names used by the player. For example, if a player has changed their username.

Stringoptional
Statusstatus

The status of the player. Must be alive, inactive, dead or admin.

Stringrequired
Playtimeplaytime

Playtime in hours. Can be found in [[Player Statistics]].

Stringrequired
Join datejoin_date

The player's join date formatted as 'DD MMMM YYYY'. Can be found in [[Player Statistics]].

Stringrequired
Join numberjoin_num

The player's unique join number.

Stringrequired
Death datedeath_date

If applicable, the date the player died.

Stringoptional
Death causedeath_cause

If applicable, how the player died.

Stringoptional
Death causedeath_location

If applicable, where the player died in the world (e.g. in a town, in a trial chamber, etc.

Stringoptional
Head statushead_status

If applicable and known, the location of or who holds the player's head.

Stringoptional
Last willlast_will

If applicable, the last will of the player.

Stringoptional
Allegiancesallegiances

If known, players or groups that the player was associated with.

Stringoptional
Allegiancesrivalries

If known, players or groups that the player was a known rival of.

Stringoptional