Template:PlayerIMG: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
mNo edit summary
Tag: Manual revert
Line 1: Line 1:
<div style="height:auto;width:auto;padding:{{{5|0}}}">{{#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}}}]]}}}}<div><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;">

Revision as of 21:58, 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.