Difference between revisions of "Template:Userbox-2"
Jump to navigation
Jump to search
imported>BrownHairedGirl m (Reverted edits by BrownHairedGirl (talk) to last version by Mr. Stradivarius) |
Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
− | {{#invoke: | + | {{#invoke:Userbox|userbox-2}}<noinclude> |
{{documentation}} | {{documentation}} | ||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> | <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> | ||
</noinclude> | </noinclude> |
Latest revision as of 22:07, 7 August 2020
id1 | {{{info}}} | id2 |
![]() | 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 http://en.wikipedia.org/wiki/Template:Userbox-2/sandbox
- TO http://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
{{userbox-2 | side-box 1 color | main box color | ID/icon 1 | message | ID/icon 2 | border color (defaults to same as side-box 1) | side-box 2 color (defaults to same as side-box 1) }}
Extended
{{userbox-2 | float = | border-c = border color | border-s = border width | id1 = side-box 1 content | id1-c = side-box 1 color | id1-p = side-box 1 padding | id1-s = side-box 1 font size | id1-fc = side-box 1 font color | id1-lh = side-box 1 line height | id1-op = side-box 1 CSS properties | info = main box content | info-a = main box horizontal alignment | info-c = main box color | info-p = main box padding | info-s = main box font size | info-fc = main box font color | info-lh = main box line height | info-op = main box CSS properties | id2 = side-box 2 content | id2-c = side-box 2 color | id2-p = side-box 2 padding | id2-s = side-box 2 font size | id2-fc = side-box 2 font color | id2-lh = side-box 2 line height | id2-op = side-box 2 CSS properties | usercategory = user category (optional) | usercategory2 = user category (optional) | usercategory3 = user category (optional) | usercategory4 = user category (optional) | usercategory5 = user category (optional) }}
- If border-c is not specified, id1-c will be used.
- All parameters are optional.
See also
Userbox meta-templates | |||
---|---|---|---|
Left |
| ||
Right |
| ||
Left and Right |
| ||
See also: Module:Userbox, Wikipedia:Userboxes, Wikipedia:Userboxes/Userboxes, Template:Userbox-m |
es:Usuario:Userbox/Userbox-2 ru:Участник:Box/Таблица3
The above documentation is transcluded from Template:Userbox-2/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |