Board Thread:Support Requests - Getting Technical/@comment-12396256-20131216145449

Hello. Since english isn't my native language, and i never have programmed anything (does RPG Maker with Custom Menus and Battle Systems using Variables count ? :-p ), i'll try to be as precise as possible, even if it will be long.

I want to fill this wikia http://dbzbt2.wikia.com/wiki/Dragon_Ball_Z_Budokai_Tenkaichi_2_Wiki, which is not mine, with character's pages including their moves, combos, etc. (such has throws, Kamehas, etc.).

This far, i've done this : http://dbzbt2.wikia.com/wiki/Goku/Sheet

In this page, some moves are writed in blue, clicking on them leads to the matching section (in the same page) where they are detailed. But i don't like it.

The request

What i wish to do is personalized tooltips (box with additional informations popping when i pass the mouse on the word).

Tooltip code i use is : <@span title="Hidden text">Normally displayed text (minus the @) to obtain : Normally displayed text. (Move the cursor on it.)

Note for all codes i'll use from this point on, i'll include a @ to display it correctly. Of course, in reality, codes don't include @.

By combining tooltips with templates, i can create "centralized" tooltips. I see 2 advantages : just by typing {@{template}}, it will add the tooltip (template page contains the tooltip code), so it will be more clear in editing modes (for example, {@{Kamehameha}} will display the word "Kamehameha" and the tooltip with all informations if i pass the mouse on it) ; and second, if i have for some reason to correct a common move shared by many characters, i'll just have to do a single correction in the template page, instead of correct all occurences accross all the page, or even accross all the pageS for common moves shared by many characters (so, by many pages).

For what kind of template, i think i'll use two types :

-Simple basic template pages, for common moves shared by many characters, which commands and effects are always the same. Plain and simple, just text and tables, easy as hell.

-Templates including both unvariable elements (like PS2 inputs) and variables (like Wii inputs, damages, effects, costs...). Those "variable templates" (i don't know how they are called) will be common to all pages, but content will be proper to each character and each form. For example, Goku's Kameha hasn't same values as Goku SSJ's Kameha. In this case, i don't want to do "Goku Kameha" template page and a "Goku SSJ Kameha" one. I'd rather see only a few "variable templates" with this trame : effect, cost (with color going yellow or blue depending if it requires Ki or Blast stock ; at worst, i'll enter manually the color code in the field, if it is possible), if Max Power Mode is requirred and if yes, writed in red ; if not, NOT leave a blank line, table of inputs, table of damages. So i'll fill the fields once, and copy/paste the template code when "Goku's Kameha" occurs again.

In those two types of templates, i want to include [Enter] (next line, "Enter" touch on keybord) and tables. For example, for a Kamehameha tooltip, i see : "Chargeable beam. [Enter] Cost : 3 Ki bars. [Enter] (doesn't require to be in Max Power Mode, so directly goes in next line WITHOUT gap) Inputs [Enter] [Table 2 rows x 4 columuns ; cell 1x1= PS2 ; cell 1x2= input ; cell 1x3= Wii ; cell 1x4= input ; cell 2x1= Gamecube ; cell 2x2= input ; cell 2x3= Classic ; cell 2x4= input] [Enter] [Table 3 rows x 5 columns ; cell 1x1=empty ; cell 1x2=Base Uncharged ; cell 1x3= Base Charged ; cell 1x4 = Max Uncharged ; cell 1x5= Max Charged; cell 2x1= PS2 ; cell 2x2 to 2x5= values ; cell 3x1= Wii ; cell 3x2 to 3x5= values]

(For curious people, oddly, some moves does different damages following the console. For instance, the Kameha deals more damage in Wii than in PS2. Perhaps it is just the controller or not the console that changes damages value. Majority of the moves deals same damages whatever the console. This will be part of corrections easily "do-able" i'll make when i'll figure out, thanks to templates system.)

Now, the problems.

Tooltips don't "accept" Enter. Text just continues on the same line, Enter acts as a simple Space. "Alt+255" repeatedly can work to simulate Enter, but it is somewhat... don't know how to say. Cheap ?

An equivalent i found, "<@br/>", breaks the whole code. For example, with the code <@span title="Description <@br/> Cost <@br/> Inputs">Kameha, this is displayed :Kameha

I tried to change the syntax, like having a template page without "span code", and use <@span title="{@{template}}">Kameha in the character's page, but i have the same issues than with the "no span code into the character's page and span code in the template page" maneer.

Same goes for tables, it also breaks the code. And for this one, i have absolutely no idea on how to bypass this problem.

Another rather embarassing problem is... i don't know how to create what i call "variable templates". Tutorials i found treats only about editing the infobox template, which is far from what i'm seeking for.

Is it possible ?

This page has an exemple of what kind of tooltip i want : http://allods.wikia.com/wiki/Template:Item. Passing the mouse on the blue text, "Granitic Embrace", display a neat tooltip. It has no tables in it, and i don't know if it has a "line appears if condition is OK, but doesn't appear neither make a blank line if condition is No", but i presume it is possible to include these. If the "line appears or not" isn't possible, a double alignement like "Chest - Clothes (so in my tooltip, left will be for Ki or Blast stock cost, right will be for Max Power Mode required or not).

I naturally tried to open the page's code, but i understood nothing, notably the use of the item template on... item template page ! http://allods.wikia.com/wiki/Template:Item?action=edit (PLEASE DON'T EDIT NOR SAVE ANYTHING).

I searched for codes, but i found stuff like this : http://community.wikia.com/wiki/Forum:Wowwiki_tooltips_code, which is the page where i found link to Allods, but its code doesn't work with me, it simply displays the code as normal text.

I also searched for video tutorials, but the few i found were for editing the standard infobox (i believe i've already said this).

So i'm struck. While writing this brick, i think about another "cheap and desperate solution" : writing and tabling on Word, screencaping, uploading and use images in tooltips !! I don't even know if "tooltip" is the real thing i'm searching since the Allod tooltips are different than standard tooltips we encounter everywhere on the web !

I'll gladly enjoy any informations about my 2 problems (variable templates and tooltips who can support backspace and tables), and thanks one who will have the courage to read and answers me. 