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:
<nowiki>{{Player|William278}}</nowiki> generates:
{{Player|William278}}
{{Player|William278}}</noinclude>
 
<TemplateData>{
  "description": "Displays a thumbnail of the player's Minecraft player head next to their username.",
  "params": {
    "Minecraft Username": {
      "label": "x",
      "description": "Minecraft Username",
      "type": "line",
      "required": true
    }
  }
}</TemplateData>
 
</noinclude>
 
<includeonly><span style="white-space:nowrap;">http://minecraftonline.com/cgi-bin/getplayerhead.sh?{{{1|char}}}&18.png<nowiki></nowiki>&nbsp;''{{{1}}}''</span></includeonly>
<includeonly><span style="white-space:nowrap;">http://minecraftonline.com/cgi-bin/getplayerhead.sh?{{{1|char}}}&18.png<nowiki></nowiki>&nbsp;''{{{1}}}''</span></includeonly>

Revision as of 00:10, 13 October 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:

getplayerhead.sh?William278&18.png William278

This page was last modified on 13 October 2019, at 00:10. (4 months ago)
Background Takeshi by Edo