diff --git a/core/wiki/macros/tabs.tid b/core/wiki/macros/tabs.tid
index 013aaba45..8d6d2d8fb 100644
--- a/core/wiki/macros/tabs.tid
+++ b/core/wiki/macros/tabs.tid
@@ -1,7 +1,7 @@
title: $:/core/macros/tabs
tags: $:/tags/Macro
-\define tabs(tabsList,default,state:"$:/state/tab",class)
+\define tabs(tabsList,default,state:"$:/state/tab",class,template)
<$list filter="$tabsList$" variable="currentTab">
@@ -16,7 +16,15 @@ tags: $:/tags/Macro
<$reveal type="match" state=<> text=<> default="$default$">
-<$transclude tiddler=<> mode="block"/>
+<$tiddler tiddler=<>>
+
+<$transclude tiddler="$template$" mode="block">
+
+<$transclude mode="block"/>
+
+$transclude>
+
+$tiddler>
$reveal>
diff --git a/editions/tw5.com/tiddlers/macros/TabsMacro.tid b/editions/tw5.com/tiddlers/macros/TabsMacro.tid
index cbccf492e..47f66deb6 100644
--- a/editions/tw5.com/tiddlers/macros/TabsMacro.tid
+++ b/editions/tw5.com/tiddlers/macros/TabsMacro.tid
@@ -1,5 +1,5 @@
created: 20131228162203521
-modified: 20140509223527667
+modified: 20140702113527667
tags: macros
title: TabsMacro
type: text/vnd.tiddlywiki
@@ -15,6 +15,7 @@ By default the tab control arranges the tabs horizontally with the content under
|2nd |default |Name of the tiddler containing the default tab | |
|3rd |state |String to distinguish multiple tabs within the same tiddler (use of the system tiddler prefix is recommended) |''$:/state/tab'' |
|4th |class |Additional CSS classes for the three wrappers DIV of the tab | |
+|5th |template |Optional template through which to render the tab content | |
! Examples