Template:PlayerIMG: Difference between revisions

From EarthMC
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{#ifeq:{{{2}}}|small|[[File:{{{1|Fix}}}.png|20px]]|[[File:{{{1|Fix}}}_latest.png|225px]]}}<noinclude>
{{#ifeq:{{{2}}}|small|[[File:{{{1|Fix}}}{{{3|}}}.png|{{{4|20px}}}]]|{{#ifeq:{{{2}}}|bust|[[File:{{{1|Fix}}} bust{{{3|}}}.png|{{{4|225px}}}]]|[[File:{{{1|Fix}}} latest{{{3|}}}.png|{{{4|225px}}}]]}}}}<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 13: 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>

Revision as of 13:05, 5 September 2023

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.