Line 810: Line 810:
 
:Better naow? It should generate a random name if one isn't specified (because AFAIK there's no way to prevent the parameter being there without duplicating code) although I'm not sure how random it actually is. [[User:JBed|JBed]] ([[User talk:JBed|talk]]) 18:46, July 30, 2015 (UTC)
 
:Better naow? It should generate a random name if one isn't specified (because AFAIK there's no way to prevent the parameter being there without duplicating code) although I'm not sure how random it actually is. [[User:JBed|JBed]] ([[User talk:JBed|talk]]) 18:46, July 30, 2015 (UTC)
 
::Yes, I think it will work properly now.—[[User:Kaimi|Kaimi]] <span style="font-size:0.75em">([[Special:Contributions/Kaimi|999,999 CP]]/[[User talk:Kaimi|5 TP]])</span> ∙ 19:00, July 30, 2015 (UTC)
 
::Yes, I think it will work properly now.—[[User:Kaimi|Kaimi]] <span style="font-size:0.75em">([[Special:Contributions/Kaimi|999,999 CP]]/[[User talk:Kaimi|5 TP]])</span> ∙ 19:00, July 30, 2015 (UTC)
  +
  +
== FFIV DS iOS Golbez Portrait ==
  +
  +
We have Golbez' DS portrait, but it was mentioned that you need a cheat device to get it (mentioned in Trivia). HolyDragoon, the user who uploaded the image, seems to be inactive so I can't ask him how he got that cheat - would you happen to have any ideas about it, JBed? {{User:Divinecross/Sig}} 08:11, August 18, 2015 (UTC)
   
 
== FFIV DS iOS Golbez Portrait ==
 
== FFIV DS iOS Golbez Portrait ==

Revision as of 08:11, 18 August 2015

Template:RailModule


Jessie

Thanks for the fix. I just figured since she was in the FF14 storyline, that it would go under story. Anyways, cheers. Ltjuno (talk) 04:09, July 14, 2014 (UTC)

No worries, the added content is valued. :) JBed (talk) 04:13, July 14, 2014 (UTC)

FFVI enemy template

So I think given how far out the boat is from land coupled with the weather outside, me being on IRC at the moment is impractical as I can't maintain a stable connection.

So, regarding the VI Enemy template: I lowercased stuff and changed a couple param names. A few syntax fixes later and I believe it's okay now? Maybe needs some switch statements for names in different versions, and status ailments, but I think it's alright.

Is there anything else I need to do? And as for making into a proper template, I just transclude stats within the tabbers and do so for each version and for about 8 different enemies?--Magicite-ffvi-ios.png Technobliterator TC 22:54, July 26, 2014 (UTC)

""I doubt any boss is immune to Reraise or Haste""
Tell that to FFV, FFVII, FFVIII, and FFIX (that's just what I remember). Enemies in VII even have immunity to Sadness and Fury (only can be inflicted by selecting Tranq/Hyper then getting Confused), and Invincible (not even possible). Enemies in IX can be immune to Trance.
I'll change info in a second. Basically "Other Information" -> "info". And are you sure you know what you have done for Steal? "item dropped" -> "drop". I would also look into what "Weak" et al really means for elements so you can switch them to %values. JBed (talk) 23:08, July 26, 2014 (UTC)
I also prefer default values. So if there are no other abilities "None" will be displayed even when the parameter is not included. Enemies can be immune to Sketch and Control so their values can be in with the statuses. JBed (talk) 23:13, July 26, 2014 (UTC)
...Well damn, you're right, I was too quick to make that judgement. Kefka is immune to Haste (wat). Sap, Protect, Shell, Reflect, Magitek, Critical and Doom, too. I'll get on that shortly.
About Steal, I copied it straight from IX's (I think I mentioned in the <!---->'s?), so on the basis of "it works just like IX's", I guess I know what I did. That said, it could change. Originally it was Common and Rare Steal in two separate parameters. So...I should probably change that. Percentage values for elements?
Default values sound okay to me. I can add those.Magicite-ffvi-ios.png Technobliterator TC 23:22, July 26, 2014 (UTC)
"Percentage values for elements?"
Like how VII does it. And probably IX... oh, no, apparently not (I'll fix that). Fortunately that's simple enough to add in.
So VII takes different options, like "Weak", and "Absorb". Weak means "150%" damage, and Absorb means "-100%" damage. So this is done in a switch statement. JBed (talk) 23:31, July 26, 2014 (UTC)
Oh, apparently I haven't done %s for a lot of them. Eh, well. It can be added at any point in time, so long as they keywords we use in infoboxes are consistent. JBed (talk) 23:40, July 26, 2014 (UTC)

Missing lots of immunities, currently working on this and will add them. Will still need a "Info" section for stuff like harder to run from, etc. Fenrir9 (talk) 23:53, July 26, 2014 (UTC)

Elements, sorted. Stolen, of course, from VII. I also checked VI's elements page to make sure, and fortunately for me it was all pretty much the same stuff.
Quick question: would using the element images from VI mobile (assuming those images can be got?) be a good idea, like how VIII's infobox does it? I have noticed a few on VI's element page, but they're older versions, so they're lower resolution.
Checked steals on some pages. Apparently there's either a Rare Steal or a Common Steal for each enemy. I think I should just revert to how the template originally did it...?
To Fenrir: don't we already have an Info section? But adding immunities is very much appreciated.--Magicite-ffvi-ios.png Technobliterator TC 23:57, July 26, 2014 (UTC)
Info is an optional parameter. if there's nothing to say it doesn't display. JBed (talk) 00:01, July 27, 2014 (UTC)

Missing immunity added, yeah all enemies have miscellaneous information if my memory serves me right. I believe we were suppose to use icons for the elements. Well, I remember a discussion a long time ago about it. It was related to FFIV icon to use on the FFIV enemy articles. Nothing was done. If we can get some icons, go for it. Fenrir9 (talk) 00:05, July 27, 2014 (UTC)

Hmm, should we change "Status immunity" to simply "Immunity" and add Libra, Meteor Strike, Sketch, and Control into that section? Fenrir9 (talk) 00:13, July 27, 2014 (UTC)
That might make more sense. I often add those things without changing the title. Instant Death itself isn't a status and that appear on them all. "Immunity" is probably a better title though. JBed (talk) 00:15, July 27, 2014 (UTC)

Ah. I just realised none of the updated enemy infoboxes have multiple versions. So I have to make tabs for multiple versions. Urm, is it:

|{{#if:{{{tab 2|{{{2 bestiary|}}}}}}|<div class="tabber" title="battle" ><div class="tabbertab" title="{{{tab 1|#{{padleft:{{{1 bestiary|{{{bestiary}}}}}}|3}}}}}">|}}

first, and below that

|-
|{{#if:{{{SNES|}}}|<div class="tabber" title="battle" ><div class="tabbertab" title="SNES">|}}

?--Magicite-ffvi-ios.png Technobliterator TC 12:01, July 27, 2014 (UTC)

[1] JBed (talk) 20:11, July 27, 2014 (UTC)
Although bestiary would also be factored in. JBed (talk) 20:13, July 27, 2014 (UTC)
Fractional Damage is covered in the Instant Death area, the game treats all fractional damage type attacks as instant death. If we plan on keeping it there, it should be renamed into something else, because Gravity really doesn't fit the description. Maybe simply go with Fractional. Fenrir9 (talk) 23:19, July 27, 2014 (UTC)
Yeah, I know, but I don't think only including a box titled "Death" is clear enough to the user that it includes fractional damage-type attacks. So if you type "Death = Immune" on an enemy's infobox, it will set both Death and Gravity to immune. There isn't a parameter for Gravity, it just matches the value displayed by Death.
"Fractional" would work. JBed (talk) 23:23, July 27, 2014 (UTC)

New idea: while converting the infoboxes, I noticed a lot of them have "Automatically Critical Hit if Imp". Create a "critical if imp = true" parameter?--Magicite-ffvi-ios.png Technobliterator TC 15:26, August 12, 2014 (UTC)

There is. JBed (talk) 18:12, August 12, 2014 (UTC)

ultimania's

I could maybe assist in their creation then sense i own them all. Munchvtec (talk) 20:57, August 7, 2014 (UTC)

i recently bought them all and i added aton to the ff 12 battle ultimania page. Munchvtec (talk) 04:27, August 8, 2014 (UTC)

FFV and Dimensions IOS sprites

Has someone managed to rip the sprites from those game yet? --Pmbarbieri (talk) 09:59, August 19, 2014 (UTC)

The .BIN files in the iOS version don't compress or encrypt any data. I checked to see if they used PNGs, and they did so I wrote a script that extracted them.
However most of the images don't come out as you would expect. It's not a problem with extraction, the PNG images are in a way compressed, or not saved to look like images. They undergo a process by the engine.
A way to describe it is the palette information, and three instances of the image in different channels are shown. Except the images appear at half the size (or quarter, half each dimension). The entire thing appears monochromatic, but zoom in and you will see it certainly is not.
http://i829.photobucket.com/albums/zz212/JBedford128/frazzle.png
I don't understand how it works, nor can I think of a way to input it into search terms to see if this structure has been used before.
The PNGs I uploaded that looked fine are exceptions. Only one character spritesheet from FFD and one enemy from FFV appeared that way. JBed (talk) 17:24, August 19, 2014 (UTC)

My goodness, why did they make such a mess? Too bad I'm a complete incompetent when it comes to codes and stuff, because I'd really like to help -_-. By the way, did you manage to see what was wrong with this wiki's navboxes when applied to mine? Because I still can't come up with any ideas on how to improve them... --Pmbarbieri (talk) 17:34, August 19, 2014 (UTC)

Monster Arena enemies

So I noticed that all the Monster Arena enemies have a Doom Count of 200 and a Zanmato level of 5. However, when editing them, the Zanmato was always listed as 4. Not sure if we should have it automatically set Doom Count of 200 or Zanmato or 5 based on whether its "monster arena" param is filled with "Species Conquest", "Area Conquest" or "Original", but more importantly, Zanmato level of 4 does not exist in the NA version on PS2? I was thinking we could use a foot template to say "level 4 in NSTC", but then that might screw with enemies like Penance which only appear in Int versions. Thoughts?--Magicite-ffvi-ios.png Technobliterator TC 16:32, August 26, 2014 (UTC)

Species Conquest and Area Conquest enemies have a doom count of 200 and zanmato of 4, Original have a doom count of 255 and Zanmato of 5-- that's what Piggyback said IIRC. But no, no real point having it done automatically. Status resistances are assigned per enemy in game, they just happened to make them common amongst similar enemies.
We don't seem to have a place where Zanmato mechanics are discussed. JBed (talk) 17:32, August 26, 2014 (UTC)
Oh, Piggyback is wrong. They are all Lv5. JBed (talk) 17:35, August 26, 2014 (UTC)

NEroNeRoNerON's debug room video

So, the video that Cat linked to last night from the Twitch stream by the guy whose username you couldn't remember...I've just watched through it and it seems to be an extended Yuffie Warping Glitch, using one file where Yuffie hasn't been obtained and another file with a game over against a boss, but with different results. Do you suggest we use this additional content in the existing article? Tia-LewiseRydia - Young battle.png 10:01, September 1, 2014 (UTC)

Yes, he even described it in the twitch chat as a yuffie warping glitch. C A T U S E 16:40, September 1, 2014 (UTC)
Yes, it is a Yuffie Warping glitch. But it's an extended version that makes use of the fact that the previous battle ID and previous field ID are stored in the same variable and that being in the No Battle Results screen mode helps warp to it apparently. It's quite strange and amazing. JBed (talk) 21:08, September 1, 2014 (UTC)

FFIV Enemy infobox enemy types

The code that I think works for enemy types is:

{{#replace:{{#replace:Takes 4× damage from{{#replace:,{{#if:{{{dragon|}}}|Dragon weapons, <nowiki/>}}{{#if:{{{machine|}}}|Hammers weapons, <nowiki/>}}{{#if:{{{reptile|}}}|[[List of Final Fantasy IV Weapons#Ice Rod|Ice Rod]], <nowiki/>}}{{#if:{{{spirit|}}}|Silver and Mythril weapons, <nowiki/>}}{{#if:{{{giant|}}}{{{slime|}}}|Drain weapons, <nowiki/>}}{{#if:{{{giant|}}}|Charm weapons, <nowiki/>}}{{#if:{{{mage|}}}|Silence-related weapons, <nowiki/>}}{{#if:{{{undead|}}}|Crystal and Paladin weapons, <nowiki/>}} weapons@|, @|}}{{#replace:deals 1/4 damage to,{{#if:{{{dragon|}}}|Dragon armor, <nowiki/>}}{{#if:{{{reptile|}}}|[[List of Final Fantasy IV Armor#Ice Shield|Ice Shield]], <nowiki/>}}{{#if:{{{spirit|}}}|Silver and White armor, <nowiki/>}}{{#if:{{{mage|}}}|[[List of Final Fantasy IV Armor#Aegis Shield|Aegis Shield]], [[List of Final Fantasy IV Armor#Ribbon|Ribbon]], [[List of Final Fantasy IV Armor#Rune Glove|Rune Glove]], <nowiki/>}}{{#if:{{{undead|}}}|Crystal and Paladin armor, <nowiki/>}}|@|}}

But I'm not well versed in StringFunctions so I'm not confident it's correct, or as efficient as it could be.--Magicite-ffvi-ios.png Technobliterator TC 21:19, September 11, 2014 (UTC)

Need yer input

ACRudeBox.PNG
ACRudeBox.PNG
ACRudeBox.PNG
ACRudeBox.PNG

Navbox module

There's an error with one of the lines that contains ":cssText", left after my simplifying by removing ifnotblanks, and I couldn't work out what it was, could you find it?--Magicite-ffvi-ios.png Technobliterator TC 12:11, September 30, 2014 (UTC)

Well, I fixed that, sorta. cssText doesn't like emptystring, because css should never be true or false. New problem, which we didn't notice before, I just tested and tnav doesn't seem t be working. Other than that, there are some other cases I still use ffwiki.ifnotblank because I wasn't sure of the alternative with ffwiki.emptystring. It seems to be coming along otherwise, though.--Magicite-ffvi-ios.png Technobliterator TC 15:11, September 30, 2014 (UTC)

"cssText doesn't like emptystring, because css should never be true or false"
emptystring has nothing to do with boolean values.
an ifnotblank(f[x]) is equivalent to (f[x] ~= "" and f[x] ~= nil). With emptystring enacted, all ""s are now nils. So there are ways you can do it. (f[x]~=nil) is an exact equivalent, and (f[x]) can be used on most occasions because it is effectively the same as (f[x] ~= nil and f[x] ~= false). JBed (talk) 15:55, September 30, 2014 (UTC)

Module-generated HTML ignores stylesheets?

I opened Chrome's element viewer, trying to see the differences between the Talk template and Talk module. The biggest one I discovered was that the module version blatantly ignores the classes I define in User:Catuse167/common.css, even when I give them !important. They don't get overridden by anything, they just ... aren't there at all. When I use the element viewer to add the styles to the elements, the module works almost perfectly. So why are CSS classes being ignored? C A T U S E 16:20, October 2, 2014 (UTC)

That doesn't make sense. JBed (talk) 16:25, October 2, 2014 (UTC)

So here's an oddity

Nothing remotely important, so I won't blame you if you don't feel like looking at it, but there's something distinctly weird going on with my Curtain Call stats table template. If you look at my own transclusion of it, you'll see an expression error is occurring in the DLC percentage calculation. But here's the thing: the DLC one is coded in exactly the same way as the main one. My first thought was maybe I was hitting some parsing limit or another, but that doesn't seem to be the case – if that were the case, swapping the two exprs over should have fixed the DLC one but broken the main one, which doesn't happen; the DLC one remains the broken one.

Thought you might perhaps find it mildly intriguing, so I figured there's no harm asking. Quickest way to find the DLC expr code in edit view on the template is just to Ctrl-F "DLC completion". Save scrolling through the pre code -- Sorceror Nobody Flan.PNG 22:00, October 20, 2014 (UTC)

The syntax {{{A|0}}} will only return 0 if A doesn't exist at all. If A = "" then "" will be the output. So your code essentially had a lot of +++s in a row. Expr doesn't care about that, "0++0" is seen as "0+0". The problem is if the last parameter doesn't exist, then it's "0+" nothing. It expects something to add but there is nothing to add.
So the fix is to +0 at the end. JBed (talk) 22:28, October 20, 2014 (UTC)
So basically it's because I haven't yet played the Ultimate Score of the last track in the DLC list. Only the fact that I leapt straight on all three difficulties for the Series tracks ensured that the final parameter existed in the main one. Go figure. I'd considered that it could be due to params parsing to nothing, but of course I mistakenly concluded it wasn't something that obvious, thanks to that detail slipping past me due to me not having played that many Ultimates so far.
Anyway, thanks! -- Sorceror Nobody Flan.PNG 19:40, October 21, 2014 (UTC)

Need Input

ACRudeBox.PNG

Must Watch Videos module

Hello! I'm a visitor from a different wiki, when I noticed how nice and compact your "must watch videos" module is. Would you mind telling me how I can do the same to a wiki I'm an admin on? {{SUBST:User:YazzyDream/Sig|02:12,11/5/2014}} 02:12, November 5, 2014 (UTC)

Subgroup situation

This is the progress so far, I made it kind of sloppily, but I'll just paste this so you know where I am with it, also it doesn't currently work (although I didn't have "save with errors" checked on my most recent edits). I'm missing something to do with a "? somewhere...--Magicite-ffvi-ios.png Technobliterator TC 11:07, November 12, 2014 (UTC)

Update: I figured it out! :D Well, sorta. So, basically my problem was because a while ago I set it so it will break only if no "contentA1" is entered and ignore "groupA1". Since obviously we will use groupA1 and not contentA1 with subgroups now, it doesn't need to work like that anymore. Script error came up, but I think I can fix it when I get home.--Magicite-ffvi-ios.png Technobliterator TC 14:04, November 14, 2014 (UTC)
Shouldn't it just be if either "contentA1" or "contentA1a" exists? JBed (talk) 14:08, November 14, 2014 (UTC)
Possibly. However, I can't think of a situation where we would use contentA1a without at least using a groupA1. Without subgroups, maybe, but there is no reason to use subcontents otherwise. The main reason was that the "a" on the end didn't exist in that context, and no use making it exist in that context if it was for no reason. Maybe later?--Magicite-ffvi-ios.png Technobliterator TC 15:24, November 14, 2014 (UTC)
"doesn't exist in that context" huh? What does that even mean? Where do you think the "1" comes from? JBed (talk) 17:09, November 14, 2014 (UTC)
A1 exists in the context, A1a does not. I know it would have been easy to make that additional A1a appear in context, but I figured if there was no point, because as I said there is no reason to ever use contentA1a unless you have at least groupA1, then it was pointless.--Magicite-ffvi-ios.png Technobliterator TC 17:19, November 14, 2014 (UTC)

Okay, so me and Cat have gone through Navbox/test. But on my sandbox, it's still not accepting/processing any of the stuff in subgroups. The contents in B2a and onward are completely discarded, and subgroupB2a seems to be overtaking groupB2. Neither of us can find the issue. I've tried and tried to troubleshoot this like I have every time before, but this time I'm completely stumped, so I have no choice. Can you please take a look at it? If you can't, then I may have to cancel the whole subgroup thing completely, it would be incredibly useful for reducing loading times and removing reliance on nested navboxes but I just can't figure out this fucking issue that's stopping me, and I've tried, I really have. :/--Magicite-ffvi-ios.png Technobliterator TC 10:33, November 19, 2014 (UTC)

I've been thinking about it, and I'm tempted to overhaul the system entirely.
So "blockA" becomes "headerA", "groupA1" becomes "headerA1", and "subgroupA1a" becomes "headerA1A". "contentA". Additionally, "titleA", "titleA1", and "titleA1A" will be valid and be the overhead titles. "contentA" would be valid, but pairing one content to a level1 section seems unnecessary. "contentA1"
No more blocks and groups and subgroups; everything is a block, or a block within a block, or a block within a block within a block.
But wait, there's more: "headerA1A1" would be valid, and "headerA1A1A" would be, as would anything up into infinity. No, we're unlikely to need anything more deep than A1A, but INFINITY!
This will also make the terminology annoy me less. The nest level can be interpreted from the amount of letters/numbers following.
Or alternatively I can just add subgroups like you want me to. Boring. JBed (talk) 13:44, November 19, 2014 (UTC)
That...actually sounds incredibly interesting. coughbecauseitcanbeusedforinfoboxescough. Actually, aside from that, it'd probably solve all the terminology problems we've ever had, and it would mean we can remove nestedplain entirely. We already would've been able to, but still. I actually really like the sound of that. 0.0
I would definitely say that is a great idea, but it would require even more Navbox rewriting than currently exists. What I'd say would be; add subgroups like they currently are to the main Navbox template, then work on the infinity idea in Module:Navbox/test. We can then make Template:Navbox/test, which would contain the includeonly and onlyinclude around Navbox/test once your idea works, then I'd re-metatemplate the Navboxes and, once nothing links to the normal Navbox, make Navbox onlyinclude and includeonly the new one and rewrite the doc (so we wouldn't lose page history).
That sound good?--Magicite-ffvi-ios.png Technobliterator TC 13:52, November 19, 2014 (UTC)

Willing to help on major project?

ACRudeBox.PNG

Minor help with JS

On another Wiki we have the Comments feature enabled, but this removes the Talk button in the header. With some struggles (I really don't know JS), I came up with this code to re-add it:

$(function(){
 
var tpbox = document.createElement("span");
tpbox.setAttribute("class", "commentsbubble");
tpbox.innerHTML = "0";
 
var tpbutton = document.createElement("a");
tpbutton.setAttribute("accesskey", "t");
tpbutton.setAttribute("href", wgServer + "/wiki/Talk:" + wgPageName);
tpbutton.setAttribute("class", "wikia-button comments secondary talk");
tpbutton.setAttribute("rel", "nofollow");
tpbutton.setAttribute("data-id", "comment");
tpbutton.innerHTML = "Talk";
 
tpbutton.appendChild(tpbox);

/*Query to get up to 500 revisions of current page's talk page in next namespace ID*/
var url = wgServer + wgScriptPath + '/api.php?action=query&prop=revisions&rvlimit=500&titles=' + encodeURIComponent(wgFormattedNamespaces[wgNamespaceNumber + 1] + ":" + wgTitle) + '&format=json';
/*AJAX function to get number of revisions returned and add to tpbox*/
var ajax = $.getJSON(url, function (data) {
  var number = data.query.pages;
  if(!number[-1]) {/*if talk page exists*/
    number = number[Object.keys(number)[0]].revisions.length;
    if(number == 500) number = "500+";
    tpbox.innerHTML = number;
  }
  $(tpbutton).insertAfter(".comments");
});
});

Only problem is the "bubble" containing the number of edits made contains a static "0", because I have no idea how to fetch that info. I assume it's stored in some variable, but which one? (It also doesn't check the page for namespace, but that might not be a problem since it only appears if there's already a "Comments" bubble present)

Do you think you could help me out? http://i1017.photobucket.com/albums/af293/DilsDileva/GoldEggCenturion.png DilsDileva 11:52,3/3/2015

Not an expert in AJAX or API, so this won't be a perfect solution (actually, it's pretty terrible, isn't there an API query that can get the number of revisions the page has?)
Modified the above code, fingers-crossed that works. 195.195.234.235 13:01, March 3, 2015 (UTC)
Shiit. Needs some more debugging and error-checking. I'm at college right now so I'll work on it when I get back. 195.195.234.235 13:05, March 3, 2015 (UTC)
Okay, there. This will (should) now work for every mainspace page. If you want me to get it working for other namespaces just yell. 195.195.234.235 13:12, March 3, 2015 (UTC)
Seems to be working perfectly, thanks a bunch! :D If it's not too much of a pain I'd love some help with the namespace thing, since it does seem to appear on namespaces that still use the regular Talk button (such as the MediaWiki namespace itself) :I http://i1017.photobucket.com/albums/af293/DilsDileva/GoldEggCenturion.png DilsDileva 18:37,3/5/2015

Okay, so this code:

$(function(){

var whitelistnamespaces = [""];
if(whitelistnamespaces.indexOf(wgCanonicalNamespace)==-1) return;

var talkpagename = wgFormattedNamespaces[wgNamespaceNumber + 1] + ":" + wgTitle;

var tpbox = document.createElement("span");
tpbox.setAttribute("class", "commentsbubble");
tpbox.innerHTML = "0";
 
var tpbutton = document.createElement("a");
tpbutton.setAttribute("accesskey", "t");
tpbutton.setAttribute("href", wgServer + "/wiki/" + talkpagename);
tpbutton.setAttribute("class", "wikia-button comments secondary talk");
tpbutton.setAttribute("rel", "nofollow");
tpbutton.setAttribute("data-id", "comment");
tpbutton.innerHTML = "Talk";
 
tpbutton.appendChild(tpbox);

/*Query to get up to 500 revisions of current page's talk page in next namespace ID*/
var url = wgServer + wgScriptPath + '/api.php?action=query&prop=revisions&rvlimit=500&titles=' + encodeURIComponent(talkpagename) + '&format=json';
/*AJAX function to get number of revisions returned and add to tpbox*/
var ajax = $.getJSON(url, function (data) {
  var number = data.query.pages;
  if(!number[-1]) {/*if talk page exists*/
    number = number[Object.keys(number)[0]].revisions.length;
    if(number == 500) number = "500+";
    tpbox.innerHTML = number;
  }
  $(tpbutton).insertAfter(".comments");
});
});

Note the line that says "var whitelistnamespaces = [""];" -- that means "only run this script mainspace". "" is mainspace because it doesn't have a prefix so it's just an empty string.

If you were to want to run it elsewhere you could do "var whitelistnamespaces = ["", "File", "User"];". It's an array of all the namespaces to run the script in. JBed (talk) 19:11, March 5, 2015 (UTC)

Thanks a ton for all your help! http://i1017.photobucket.com/albums/af293/DilsDileva/GoldEggCenturion.png DilsDileva 14:03,3/8/2015

Pictlogica stuff

ACRudeBox.PNG

If I find the time. Most of the work I'm doing on the wiki right now is procrastination work, I don't technically have the time to be editing the wiki but I end up here anyway. :p JBed (talk) 00:21, March 19, 2015 (UTC)

ACRudeBox.PNG

It's a big "it depends" here.

Parents are comprised of things that are the same thing. And the easiest way to tell if two things are the same is if they have the same name, especially in the Japanese because that retains author intentions, where that kind of thing gets lost in translations.

But it's not the only reason to have two things on the same page. And having the same Japanese name also isn't reason alone for things to share a page.

With the case of Beam, the connections between each iteration is so weak that all the article can genuinely aim to cover are attacks that are beams. Tactics is definitely the odd one out. Don't know why they translated it as Beam.

"Beam (Ability)" wouldn't be the page name were it to be moved. The tag would have to incorporate something unique to what the page is about. But as I say, the connection is so weak it doesn't even have one! If you go solely by the Japanese name, the best name would end up being "Beam (ビーム)", which is definitely something we've never done. If you give it a more specific focus and make it about the Machine instances only, the page would end up as "Beam (Machine Ability)" or something like that. JBed (talk) 06:18, March 22, 2015 (UTC)

ACRudeBox.PNG


RE: Sprites

ACRudeBox.PNG

I am in the process of trying to identify the FFD enemies. Which is hard-- the FFD enemy articles don't have related enemies sections, so I literally have to identify each sprite from its placement on the List of FFD Enemies article. I'll make the job sprites my next project.

For FFVI, I don't have the files but I assumed we had everything already. JBed (talk) 03:27, April 1, 2015 (UTC)

We lack weapon and armor sprites for FFVI but that's it.--Magicite-ffvi-ios.png Technobliterator TC 10:35, April 1, 2015 (UTC)

That Dimensions Goblin you uploaded doesn't seem any different from February 20th, 2013 upload: I can still see that it was cut out from a creenshot (green outlines from grass). Maybe uploading under a new name would be better, even though it means that a lot of images would be deleted.—Kaimi (999,999 CP/5 TP) ∙ 12:10, April 1, 2015 (UTC)

Everyone knows cache sucks. I have it on my computer so I can fix it later. I was considering reuploading them all at new names but that will end up being more work. JBed (talk) 16:41, April 1, 2015 (UTC)

Resolution

I am sure you dislike me and having frequent clashes eith me that go nowhere, as I am and as the rest of the wiki sre, which is why I am here today: to see if we can get over them. I will begin by admitting I have bad many issues with your character in the past, due to making many remarks which attack the person and seem directed at me, or directed at someone else, and many comments which appear to seek to prove the other person is inferior, an attitude detrimental to any sense of community. I will proceed to admit I am likely a huge source of frustration, being stubborn and defensive in response, and how often I need to be reminded of mistakes, reminders which I often respond to with more defensiveness. This ultimately has culminated into frequent arguments that lead nowhere, have put me off making many changes due to an impossible way to have a fruitful discussion.

Looking forward, whenever you point out to me when I am no longer acting rational, I will ammend it immediately. I seek to simply respond better and back out of a discussion that no longer will be fruitful and seek input of others on such topics. In return, I do not ask anything of you unless you have suggestions for me, other than simply to make less comments aimed towards the character of the one making a point when I do not do this to you. I hope we can reach an agreement, if not for ourselves, but only for the good of this website and the people on it who are tired of our pointless bickering on and off the wiki.--Magicite-ffvi-ios.png Technobliterator TC 03:15, April 19, 2015 (UTC)

I've edited this response a few times thinking about what words I think I need to say and what might be helpful. I'll stick with: I do those things huh? Because I know I don't write my words with any intention to make others feel inferior. And I think you'd be hard-pressed to find anywhere on wiki where I attack a person's character any time recently. I'm sure I've gotten frustrated enough with your defensive-arguing on IRC to respond to that rather than your words. There's only so long I can listen to someone argue that having a target-all attack is pointless. :p
So when we are having these arguments that go off trail and become heated I should pause and point this out before continuing? The problem with that is sometimes I don't realise the person I'm arguing with is mad when I'm not. And also some of our arguments continue normally because when you do your defensive-arguing you make points that still take some thought to come up with, I just don't think you'd be agreeing with them if you weren't dong it for the argument.
But I can try. JBed (talk) 04:15, April 19, 2015 (UTC)
Though I have found some comments to be spiteful rather than helpful, I am aware you have the wiki in mind, and not the ego or character of either involved party. I would say, when you get the feeling of "would you be saying this if you weren't just being defensive", you can confront me instead. I may just not be giving it away.
Thank you for being respectful about this, it is only right I also do the same. Though I have had the issues I outlined above, I hold no grudges or personal feelings beyond that. I am glad we could reach an agreement. :)--Magicite-ffvi-ios.png Technobliterator TC 04:39, April 19, 2015 (UTC)

Various New Pages====Various New Pages

ACRudeBox.PNG

JavaScript Continued

We might want to continue this here so we don't disturb Technobliterator. Anyway, I've replaced the five lines as you asked. Anything else that needs to be done? Chimera-gui (talk) 14:55, April 25, 2015 (UTC)

Oh, you misunderstood my instruction. Revert the last edit then:
var article = document.getElementById("WikiaArticle");
  divs = article.getElementsByTagName("div");
  if (article) {
if (article) window.addEventListener("hashchange", function () {
  var search = article;
var articleElement = document.getElementById("WikiaArticle");
  divs = articleElement.getElementsByTagName("div");
  if (articleElement) {
if (articleElement) window.addEventListener("hashchange", function () {
  var search = articleElement;
For each of the lines (that were in the JS) on the left, replace them wit the the lines on the right. JBed (talk) 19:03, April 25, 2015 (UTC)
Okay, I fixed my mistake. What's next? Chimera-gui (talk) 21:03, April 25, 2015 (UTC)
Change these lines:
  /* First get an array of all DIV elements and loop through them */
  divs = article.getElementsByTagName("div");
to:
  /* First get an array of all DIV elements and loop through them */
  divs = articleElement.getElementsByTagName("div");
JBed (talk) 21:09, April 25, 2015 (UTC)
Alright, now what? Chimera-gui (talk) 21:13, April 25, 2015 (UTC)
Now, in your CSS add:
/* ################################################## */
/* ### TABBERS                                    ### */
/* ################################################## */
/*Copied from http://www.barelyfitz.com/projects/tabber/example.css used under mit license
see http://www.barelyfitz.com/projects/tabber/
*/
/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */

/*--------------------------------------------------
  REQUIRED to hide the non-active tab content.
  But do not hide them in the print stylesheet!
  --------------------------------------------------*/
.tabberlive .tabbertabhide {
 display:none;
}

/*--------------------------------------------------
  .tabber = before the tabber interface is set up
  .tabberlive = after the tabber interface is set up
  --------------------------------------------------*/
.tabber {
}
.tabberlive {
 margin-top:1em;
}

/*--------------------------------------------------
  ul.tabbernav = the tab navigation list
  li.tabberactive = the active tab
  --------------------------------------------------*/
ul.tabbernav
{
 margin:0;
 padding: 3px 0;
 border-bottom: 1px solid #AAA;
 font: bold 12px Verdana, sans-serif;
}

ul.tabbernav li
{
 list-style: none;
 margin: 0;
 display: inline-block;
}

ul.tabbernav li a
{
 padding: 3px 0.5em;
 margin-left: 3px;
 border: 1px solid #ccc;
 border-bottom: none;
 background: #f2f7ff;
 text-decoration: none;
}

ul.tabbernav li a:link { color: #448; }
ul.tabbernav li a:visited { color: #667; }

ul.tabbernav li a:hover
{
 color: #000;
 background: #fff9f2;
 border-color: #CCC;
}

ul.tabbernav li.tabberactive a
{
 background-color: #fff;
 border-bottom: 1px solid #fff;
}

ul.tabbernav li.tabberactive a:hover
{
 color: #000;
 background: white;
 border-bottom: 1px solid white;
}

/*--------------------------------------------------
  .tabbertab = the tab content
  Add style only after the tabber interface is set up (.tabberlive)
  --------------------------------------------------*/
.tabberlive .tabbertab {
 padding:5px;
 border:1px solid #AAA;
 border-top:0;

 /* If you don't want the tab size changing whenever a tab is changed
    you can set a fixed height */

 /* height:200px; */

 /* If you set a fix height set overflow to auto and you will get a
    scrollbar when necessary */

 /* overflow:auto; */
}

/* If desired, hide the heading since a heading is provided by the tab */
.tabberlive .tabbertab h2 {
 display:none;
}
.tabberlive .tabbertab h3 {
 display:none;
}
JBed (talk) 21:17, April 25, 2015 (UTC)
Wikia.css? Chimera-gui (talk) 21:24, April 25, 2015 (UTC)
Yep. JBed (talk) 21:25, April 25, 2015 (UTC)
Okay, thank you for all your help.

By the way, KrytenKoro from the Digimon wiki is also interested in using the tabber. Here is the forum the idea's being discussed on:Forum:Tabberlink Chimera-gui (talk) 21:45, April 25, 2015 (UTC)

Hidden Structure in Character Infoboxes

Hello! I'm trying to add the Template:FFX Character on the Brazilian FF Wiki but the hiddenStructure isn't hidden by default. I'd like to know if you could teach me how to do it. The template looks like this right now.
Sorry for the sudden request, but I hope you can help me!
Axcelaw (talk) 09:57, July 15, 2015 (UTC)

I'm surprised our infobox does that because hiddenStructure isn't the best practise for a number of reasons, but I guess I haven't worked on character infoboxes. It is also the easiest way to get the result.
In our CSS we have the line ".hiddenStructure { display: none; }". The monobook skin actually has this by default which you will notice if you look at this.
So the quick fix is to add that line to your CSS. The better way of handling these fields is instead like this:
|-
{{#if:{{{ultimatedress|}}}|
{{!}}class="X2a"{{!}}'''Dressphere Suprema'''
{{!}}class="X2b"{{!}}{{{ultimatedress}}}
}}
The row's cells are contained in an {{#if}}, and the | (pipe) characters inside the {{#if}} are replaced with {{!}}s. JBed (talk) 18:08, July 15, 2015 (UTC)
I added the hiddenStructure class and now it's working perfectly! I opted for the easiest solution over the other because I'm still learning web programming, hehe.
Thanks for your help! :D
Axcelaw (talk) 20:45, July 16, 2015 (UTC)

Enemy Template

ACRudeBox.PNG

FFWWW Character Images

ACRudeBox.PNG

Template:Refwebsite

What's with the "name" parameter? I updated the source to the template (which in theory we should do with all our website references but that's a LOT of work) and added the parameter "name" but it seems to not work? Could you please investigate that? I'd rather not copy-paste the same source on the single page for several times just because our template is faulty.—Kaimi (999,999 CP/5 TP) ∙ 15:48, July 30, 2015 (UTC)

Better naow? It should generate a random name if one isn't specified (because AFAIK there's no way to prevent the parameter being there without duplicating code) although I'm not sure how random it actually is. JBed (talk) 18:46, July 30, 2015 (UTC)
Yes, I think it will work properly now.—Kaimi (999,999 CP/5 TP) ∙ 19:00, July 30, 2015 (UTC)

FFIV DS iOS Golbez Portrait

We have Golbez' DS portrait, but it was mentioned that you need a cheat device to get it (mentioned in Trivia). HolyDragoon, the user who uploaded the image, seems to be inactive so I can't ask him how he got that cheat - would you happen to have any ideas about it, JBed? s̅̅s̅̅o̅̅r̅̅c̅̅̅̅e̅̅n̅̅i̅̅v̅̅i̅̅d̅̅ 08:11, August 18, 2015 (UTC)

FFIV DS iOS Golbez Portrait

We have Golbez' DS portrait, but it was mentioned that you need a cheat device to get it (mentioned in Trivia). HolyDragoon, the user who uploaded the image, seems to be inactive so I can't ask him how he got that cheat - would you happen to have any ideas about it, JBed? s̅̅s̅̅o̅̅r̅̅c̅̅̅̅e̅̅n̅̅i̅̅v̅̅i̅̅d̅̅ 08:11, August 18, 2015 (UTC)

Community content is available under CC-BY-SA unless otherwise noted.