Template

Player

From Dogcraft Wiki

Revision as of 00:04, 2 January 2021 by Domino (talk | contribs) (Added support for optional UUIDs and an optional Display name paramter for use in case of a username change.)

Player template

This template adds a head image next to a player's username. Add wherever you refer to a player name. Useful for helping identify players.

Example

{{Player|William278}} generates: 20.png William278

Template Data

Displays a player head next to a player's username and italicizes the username.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Username1

Player's in-game name

Stringrequired
Display name2

Name to display. Leave empty by defualt. Use only if the name to display differs from the username. (Useful in case of a username change)

Stringoptional
UUIDuuid

Optional field for entering player minecraft UUID. This field does not replace Username, which still controls the name that appears on the page.

Example
5dfb0558-e306-44f4-bb9a-f9218d4eb787
Stringoptional
This page was last modified on 2 January 2021, at 00:04. (3 months ago)