Example Box
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Return to Library |
|||||||||||||||||||||||||||||||||||||||||||||||||||
What it Looks LikeDefault
Examples
DescriptionA totally and completely useless box that does nothing except show how versatile userboxes can be. InstructionsTo use this userbox on your page, copy and paste the following into your code: {{User:Audacitor/Userboxes/Library/ExampleBox}} Then, add any options you want. This userbox supports the following options:
How it WorksThe whole thing is really just a table. The "table" and "td" HTML tags are where most of the magic happens. Those tags use "style" attributes to describe how everything looks using CSS. Most of the template turns the values that CSS uses into variables who's values the user specifies when they call the template. In fact, this box has ten different variables. That's both really good and really bad at the same time. It's good because there's so much customization available that you could make to instances that have nothing in common; that don't even appear to be from the same template. But then again, it's really bad because ten variables is a lot to remember. ColorsWhen inserting an English value for any option that requires a color, the following values can be used: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, yellow, white Note that CSS does not specify the exact shade of color associated with each of the above values. The maroon that one user sees on one computer might not be the same shade of maroon another user sees on hers. If you want to specify an exact shade of color, use any of the alternative methods. BordersWhen adding a value for the "BorderStyle" option, the following may be used: none, dotted, dashed, solid, double, groove, ridge, inset, outset Examples can be found here. ChallengeThis box has quite a lot of versatility already. You can modify the look and feel of quite a lot of stuff. But not all of it. Can you add three more features to this userbox? Note: There's no reward. |
|||||||||||||||||||||||||||||||||||||||||||||||||||
Return to Library |
|||||||||||||||||||||||||||||||||||||||||||||||||||
Corepages: Audacitor | Talk | Contributions
|