Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Ross tabs: Difference between revisions

Template page
Created page with "<noinclude> == Template:Ross tabs == A general-purpose tabbed content template. Supports 2–5 tabs. === Parameters === {| class="wikitable" ! Parameter !! Description |- | <code>tab1</code> || Label for the first tab (required) |- | <code>content1</code> || Content of the first tab (required) |- | <code>tab2</code> || Label for the second tab (required) |- | <code>content2</code> || Content of the second tab (required) |- | <code>tab3</code> – <code>tab5</code> ||..."
 
No edit summary
 
Line 39: Line 39:
[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude><includeonly>{{#invoke:TemplateStyles|call|Template:Ross tabs/styles.css}}<!--
</noinclude><includeonly>{{#invoke:TemplateStyles|call|Template:Ross tabs/styles.css}}<!--
-->{{#vardefine:_rtid|ross-tabs-{{#if:{{{id|}}}|{{{id}}}|{{PAGENAME}}-{{#rand:1000|9999}}}}}}<!--
-->{{#vardefine:_rtid|ross-tabs-{{#if:{{{id|}}}|{{{id}}}|{{PAGENAME}}-{{#time:Hisu}}}}}}<!--
--><div class="ross-tabs-container">
--><div class="ross-tabs-container">
<div class="ross-tabs-nav"><!--
<div class="ross-tabs-nav"><!--

Latest revision as of 01:13, 25 February 2026

Template:Ross tabs

A general-purpose tabbed content template. Supports 2–5 tabs.

Parameters

Parameter Description
tab1 Label for the first tab (required)
content1 Content of the first tab (required)
tab2 Label for the second tab (required)
content2 Content of the second tab (required)
tab3tab5 Labels for optional additional tabs
content3content5 Content for optional additional tabs
id Optional unique ID suffix, needed if you place two tab blocks on the same page

Example

{{Ross tabs
|tab1=Ancestor chart
|content1={{#invoke:RossAncestorChart|ancestors}}
|tab2=Descendants
|content2={{#invoke:RossAncestorChart|descendants}}
|tab3=Notes
|content3=Any wiki content here.
}}
Contents