Forum:Tabber

From the Kingdom Hearts Wiki: A world of information not accessible by Gummiship
Jump to navigationJump to search
Realm of Sleep Forum Logo.png
Forums: Index > The Realm of Sleep > Tabber

Your wiki uses some pretty complex formatting for your tabs, see the profile and journal tab below.

This complex coding for these tabs can currently be found at MediaWiki:Common.css, Template:Style, etc.

Just to let you know that all wikis now have the Tabber Extension, including this one.

maybe your wiki can transfer to using tabber extension instead.

hope this helps. Anno1404 19:03, September 10, 2010 (UTC)

I'm trying to implement this, but we have intricate parser functions surrounding the current tab coding, and using this version requires an entirely different logic.Glorious CHAOS! 20:23, September 10, 2010 (UTC)
Yeah, this coding is absolutely not functional with parser functions, conditionals, or even multiple word titles. See Kingdom Hearts Wiki:Sandbox.Glorious CHAOS! 20:36, September 10, 2010 (UTC)
Multiple word titles

Multiple word titles work. You just need to add the html for the space key.

<tabber> This does not work=The title of this tab should have been "This does not work". </tabber>

Correct, the above does not work. This does: <tabber> This does not work=The title of this tab should have been "This does not work". </tabber>

parser functions and conditionals

See the talk page of this extension. Extension_talk:Tabber

Particularly Template parameter doesn't work with tabber

{{#tag:tabber|
{{{tab1|}}}=
{{!}}-{{!}}
Original={{{image|}}}
{{!}}-{{!}}
Final Mix={{{FMimage|}}}
{{!}}-{{!}}
{{{tab2|}}}={{{image2|}}}
}}

Added to Template:Test

{{test
|tab1=alpha
|tab2=pi
|FMimage=beta
|image=gamma
|image2=omega
}}

Added to Kingdom Hearts Wiki:Sandbox

Creates (ignore first result, this is the original added) :

{{{date}}} - [{{{link}}} {{{title}}}]
{{{description}}}

Hope this helps. Message me on my talk page when you respond. Thanks.

Anno1404 22:12, September 11, 2010 (UTC)

That looks like it should work better, but honestly, a lot of the parsers in the main infobox template take advantage of </div> being used to end both the tabber and the tabbertab. Furthermore, I'm just too exhausted by the template to redo the logic for it - it works for now, and I don't want to touch it with these. If someone else could get it to function the same with these, that would be wonderful, but I'm out.
For everything else, though, this function is wonderful, and we should absolutely use it. Thanks!Glorious CHAOS! 23:46, September 11, 2010 (UTC)
Great, thought I would let you all know, since you were the folks who introduced me to tabber. Anno1404 23:51, September 11, 2010 (UTC)

Question about the tabs : has Common.js or Tabber.js been changed ? TROISNYX Symbol - Bell.png AMDG 09:14, September 12, 2010 (UTC)