Template:Userbox/doc: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) mNo edit summary |
Mailmanmicky (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{Doc/subpage}} | {{Doc/subpage}} | ||
{{infobox template | |||
| summary = Aids in the creation of userbox templates | |||
| type = Metatemplate | |||
| contrib = [[User:mailmanmicky|mailmanmicky]] | |||
| creationdate = 25/04/2022<br><small>(25 April 2022)</small> | |||
| translation = No | |||
| parser = Yes | |||
| var = No | |||
}} | |||
This is a meta template used to aid in the creation of userbox templates. | This is a meta template used to aid in the creation of userbox templates. | ||
Line 13: | Line 23: | ||
== Usage, Parameters and Examples == | == Usage, Parameters and Examples == | ||
{{CodeBlock|<nowiki>{{Userbox}}</nowiki>}} | {{CodeBlock|<nowiki>{{Userbox}}</nowiki>}} | ||
{|class="standard-table" | style="width: | {|class="standard-table" | style="width:auto; text-align:center;" | ||
|- | |- | ||
! style="width:15%" | {{Dictionary/common|Param}} | ! style="width:15%" | {{Dictionary/common|Param}} | ||
Line 31: | Line 41: | ||
|- | |- | ||
| {{Code|{{param|border-w}}}} | | {{Code|{{param|border-w}}}} | ||
| Userbox border width <br>{{Note | | Userbox border width <br>{{Note|Unit must be specified}} | ||
| {{CodeBlock|margin=5px|<nowiki>| border-w = 3px</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| border-w = 3px</nowiki>}} | ||
| {{Userbox|border-w=3px}} | | {{Userbox|border-w=3px}} |
Revision as of 01:01, 1 June 2023

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.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Template:Userbox
Summary
Aids in the creation of userbox templates
Type
Metatemplate
Contributors
Creation date
25/04/2022
(25 April 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
01/06/2023
20230601010128
20230601010128
Revision size
2379 bytes
2.379 kilobytes
0.002379 megabytes
2.379 kilobytes
0.002379 megabytes
Technical information
Page identifier
52343
Contains translations
No
Uses parser functions?
Yes
Uses variables?
No
This is a meta template used to aid in the creation of userbox templates.
Copy and Paste
Usage, Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
No parameters | Template will revert to the default valves specified within the {{#switch}} parser functions. |
id
info | |
{{{border-c}}} | Userbox border color |
id
info | |
{{{border-w}}} | Userbox border width ![]() |
id
info | |
{{{info}}} | Infobox content |
id
Hello, World! | |
{{{info-s}}} | Infobox styling |
id
info | |
{{{id}}} | Idbox content | ![]() info | |
{{{id-s}}} | Idbox styling |
id
info | |
{{{type}}} | Predefined styling for the entire userbox |
id
info |
Available Types
id
info
id
info