Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:PlayerHead: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
Β 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="PlayerHead/styles.css" />
<templatestyles src="PlayerHead/styles.css" />
Error: No player name provided.
Β 
{{#invoke:PlayerHead|render
|1={{{1|}}}Β  Β  Β  Β  Β  <!-- Player name – required -->
|2={{{2|64}}}Β  Β  Β  Β  <!-- Size in px (number or β€œ64px”) -->
|3={{{3|}}}Β  Β  Β  Β  Β  <!-- Optional tooltip/alt text -->
|overlay={{{overlay|yes}}} <!-- β€œno” to hide hat/overlay layer -->
}}
<noinclude>
<noinclude>
This template displays a Minecraft player head using the [https://mc-heads.net mc-heads.net] API.
== Documentation ==
Displays a Minecraft player’s head (from '''mc-heads.net''').
Β 
=== Basic usage ===
<pre>{{PlayerHead|PlayerName}}</pre>
Β 
=== Size ===
Second parameter sets size in pixels (default 64).Β 
E.g. <code>{{PlayerHead|JoshuaEpstein|128}}</code>


=== Usage ===
=== Overlay layer ===
<pre>
Add <code>|overlay=no</code> to hide the helmet/hat layer.
{{PlayerHead|PlayerName|64|Optional title}}
</pre>


* The second parameter (size) defaults to 64 if omitted.
=== Example ===
* You can add <code>|overlay=no</code> to disable the hat/helm layer.
{{PlayerHead|JoshuaEpstein}}
</noinclude>
</noinclude>

Latest revision as of 18:45, 6 July 2025

Error: No player name provided.

Documentation

Displays a Minecraft player’s head (from mc-heads.net).

Basic usage

{{PlayerHead|PlayerName}}

Size

Second parameter sets size in pixels (default 64). E.g.

Head of JoshuaEpstein

Overlay layer

Add |overlay=no to hide the helmet/hat layer.

Example

Head of JoshuaEpstein