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}} | ||
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 12: | ||
== 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:100%; text-align:center;" | ||
|- | |- | ||
! style="width:15%" | {{Dictionary/common|Param}} | ! style="width:15%" | {{Dictionary/common|Param}} | ||
Line 64: | Line 63: | ||
{{CodeBlock|<nowiki>{{Userbox|type=black}} {{Userbox|type=pink}}</nowiki>}} | {{CodeBlock|<nowiki>{{Userbox|type=black}} {{Userbox|type=pink}}</nowiki>}} | ||
{{Capsule|{{userbox|type=black}} {{Userbox|type=pink}}}}</div> | {{Capsule|{{userbox|type=black}} {{Userbox|type=pink}}}}</div> | ||
<includeonly>[[Category:Templates]][[Category:Metatemplates]][[Category:Userbox Templates]]</includeonly> | <includeonly>[[Category:Templates]][[Category:Metatemplates]][[Category:Userbox Templates]]</includeonly> |
Revision as of 13:22, 14 July 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.
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