I have been looking into Wookieepedia's Canon/Legends template in order to see how it works.
It seems that there are two articles seperated by a / and it seems as if there is one.
For example:
Lightsaber
Lightsaber/Legends
The following is a partially edited section of code from the original template:
(not visible on the page view; look it up in Source editor!)
Other Ideas
<div class="tabs-row1" align="center" style="font-size: 100%; font-weight: bold; margin-top: 5px;"><!-- -->[[Shodanpedia|<span class="{{#ifeq:{{FULLPAGENAME}}|Shodanpedia||in}}activetab">Homepage</span>]]<!-- --><!-- --><!-- --><!-- --><!-- </div>]]
Sources: http://starwars.wikia.com/wiki/Template:Canontab
http://community.wikia.com/wiki/Help:Tab_view?useskin=oasis
http://community.wikia.com/wiki/Help:Tabber
http://community.wikia.com/wiki/Forum:How_do_I_make_excellent_tabs