The splash/tab template implements a simple tab with a rounded profile
sitting upright (default) or hanging down (invert set true).
Source #1:
[% INCLUDE splash/tab
content = 'Hello World'
%]
|
Output #1:
|
|
Source #2:
[% INCLUDE splash/tab
col = 'aqua'
content = 'Foo'
%]
|
Output #2:
|
|
Source #3:
[% INCLUDE splash/tab
col = 'marine'
content = 'Bar'
invert = 1
%]
|
Output #3:
|
|
Source #4:
[% WRAPPER splash/tab
width = '20%'
%]
Foo
[% END %]
|
Output #4:
|
|
Source #5:
[% WRAPPER splash/tab
invert = 1
style = splash.style.select
width = '30%'
align = 'right'
%]
Bar
[% END %]
|
Output #5:
|
|
Source #6:
[% WRAPPER splash/tab + splash/text
invert = 1
style = splash.style.select
width = '50%'
%]
Baz
[% END %]
|
Output #6:
|