Template
Avatar
From Dogcraft Wiki
Example
{{Avatar|William278|120}} generates:
Adds a image of a user's skin's face with an option to set size.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | 1 | The ingame name of the user for whom to get the skin. May be replaced by UUID.
| String | required |
Size | 2 size | The size at which to display the avatar. This is a plain number, specifying the width of one side of the square in pixels.
| Number | optional |
Block toggle | block | Optional toggle paramter for block display mode. If it contains anything, it will toggle. Use for image-like display.
| Boolean | optional |
Float (used in block mode) | float | Used for specifying an optional float in block display mode.
| String | optional |
Margin (used in block mode) | margin | Used for specifying an optional margin in block display mode.
| String | optional |
UUID | uuid | The mc UUID of the user for whom to get the avatar for. May be the full uuid, or the {{UUID}} template. Can replace the Username parameter.
| String | suggested |
Size | size 2 | The size at which to display the avatar. This is a plain number, specifying the width of one side of the square in pixels.
| Number | required |