Template:Player Infobox New: Difference between revisions

Infobox created with infobox builder.
 
Updated template with visualeditor details
Line 15: Line 15:
</data>
</data>
</infobox>
</infobox>
<templatedata>
{
    "description": "Infobox for people/players on the server",
    "params":{
        "image":{
            "label":"Image",
"type":"wiki-file-name",
            "description" : {
                "en": "Image of the player, either minecraft skin or otherwise"
            }
        },
        "usernames": {
            "label":"Usernames",
"type":"string",
            "description": {
                "en": "All known usernames of the player"
            }
        },
        "servers": {
            "label": "Servers",
            "type":"string",
            "description": {
                "en": "List of the servers on which the person played"
            }
        },
        "birthdate": {
            "label": "Birthdate",
"type":"date",
            "suggested": false,
            "description": {
                "en": "The player's birthdate, in YYYY-MM-DD"
            }
        },
        "year": {
            "label": "Year",
            "type": "number"
        },
        "month": {
            "label": "Month",
            "inherits": "year"
        },
        "day": {
            "label": "Day",
            "inherits": "year"
        }
    },
    "sets": [
        {
            "label": "Birthdate",
            "params": ["year", "month", "day"]
        } ]
}
</templatedata>