Template:Userbox-2/doc
![]() | This is a documentation subpage for Template:Userbox-2. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 35,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua: |
Sandbox reminder
- Always practice or experiment in the Template:Userbox-2/sandbox or Template:Userbox-2/testcases
- Once you are satisfied: Copy your code!
- In your Browser's address bar, change "sandbox" or "testcases" to the name of your new Userbox.
- Example:
- CHANGE https://en.wikipedia.org/wiki/Template:Userbox-2/sandbox
- TO https://en.wikipedia.org/wiki/Template:Userbox-2/WhateverYourNewBoxNameIs
- If the name of your new Userbox is taken, create a different name.
- You will be prompted to Start or Create your new Template Userbox!
- Paste your code into the space provided.
Usage
Compact
<syntaxhighlight lang="wikitext">
ID/icon 1 | message | ID/icon 2 |
</syntaxhighlight>
Extended
<syntaxhighlight lang="wikitext">
side-box 1 content | main box content | side-box 2 content |
</syntaxhighlight>
- If border-c is not specified, id1-c will be used.
- All parameters are optional.
See also
Userbox metatemplates | |||
---|---|---|---|
Left |
| ||
Right |
| ||
Left and Right |
| ||
None |
| ||
See also: Module:Userbox, Wikipedia:Userboxes, Wikipedia:Userboxes/Userboxes |