Template:User page: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Added {{{cover gradient}}}) |
||
Line 9: | Line 9: | ||
--> | --> | ||
<div style="display:flex; justify-content:center; align-items:center; width:100%; height:256px; background-color:#404040; border-radius:6px; overflow: hidden; user-select:none; position:relative; z-index:1; margin-top:{{#ifeq:{{FULLPAGENAME}}|Template:User page|0|-30px}}"><!-- | <div style="display:flex; justify-content:center; align-items:center; width:100%; height:256px; {{#if:{{{cover gradient|}}}|background-image:{{{cover gradient}}};|}} background-color:#404040; border-radius:6px; overflow: hidden; user-select:none; position:relative; z-index:1; margin-top:{{#ifeq:{{FULLPAGENAME}}|Template:User page|0|-30px}}"><!-- | ||
-->{{#if:{{PROTECTIONEXPIRY:edit|File:UserCover-{{PAGENAME}}.png}} | -->{{#if:{{PROTECTIONEXPIRY:edit|File:UserCover-{{PAGENAME}}.png}} | ||
|[[File:UserCover-{{PAGENAME}}.png|link=]] | |[[File:UserCover-{{PAGENAME}}.png|link=]] | ||
|{{#if:{{PROTECTIONEXPIRY:edit|File:UserCover-{{PAGENAME}}.jpg}} | |{{#if:{{PROTECTIONEXPIRY:edit|File:UserCover-{{PAGENAME}}.jpg}} | ||
|[[File:UserCover-{{PAGENAME}}.jpg|link=]] | |[[File:UserCover-{{PAGENAME}}.jpg|link=]] | ||
|<span style="opacity:0.6">[[File:Icon-panorama.png|80px|{{User page/strings|AddCover}}|link=File:UserCover-{{ROOTPAGENAME}}.png]]</span>}}}} | |{{#if:{{{cover gradient|}}}||<span style="opacity:0.6">[[File:Icon-panorama.png|80px|{{User page/strings|AddCover}}|link=File:UserCover-{{ROOTPAGENAME}}.png]]</span>}}}}}} | ||
</div> | </div> | ||
Revision as of 06:00, 25 April 2023
Template:ModernTodo Template:ModernTodo
The above documentation is transcluded from Template:User page/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.