Template:RoundBoxTop: Difference between revisions
Appearance
wikademia>Robert Elliott m temp |
wikademia>Robert Elliott m Minor Additions |
||
| Line 1: | Line 1: | ||
{| cellpadding="10" cellspacing="5" style="width: 100%; background-color: inherit; margin-left: auto; margin-right: auto" | {| cellpadding="10" cellspacing="5" style="width: 100%; background-color: inherit; margin-left: auto; margin-right: auto" | ||
| style="background-color: {{Robelbox/C1|{{{theme| | | style="background-color: {{Robelbox/C1|{{{theme|1}}}}}; border: 1px solid {{Robelbox/C2|{{{theme|1}}}}}; -moz-border-radius-topleft: 8px; -moz-border-radius-bottomleft: 8px; -moz-border-radius-topright: 8px; -moz-border-radius-bottomright: 8px;" colspan="1" |<br> | ||
<noinclude> | <noinclude> | ||
{{RoundBoxBottom}} | {{RoundBoxBottom}} | ||
| Line 32: | Line 32: | ||
{{RoundBoxTop|theme=2}} | {{RoundBoxTop|theme=2}} | ||
Test content using a box of theme = 2. | Test content using a box of theme = 2. | ||
{{RoundBoxBottom}} | |||
---- | |||
---- | |||
{{RoundBoxTop}} | |||
==Theme 1== | |||
;Simple example | |||
:Here is an example of a round box with a theme of 1. | |||
{{RoundBoxBottom}} | {{RoundBoxBottom}} | ||
Revision as of 01:49, 17 June 2008
- One of three parts
- This is a box with rounded corners (visible with selected browsers only.):
This template can be combined with Template:RoundBoxNext and must conclude with Template:RoundBoxBottom.
Simple examples
Theme 1: Tan (default)
This code:
{{RoundBoxTop}}
Test content using a box of theme = 1.
{{RoundBoxBottom}}
produces this box:
Test content using a box of theme = 1. |
Theme 2: Tan (default)
This code:
{{RoundBoxTop|theme=2}}
Test content using a box of theme = 2.
{{RoundBoxBottom}}
produces this box:
Test content using a box of theme = 2. |
Theme 1
|