14,935
edits
KrytenKoro (talk | contribs) No edit summary |
m (Text replacement - "[[Kingdom Hearts Wiki:" to "[[KHWiki:") |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Forumheader|The World that Never was}} | {{Forumheader|The Realm of Sleep|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 ~~~~ --> | ||
Line 11: | Line 11: | ||
hope this helps. [[User:Anno1404|Anno1404]] 19:03, September 10, 2010 (UTC) | hope this helps. [[User:Anno1404|Anno1404]] 19:03, September 10, 2010 (UTC) | ||
<!-- | |||
{{game|KH2|FM2|358}} | {{game|KH2|FM2|358}} | ||
{{Enemy | {{Enemy | ||
Line 28: | Line 28: | ||
|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 | |||
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. [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 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) |