(Created page with " This page displays various example of the possible layout of the template. As the URL of this page is ''Template:Tab top/Examples'', this will be used in the following exampl...") |
No edit summary |
||
Line 2: | Line 2: | ||
This page displays various example of the possible layout of the template. | This page displays various example of the possible layout of the template. | ||
As the URL of this page is ''Template:Tab top/Examples'', this will be used in the following examples as the specified URL for tab 2, in order to make this one appear as selected. | As the URL of this page is ''Template:Tab top/Examples'', this will be used in the following examples as the specified URL for tab 2, in order to make this one appear as selected. | ||
<br /> | |||
<br /> | <br /> | ||
Line 13: | Line 14: | ||
| URL-3 = Main Page | | URL-3 = Main Page | ||
}} | }} | ||
<pre> | |||
{{ Tab top | |||
| Tab-1 = Alpha | |||
| URL-1 = France | |||
| Tab-2 = Bravo | |||
| URL-2 = Template:Tab top/Examples | |||
| Tab-3 = Charlie | |||
| URL-3 = Main Page | |||
}} | |||
</pre> | |||
</div></div> | |||
<br /> | |||
<br /> | |||
''' Rounded Tab template ''' | |||
{{ Tab top | |||
| Tab-1 = Alpha | |||
| URL-1 = France | |||
| Tab-2 = Bravo | |||
| URL-2 = Template:Tab top/Examples | |||
| Tab-3 = Charlie | |||
| URL-3 = Main Page | |||
| rounding = 20 | |||
}} | |||
<pre> | |||
{{ Tab top | |||
| Tab-1 = Alpha | |||
| URL-1 = France | |||
| Tab-2 = Bravo | |||
| URL-2 = Template:Tab top/Examples | |||
| Tab-3 = Charlie | |||
| URL-3 = Main Page | |||
| rounding = 20 | |||
}} | |||
</pre> | |||
</div></div> | |||
<br /> | |||
<br /> | |||
''' Asymmetrically Rounded Tab template ''' | |||
{{ Tab top | |||
| Tab-1 = Alpha | |||
| URL-1 = France | |||
| Tab-2 = Bravo | |||
| URL-2 = Template:Tab top/Examples | |||
| Tab-3 = Charlie | |||
| URL-3 = Main Page | |||
| rounding = 15 | |||
| asym=3 | |||
}} | |||
<pre> | |||
{{ Tab top | |||
| Tab-1 = Alpha | |||
| URL-1 = France | |||
| Tab-2 = Bravo | |||
| URL-2 = Template:Tab top/Examples | |||
| Tab-3 = Charlie | |||
| URL-3 = Main Page | |||
| rounding = 15 | |||
| asym=3 | |||
}} | |||
</pre> | |||
</div></div> | |||
<br /> | |||
<br /> | |||
''' altering the default colors ''' | |||
{{ Tab top | |||
| Tab-1 = Alpha | |||
| URL-1 = France | |||
| Tab-2 = Bravo | |||
| URL-2 = Template:Tab top/Examples | |||
| Tab-3 = Charlie | |||
| URL-3 = Main Page | |||
| rounding = 15 | |||
| asym=3 | |||
| border=brown | |||
| frame background=ivory | |||
| tab background=tan | |||
}} | |||
<pre> | |||
{{ Tab top | |||
| Tab-1 = Alpha | |||
| URL-1 = France | |||
| Tab-2 = Bravo | |||
| URL-2 = Template:Tab top/Examples | |||
| Tab-3 = Charlie | |||
| URL-3 = Main Page | |||
| rounding = 20 | |||
}} | |||
</pre> | |||
</div></div> | |||
<br /> | |||
<br /> |
Revision as of 14:51, 30 September 2014
This page displays various example of the possible layout of the template.
As the URL of this page is Template:Tab top/Examples, this will be used in the following examples as the specified URL for tab 2, in order to make this one appear as selected.
Minimum template
Alpha | Bravo | Charlie |
{{ Tab top | Tab-1 = Alpha | URL-1 = France | Tab-2 = Bravo | URL-2 = Template:Tab top/Examples | Tab-3 = Charlie | URL-3 = Main Page }}
Rounded Tab template
Alpha | Bravo | Charlie |
{{ Tab top | Tab-1 = Alpha | URL-1 = France | Tab-2 = Bravo | URL-2 = Template:Tab top/Examples | Tab-3 = Charlie | URL-3 = Main Page | rounding = 20 }}
Asymmetrically Rounded Tab template
Alpha | Bravo | Charlie |
{{ Tab top | Tab-1 = Alpha | URL-1 = France | Tab-2 = Bravo | URL-2 = Template:Tab top/Examples | Tab-3 = Charlie | URL-3 = Main Page | rounding = 15 | asym=3 }}
altering the default colors
Alpha | Bravo | Charlie |
{{ Tab top | Tab-1 = Alpha | URL-1 = France | Tab-2 = Bravo | URL-2 = Template:Tab top/Examples | Tab-3 = Charlie | URL-3 = Main Page | rounding = 20 }}