Template:Userbox-2/doc: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} == Sandbox Reminder:== *Always practice or experiment in the Template:Userbox-2/sandbox or Template:Userbox-2/testcases *Once you are satisf...")
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


== Sandbox Reminder:==
== Sandbox Reminder:==
*Always practice or experiment in the [[Template:Userbox-2/sandbox]] or [[Template:Userbox-2/testcases]]
*Always practice or experiment in a sandbox
*Once you are satisfied: Copy your code!
*Once you are satisfied: Copy your code!
*In your Browser's address bar, change "sandbox" or "testcases" to the name of your new Userbox.
*In your Browser's address bar, change "sandbox" or "testcases" to the name of your new Userbox.
Line 69: Line 69:
* {{tl|Userbox}}
* {{tl|Userbox}}
* {{tl|Userbox-r}}
* {{tl|Userbox-r}}
* {{tl|WP:UBS}}




Line 76: Line 75:
{{DEFAULTSORT:{{PAGENAME}}}}
{{DEFAULTSORT:{{PAGENAME}}}}


</includeonly>
</includeonly><noinclude>[[Category:Userboxes]]</noinclude>
<!-- Please add interwikis and categories above this -->
<!-- Please add interwikis and categories above this -->

Latest revision as of 03:15, 30 January 2014

Sandbox Reminder:[edit source]

Usage[edit source]

Compact[edit source]

{{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[edit source]

{{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)
}}
  • If border-c is not specified, id1-c will be used
  • All parameters are optional

See also[edit source]