Page tree
Viewable by the world
Skip to end of metadata
Go to start of metadata

Content on a page can be displayed using tabs by inserting a Deck of Cards macro and adding Card macros as-needed or using the code below.

What You Type
{composition-setup}deck.startHidden=false{composition-setup}
{deck:id=myDeck|tablocation=top}
{card:label=Tab 1}
h5.Page Content that will display under Tab 1
h6.Two tab locations
* top
* bottom
{card}

{card:label=Tab 2}
h5. Page Content that will display under Tab 2
h6. Content goes here
{card}
{deck}
Or change the look of the tabs by adding class=tundra in the deck macro:
{composition-setup}deck.startHidden=false{composition-setup}
{deck:id=myDeck|tablocation=top|class=tundra}
{card:label=Tab 1}
h5.Page Content that will display under Tab 1
h6.Two tab locations
* top
* bottom
{card}

{card:label=Tab 2}
h5. Page Content that will display under Tab 2
h6. Content goes here
{card}
{deck}
Or choose bottom tabs instead of top tabs in the deck macro:
{composition-setup}deck.startHidden=false{composition-setup}
{deck:id=myDeck|tablocation=bottom|class=tundra}
{card:label=Tab 1}
h5.Page Content that will display under Tab 1
h6.Two tab locations
* top
* bottom
{card}

{card:label=Tab 2}
h5. Page Content that will display under Tab 2
h6. Content goes here
{card}
{deck}
 
What You Get
Page Content that will display under Tab 1
Two tab locations
  • top
  • bottom
Page Content that will display under Tab 2
Content goes here
And here's what it looks like with class=tundra:
Page Content that will display under Tab 1
Two tab locations
  • top
  • bottom
Page Content that will display under Tab 2
Content goes here
And here's what it looks like with bottom tabs:
Page Content that will display under Tab 1
Two tab locations
  • top
  • bottom
Page Content that will display under Tab 2
Content goes here