Template:PlayerIMG: Difference between revisions

From EarthMC
Jump to navigation Jump to search
mNo edit summary
Tag: Manual revert
No edit summary
 
Line 1: Line 1:
{{#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>
{{#invoke:PlayerIMG|template|{{{1|Fix}}}|{{{2|full}}}|{{{3|}}}|{{{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;">

Latest revision as of 17: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.