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 4: | Line 4: | ||
== Usage, Parameters and Examples == | == Usage, Parameters and Examples == | ||
{{CodeBlock|{{ | {{CodeBlock|<nowiki>{{Userbox}}</nowiki>}} | ||
{|class="standard-table" | style="width:100%; text-align:center;" | {|class="standard-table" | style="width:100%; text-align:center;" | ||
|- | |- | ||
Line 39: | Line 39: | ||
| {{Code|{{param|id-s}}}} | | {{Code|{{param|id-s}}}} | ||
| Idbox styling | | Idbox styling | ||
| {{CodeBlock|{{((}}Userbox|{{Tint|color=yellow|id-s}}{{=}}{{Tint|color=green|background: | | {{CodeBlock|{{((}}Userbox|{{Tint|color=yellow|id-s}}{{=}}{{Tint|color=green|background:indigo;}}{{))}}}} | ||
| {{Userbox|id-s=background: | | {{Userbox|id-s=background:indigo;}} | ||
|- | |- | ||
| {{Code|{{param|type}}}} | | {{Code|{{param|type}}}} | ||
| Predefined styling for the entire userbox | | Predefined styling for the entire userbox | ||
| {{CodeBlock|{{((}}Userbox|{{Tint|color=yellow|type}}{{=}}{{Tint|color=green| | | {{CodeBlock|{{((}}Userbox|{{Tint|color=yellow|type}}{{=}}{{Tint|color=green|deepdark}}{{))}}}} | ||
| | | {{Userbox|type=deepdark}} | ||
|} | |} | ||
== Available Types == | |||
{{CodeBlock|<nowiki>{{Userbox|type=deepdark}}</nowiki>}} | |||
{{Capsule|{{userbox|type=deepdark}}}} | |||
[[Category:Templates]] | [[Category:Templates]] |
Revision as of 12:00, 24 April 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.
This is a meta template used to aid in the creation of userbox templates.
Usage, Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
{{{border-c}}} | Userbox border color |
id
info | |
{{{border-w}}} | Userbox border width Template:ModernNote Unit must be specified |
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