Board Thread:Support Requests - Getting Technical/@comment--20130226214535/@comment-25602348-20130303203358

DaNASCAT Regarding: Tabber Pros: Allows the content within the tabs to live within the same page Allows for multiple tabs. Cons: Little customization ability for tabs. Can not set different default tab. Does not accept template parameters. Pros: Yes and Yes, Cons: Minimal, Always The First Tab Defined and there is a kludge to make it accept parameters. {{#tag:tabber|

{{#ifexist:Project:Data/Traveling Merchant/{{{1|}}}/Dec|Dec={{Project:Data/Traveling Merchant/{{{1|}}}/Dec}}{{TM-Tabber-Editbar|{{#ifeq:{{#time:Y/M}}|{{{1|}}}/Dec|Edit|{{ucfirst:{{lc:{{{2|}}}}}}}}}|Dec|{{{1|}}}}}|{{#ifeq:{{#time:Y/M}}|{{{1|}}}/Dec|Dec=|}}}/Dec?action=edit&section=new&preload=Template:Traveling_Merchant Click Here to Add - Dec {{{1|}}}}}}} {{!}}-{{!}} The partial example above, shows it is able to accept two different options for a Dec tab depending on if the file to be transcluded existed or not, additionally the tranclusion carries a second table to define the embedded pages edit bar.

You can see this effect in action here. (http://clashofthedragons.wikia.com/wiki/Traveling_Merchant)

The trick to this is to not define the Tab Name= outside the query, so that only the query result is passed as Tab Name=Tab page to display or Tab Name=Other tab page to display.

Rather than Tab Name= query Tab page to display or Other tab page to display which breaks Tabber.

I hope this is of interest.