Template:PlayerIMG: Difference between revisions

From EarthMC
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
‎<small>{{#ifeq:{{{2}}}|small|[[File:{{{1|Fix}}}.png|20px]]|[[File:{{{1|Fix}}}_latest.png|225px]]}}‎</small>
{{#invoke:PlayerIMG|template|{{{1|Fix}}}|{{{2|full}}}|{{{3|}}}|{{{4|225px}}}}}<noinclude>
 
<noinclude>
<div style="background: #ECFCF4;border: 1px solid #A2A9B1;text-overflow: ellipsis;">
<div style="background: #ECFCF4;border: 1px solid #A2A9B1;text-overflow: ellipsis;">
<div style="margin-left:15px;margin-bottom:16px;text-overflow: ellipsis;">
<div style="margin-left:15px;margin-bottom:16px;text-overflow: ellipsis;">
== Template documentation ==
== Template documentation ==
Example usage:<pre>
* 1st data is username (Defaults to Fix if empty)
* 2nd data is variant, there are currently 3 variants and these are:
<pre>
{{PlayerIMG|Fix|small}}
{{PlayerIMG|Fix|small}}
</pre>
</pre>
Will result in:
Will result in:
{{PlayerIMG|Fix|small}}
{{PlayerIMG|Fix|small}}
<pre>
{{PlayerIMG|Fix|bust}}
</pre>
Will result in:
{{PlayerIMG|Fix|bust}}
<pre>
<pre>
{{PlayerIMG|Fix|full}}
{{PlayerIMG|Fix|full}}
Line 15: Line 20:
Will result in:
Will result in:
{{PlayerIMG|Fix|full}}
{{PlayerIMG|Fix|full}}
===Other datas===
* 3rd data is skin variant (not commonly used and not recommended)
* 4rd data is image size (Default is 20px for small and 225px for bust and full)
<p style="color: red">Please note that all users are not available, if you want a player to be added to this template please contact [[User:515797455988850689|@upgradewastaken]] on discord.</p>
<p style="color: red">Please note that all users are not available, if you want a player to be added to this template please contact [[User:515797455988850689|@upgradewastaken]] on discord.</p>
</div>
</div>
</div>
</div>
</noinclude>
</noinclude>

Latest revision as of 16:37, 11 February 2024

Fix latest.png

Template documentation

  • 1st data is username (Defaults to Fix if empty)
  • 2nd data is variant, there are currently 3 variants and these are:
{{PlayerIMG|Fix|small}}

Will result in: Fix.png

{{PlayerIMG|Fix|bust}}

Will result in: Fix bust.png

{{PlayerIMG|Fix|full}}

Will result in: Fix latest.png

Other datas

  • 3rd data is skin variant (not commonly used and not recommended)
  • 4rd data is image size (Default is 20px for small and 225px for bust and full)

Please note that all users are not available, if you want a player to be added to this template please contact @upgradewastaken on discord.