Template:Advuserbox: Difference between revisions
Jump to navigation
Jump to search
Screamer1234 (talk | contribs) m Protected "Template:Advuserbox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
Tankmanfan44 (talk | contribs) No edit summary |
||
| Line 24: | Line 24: | ||
| #default = rgba(0,0,0,.16) | | #default = rgba(0,0,0,.16) | ||
}};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> | }};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> | ||
<noinclude> | |||
[[Category:Userboxes]] | |||
</noinclude> | |||
Latest revision as of 15:13, 22 December 2025
NOTE: This template was originally copied from Valve Developer Wiki.
This is a meta template used to aid in the creation of userbox templates, with better design.
Copy and Paste
{{Advuserbox | info = | info-s = | id = | id-s = }}
Usage, Parameters and Examples
{{Userbox}}
| Parameters | Description | Example | Preview |
|---|---|---|---|
| No parameters | Template will revert to the default valves specified within the {{#switch}} parser functions.
|
{{Userbox}}
|
id
info |
[[:Template:Param]]
|
Userbox border color | | border-c = red
|
id
info |
[[:Template:Param]]
|
Userbox border width NOTE: Unit must be specified |
| border-w = 3px
|
id
info |
[[:Template:Param]]
|
Infobox content | | info = Hello, World!
|
id
Hello, World! |
[[:Template:Param]]
|
Infobox styling | | info-s = background:#222;
|
id
info |
[[:Template:Param]]
|
Idbox content | | id = [[File:Userbox-Adobe_Premiere_Pro.png|32px|link=]]
|
info |
[[:Template:Param]]
|
Idbox styling | | id-s = background:indigo;
|
id
info |
[[:Template:Param]]
|
Predefined styling for the entire userbox | | type = black
|
id
info |