Template:Userbox: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) mNo edit summary |
mNo edit summary |
||
(28 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude><div style="margin:1px; display:inline-grid; grid-template-columns:1fr 6fr; width:294px; border-radius:.25em; border: {{{border-w|1px}}} solid | {{doc}}<includeonly><onlyinclude><div style="margin:1px; display:inline-grid; grid-template-columns:1fr 6fr; min-width:256px; max-width:294px; border-radius:.25em; border: {{{border-w|1px}}} solid | ||
{{#switch:{{{type}}} | {{#switch:{{{type}}} | ||
| black = #000 | |||
| pink = rgb(159, 59, 86,.4) | |||
| #default = {{{border-c|rgba(255,255,255,.1)}}} | | #default = {{{border-c|rgba(255,255,255,.1)}}} | ||
}}; | }}; | ||
box-shadow:{{#switch:{{{type}}} | box-shadow:{{#switch:{{{type}}} | ||
Line 16: | Line 12: | ||
<div style="background:{{#switch:{{{type}}} | <div style="background:{{#switch:{{{type}}} | ||
| black = #000 | |||
| pink = rgb(159, 59, 86,.16) | |||
| #default = rgba(0,0,0,.16) | | #default = rgba(0,0,0,.16) | ||
}}; | }}; display:grid; width:47px; padding:.2em; {{{id-s|}}}"> | ||
<b style="align-self:center; justify-self:center;">{{{id|id}}}</b></div> | <b style="align-self:center; justify-self:center;">{{{id|id}}}</b></div> | ||
<div style="background:{{#switch:{{{type}}} | <div style="background:{{#switch:{{{type}}} | ||
| black = #000 | |||
| pink = rgb(159, 59, 86,.16) | |||
| #default = rgba(0,0,0,.16) | | #default = rgba(0,0,0,.16) | ||
}};display:grid; font-size:8pt; {{{info-s|}}}"><p style="align-self:center; padding-left:5px; line-height: 1.25em; ">{{{info|''info''}}}</p></div></div></onlyinclude></includeonly> | }};display:grid; font-size:8pt; {{{info-s|}}}"><p style="margin:.4em 0; align-self:center; padding-left:5px; line-height: 1.25em; ">{{{info|''info''}}}</p></div></div></onlyinclude></includeonly> | ||
Latest revision as of 14:58, 16 May 2024
The above documentation is transcluded from Template:Userbox/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.