Template

Player

From Dogcraft Wiki

imported>William
No edit summary
imported>William
No edit summary
Line 4: Line 4:
===Example===
===Example===
<nowiki>{{Player|William278}}</nowiki> generates: {{Player|William278}}</noinclude>
<nowiki>{{Player|William278}}</nowiki> generates: {{Player|William278}}</noinclude>
===Template Data===
<templatedata>{
  "description": "Displays a player head next to a player's username and italicizes the username.",
  "params": {
    "1": {
      "label": "Username",
      "description": "Player's in-game name",
      "type": "string",
      "required": true
    }
  }
}</templatedata>
<includeonly><span style="white-space:nowrap;">https://minotar.net/helm/{{{1|char}}}/18.png<nowiki></nowiki>&nbsp;''{{{1}}}''</span></includeonly>
<includeonly><span style="white-space:nowrap;">https://minotar.net/helm/{{{1|char}}}/18.png<nowiki></nowiki>&nbsp;''{{{1}}}''</span></includeonly>

Revision as of 08:17, 5 December 2019

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:

Template Data

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

Template parameters

ParameterDescriptionTypeStatus
Username1

Player's in-game name

Stringrequired

18.png William278

Template Data

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

Template parameters

ParameterDescriptionTypeStatus
Username1

Player's in-game name

Stringrequired


This page was last modified on 5 December 2019, at 08:17. (11 months ago)
Background SRN Opening by Montenator