Template:Userbox/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 68: Line 68:
| summary      = Aids in the creation of userbox templates
| summary      = Aids in the creation of userbox templates
| type        = Metatemplate
| type        = Metatemplate
| float        = none
| creationdate = 25/04/2022<br><small>(25 April 2022)</small>
| creationdate = 25/04/2022<br><small>(25 April 2022)</small>
| translation  = No
| translation  = No

Revision as of 12:58, 9 June 2023

Edit-copy.png
This is a documentation subpage for Template:Userbox.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

This is a meta template used to aid in the creation of userbox templates.

Copy and Paste

{{Userbox | info = | info-s = | id = | id-s = }}

Usage, Parameters and Examples

{{Userbox}}
Parameter Description Example Preview
No parameters Template will revert to the default valves specified within the {{#switch}} parser functions.
{{Userbox}}
id

info

{{{border-c}}} Userbox border color
| border-c = red
id

info

{{{border-w}}} Userbox border width
Note.pngNote:Unit must be specified
| border-w = 3px
id

info

{{{info}}} Infobox content
| info = Hello, World!
id

Hello, World!

{{{info-s}}} Infobox styling
| info-s = background:#222;
id

info

{{{id}}} Idbox content
| id = [[File:Earth.gif|link=]]
Earth.gif

info

{{{id-s}}} Idbox styling
| id-s = background:indigo;
id

info

{{{type}}} Predefined styling for the entire userbox
| type = black
id

info

Available Types

{{Userbox|type=black}} {{Userbox|type=pink}}
id

info

id

info

Template:Userbox
Logo-template.png
Summary
Aids in the creation of userbox templates
Type
Metatemplate
Contributors
N/A
Creation date
25/04/2022
(25 April 2022)
Notes
N/A
Subpages
Documentation
Preload
N/A
Sandbox
N/A
Strings
N/A
Testcases
N/A
Other
N/A
Revision information
Latest editor
Mailmanmicky
Last edited
09/06/2023
20230609125845
Revision size
2419 bytes
2.419 kilobytes
0.002419 megabytes
Technical information
Page identifier
52343
Contains translations
No
Uses parser functions?
Yes
Uses variables?
No