Editing Forum:Tabber

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Forumheader|The Realm of Sleep|The World that Never was}}
{{Forumheader|The World that Never was}}


<!-- Please put your content under this line.  Be sure to sign your edits with either your talk page template or four tildes ~~~~ -->
<!-- Please put your content under this line.  Be sure to sign your edits with either your talk page template or four tildes ~~~~ -->
Your wiki uses some pretty complex formatting for your tabs, see the profile and journal tab below.
Your wiki uses some pretty complex formatting for your tabs:


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 [http://www.mediawiki.org/wiki/Extension:Tabber Tabber Extension], including [[Special:Version|this one]].
maybe your wiki can transfer to using tabber extension instead.
hope this helps. [[User:Anno1404|Anno1404]] 19:03, September 10, 2010 (UTC)
<!--
{{game|KH2|FM2|358}}
{{game|KH2|FM2|358}}
{{Enemy
{{Enemy
Line 27: Line 19:
  |journal358=These ....
  |journal358=These ....
  |KH2loc1=Twilight Town
  |KH2loc1=Twilight Town
}}
}}  
-->
: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.[[User:KrytenKoro|<small>Glorious</small>]] [[User_talk:KrytenKoro|<small>CHAOS!</small>]] 20:23, September 10, 2010 (UTC)
::Yeah, this coding is absolutely not functional with parser functions, conditionals, or even multiple word titles. See [[KHWiki:Sandbox]].[[User:KrytenKoro|<small>Glorious</small>]] [[User_talk:KrytenKoro|<small>CHAOS!</small>]] 20:36, September 10, 2010 (UTC)


;Multiple word titles
The coding for these tabs can be found at [[MediaWiki:Common.css]], [[Template:Style]], etc. Just to let you know that all wikis now have the [http://www.mediawiki.org/wiki/Extension:Tabber Tabber Extension], including [[Special:Version|this one]].  
Multiple word titles work. You just need to add the html for the space key.  


<tabber>
maybe your wiki can transfer to using tabber extension instead.  
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:
hope this helps. [[User:Anno1404|Anno1404]] 19:03, September 10, 2010 (UTC)
<tabber>
This&nbsp;does&nbsp;not&nbsp;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. [http://www.mediawiki.org/wiki/Extension_talk:Tabber Extension_talk:Tabber]
 
Particularly [http://www.mediawiki.org/wiki/Extension_talk:Tabber#Template_parameter_doesn.27t_work_with_tabber Template parameter doesn't work with tabber]
 
<pre>
{{#tag:tabber|
{{{tab1|}}}=
{{!}}-{{!}}
Original={{{image|}}}
{{!}}-{{!}}
Final&nbsp;Mix={{{FMimage|}}}
{{!}}-{{!}}
{{{tab2|}}}={{{image2|}}}
}}
</pre>
 
Added to [[Template:Test]]
 
<pre>
{{test
|tab1=alpha
|tab2=pi
|FMimage=beta
|image=gamma
|image2=omega
}}
</pre>
 
Added to [[KHWiki:Sandbox]]
 
Creates (ignore first result, this is the original added) :
 
{{test
|tab1=alpha
|tab2=pi
|FMimage=beta
|image=gamma
|image2=omega
}}
 
Hope this helps. Message me on my talk page when you respond. Thanks.
 
[[User:Anno1404|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 <nowiki></div></nowiki> 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![[User:KrytenKoro|<small>Glorious</small>]] [[User_talk:KrytenKoro|<small>CHAOS!</small>]] 23:46, September 11, 2010 (UTC)
:::Great, thought I would let you all know, since you were the folks who introduced me to tabber. [[User:Anno1404|Anno1404]] 23:51, September 11, 2010 (UTC)
Question about the tabs : has Common.js or Tabber.js been changed ? {{User:Troisnyxetienne/Signature}} 09:14, September 12, 2010 (UTC)

Please note that all contributions to the Kingdom Hearts Wiki are considered to be released under the Attribution-ShareAlike 3.0 Unported license (see KHWiki:Copyrights for details). If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)