Forum:Interlanguage link display

So um, not that this wiki has a lot of interlanguage counterparts (that I know of; failing to find any else other than the German one), I'd still like it to be prepped should the need surfaces; I thought about asking around first, but after seeing one of the wiki that was using the style I wanted to go for, basically copied their script from somewhere else anyway, I figured it doesn't hurt to see if it could work here as well, and it did; the script is as below:

(not showing the actual image URL as the links are too long)

Bottom
If it's working, then what is the problem?

Here's (the relevant part of) what I wrote on User:MakeShift's Talk page:

"I really like how the interlanguages is displayed on Arrowverse Wiki, but for the life of me I looked through MediaWiki (cuz I was so sure it was done there) and couldn't find how you did it ; I did however manage to locate how it seemingly is done on the Spanish wiki; got to say though, I like the images of flags that are being used on the English wiki, but I like how they display both the flag and the language on the Spanish one (I bet there's people out there like myself who aren't able to immediately recognize flags around the world lmao), so I copied and pasted the code to our MediaWiki:Common.css and replaced the image with the ones used on your wiki; but it's not showing up; is it because the image link has to be from a file from THIS WIKI, or am I missing some steps in between?"

So, it's probably pretty obvious that I eventually DID find how the A&TFW customizes their interlanguage display, however, I do not know what to do after that; also, is there a difference between placing this script on MediaWiki:Common.css and MediaWiki:Wikia.css? Like stated above, when I copied exactly from the Spanish one onto ours (Common.css), it did not work, however, when I copied the English one onto ours (Wikia.css), it did; both scripts honestly look like they originated from the same place, but I still don't know why one has words and one doesn't; I figured it was this part →  that was causing it, and since we only have the German wiki, I changed its to , but still nothing showed up; I doubted   is the cause of it? I have the feeling the last three could be it, but because I don't fully understand its purpose, I didn't dare to remove it for fear of messing up the entire thing:

Let me know if it is!

Text link placement options
Onto slightly different questions but I believe needing to be done onto the same script; do you know if the  is literal? I mean, for the wikis that are displaying both the flag image and language name, the flag technically goes before the text, but I'm guessing that's just for letting the link goes before, therefore including, the image?? Base on this theory, do you know if it's possible to make the link range go "above" and "under"?? Because, I do want to use the bigger flag, but obviously since it's bigger, it takes up more space and I don't think having the text link displaying on its right will look nice, so I imagined having it either on top or below the flag will be suitable.

It leads to the next question; when viewing variations of this customization, I don't think people need to specify what the language is called, like it's default? For example, the German one, prior to changing to flags, was automatically displayed as "Deutsch" and not "German"; do you know if it's possible to have both? Hear me out, this may seems like an ignorant American talking (but the thing is, I'm not even a full-fledged one!), but... Just like the flags, I really don't think EVERYONE will recognize what/how the languages are called/written in their own respective languages. It's worse when one recognize neither the flag nor the language name!

To my understanding, world geography and world history aren't mandatory classes, so I honestly don't have faith in the average people's common sense. Besides, I really don't think it'll hurt to display the language name in its own language and in English. Now, the only reason why the other addition is English, is because this wiki is an English wiki, and judging by the flag counter, English speaking countries are in fact the majority of the viewers, so I don't think it's unreasonable at all, and hope if anyone is reading this, will kindly understand this has nothing to do with politics (= =" IKR? I just want to cover all the possibilities)


 * Option two; if we can't have the language displaying twice (once in its own language, once in English), is it possible to do a hover text change; like how it's done on the Polish wiki's character portal (e.g.: Under the "Arrow" tab, when mouse hover overs to "John Diggle", the text will change to "Spartan")? For example, it can still display as "Deutsch", but when the mouse hovers, it changes to "German"? It's just a thought. -- S a m m m ✦✧ (talk) 18:20, January 28, 2016 (UTC)

Centering
Would still like to know which method you would prefer; the one using "before", or this one, using "background"?

Top
So... Now here's a completely different question but still about interlanguages! This is again found on the Polish wiki of A&TF and the example can be seen right beside the "Talk" button; it's a drop-down selection displaying what other languages this page has; it may seem a bit redundant, since the purpose of the bottom tile is already covering that function; but I do feel like, sometimes, some people just don't scroll all the way down to the bottom, you know? Especially if it's a long page. So yeah, I thought it's pretty neat, and I located it on the wiki's MediaWiki:Common.js this time:

(not showing the actual image URL + the complete links this time + slight reformatting) This is soooooooo out of my comfort zone Dx, and I'm not even sure if this is all it takes to generate the button, but their MediaWiki:Common.js actually really alarms me, because they imported the scripts FIRST THING on that page? I thought dev advices against it? But perhaps those are just for the ones that don't need to be further defined... because there are several separated import articles later on.... Like I really could not figure out if there's anything else I should be copying besides the above. Also, I think one of the weirdest things is that, at the very beginning of the script, for each languages, there's  , I imaging "alt" stands for "alternative"? And what goes in it is what the language is called in English!!! But this is a Polish wiki!!! It kind of makes me wonder if this is also taken from somewhere else, but I don't see any crediting! '''Have you seen anything like this before?? Even if you haven't, based on your knowledge on scripts, do you know if this is all I need to copy in order to make it work?''' -- S a m m m ✦✧ (talk) 02:48, July 10, 2015 (UTC)