Template

Player

From Dogcraft Wiki

m (Test: adding an optional second parameter for custom display names, to be used with uuids)
m (Test: adding an optional second parameter for custom player name links, to be used with uuids)
Line 1: Line 1:
<includeonly><span class="playername" style="white-space:nowrap;">https://minotar.net/helm/{{{1|MHF_Steve}}}/20.png<nowiki></nowiki>&nbsp;''{{{2|{{{1}}}}}}''</span></includeonly><noinclude>
<includeonly><span class="playername" style="white-space:nowrap;">https://minotar.net/helm/{{{2|{{{1|MHF_Steve}}}}}}/20.png<nowiki></nowiki>&nbsp;''{{{1}}}''</span></includeonly><noinclude>
==Player template==
==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.
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.

Revision as of 23:19, 29 June 2023

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
This page was last modified on 29 June 2023, at 23:19. (4 months ago)