Template:Ross tabs: Difference between revisions
Template page
More actions
Redheadkelly (talk | contribs) 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> ||..." |
Redheadkelly (talk | contribs) 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}}-{{# | -->{{#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) |
tab3 – tab5 |
Labels for optional additional tabs |
content3 – content5 |
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.
}}