Template:Message: Difference between revisions
Jump to navigation
Jump to search
(Optimization. Use "|avatarformat=png" and "|avatarframeformat=png" (or other format) in your settings page to enable avatar and avatar frame.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ModernTodo|Find a way to reduce calls multiple times without losing functionality. Some work has already been done, but there are still some problems with this (142 calls in [[New Help Desk]]).}}<includeonly><onlyinclude><div style="margin:{{#ifeq:{{FULLPAGENAME}}|Template:Message|0|14px 0}}; padding-left: | {{ModernTodo|Find a way to reduce calls multiple times without losing functionality. Some work has already been done, but there are still some problems with this (142 calls in [[New Help Desk]]).}}<includeonly><onlyinclude><div style="margin:{{#ifeq:{{FULLPAGENAME}}|Template:Message|0|14px 0}}; padding-left:50px; font-size:14px"><!-- | ||
--><div style="pointer-events:none; display:flex; justify-content:center; align-items:center; width:40px; height:40px; user-select:none; position:absolute; margin:2px 0 0 - | --><div style="pointer-events:none; display:flex; justify-content:center; align-items:center; width:40px; height:40px; user-select:none; position:absolute; margin:2px 0 0 -50px"><!-- | ||
--><div style="display:flex; justify-content:center; align-items:center; width: 100%; height: 100%; background:#525252; border-radius:50%; overflow:hidden;"><!-- | --><div style="display:flex; justify-content:center; align-items:center; width: 100%; height: 100%; background:#525252; border-radius:50%; overflow:hidden;"><!-- | ||
-->[[{{Settings|user={{{user|}}}|before=File:UserAvatar-{{{user}}}.|avatarformat|after={{!}}40px{{!}}ERR|ifempty=File:Icon-user.png{{!}}link={{!}}16px}}]]</div><!-- | -->[[{{Settings|user={{{user|}}}|before=File:UserAvatar-{{{user}}}.|avatarformat|after={{!}}40px{{!}}ERR|ifempty=File:Icon-user.png{{!}}link={{!}}16px}}]]</div><!-- |