Topic on User talk:Ritsu

From Elwiki
MasterKirito (talkcontribs)

Hi again, let's return to this topic. I believe I found a way how to solve this problem. So "Kleines Phantom" to "Kleinen Phantoms". With the #ifeq, but I don't know how to do it. Can you try it maybe? I'm not so experienced. And sry for the too mich edit, I'm trying to experiment

Ritsu (talkcontribs)

I noticed most of the class names only require "s" inserted at the end, and some require a change of the adjective. So what you can do is to export the parameter to a variable and apply a switch statement on it before it reaches the current one. There are actually multiple ways of doing this. For example:

{{#vardefine: name_r | {{{name|}}} }}
{{#vardefine: name_r | {{#switch: {{#var: name__r}} |Kleines Phantom=Kleinen Phantom|before=after|before=after...}} }}

You could also do a replace, if you're sure that it won't break any other class:

{{#vardefine: name_r | {{#replace: {{{name|}}}|Kleines|Kleinen }} }}

And then proceed with this one:

{{#switch: {{{3|}}}|Blank=
|Sword Knight|Magic Knight|Sheath Knight|Sword Taker|Over Taker|Weapon Taker|Fury Guardian|Shooting Guardian|Shelling Guardian|Saber Knight|Pyro Knight|Psychic Tracer|Arc Tracer|Time Tracer|Royal Guard=Der Weg des {{#var: name_r}}s, Teil 1
|High Magician|Dark Magician|Battle Magician|Sniping Ranger|Combat Ranger|Trapping Ranger|Code: Exotic|Code: Architecture|Code: Electra|Bloodia|Valkyrie=Der Weg der {{#var: name_r}}, Teil 1
}}
MasterKirito (talkcontribs)

Thank you, I'll try it:)

MasterKirito (talkcontribs)

I tried it, useless. It makes me frustrate. I don't know what to do. I watched preview for SK and it's all empty. Can you try it pls? I'm tired... Thank you!

Not that I create any more accidents

Ritsu (talkcontribs)

You're calling the template incorrectly. The localization should be called with name=. Also, I've just made it work on the last version I could find working. You can compare the changes and export it to the one that was last working for you, since I'm kinda lost in this page's history.

MasterKirito (talkcontribs)

Yeah, sry for the too much history of mine. And thank you for revising it for me :)! You forgot the "s" at the end, but I'll handle this

MasterKirito (talkcontribs)

To let you know, not all need the "s" at the end. (For example: Jadschützin, Hochmagierin, ...). In this case, it's "Der Weg der ..."

Ritsu (talkcontribs)

Just use different switch fields, based on the {{{name|}}} parameter. You're free to change it from name to just the 4th parameter though, since you stopped using the NA names entirely. This was just an extra parameter for the localization made back when you asked for it.

MasterKirito (talkcontribs)

I've already handled this

MasterKirito (talkcontribs)

Hi, sry for bothering again. This time, it's about the German template of the Infobox character. In the infobox, it bothers me that the "r" at "Eldritsucher-Sammlung" overflows.

Also, can you tell me where or how can I edit the German navigation bar? Because there are still missing infos

Ritsu (talkcontribs)

I fixed the overflow.

For the sidebar, can you send me the data that is missing? That page is protected from normal users.

MasterKirito (talkcontribs)

The characters Laby and Noah are missing and the 4th paths too. Andy Elrianod until Pruinaum Outskirts. The translation: Elrianod -> Elyanod Master Road -> Wege der Meister Pruinaum Outskirts -> Umgebung von Pruinaum

Tirnog will probably come next month to us, so soon

Ritsu (talkcontribs)

I already updated characters. Can you send me a list of towns & dungeons in German, following this template?

MasterKirito (talkcontribs)

Replace Transzendenz with the 3rd Class Changes, everywhere is Transzendenz. The German names of Elrianod and Varni dungeons are already in this page. Look Template:DungeonsDE. And pls remove this 11-1 thing in the bar. Pru and Master Roads, you will get tomorrow

Ritsu (talkcontribs)

The sidebar is correct, it just uses the old template of what we had on the wiki back then. German pages are heavily outdated, so most of them still have a separate page for Transcendence (not imbued into 2nd Job). It makes no sense for me to remove them now, unless you're willing to update all of them.

Replace Transzendenz with the 3rd Class Changes, everywhere is Transzendenz.

3rd Jobs appear when hovering over the 2nd Jobs. This will not change as long as the pages are not updated.

If you wish the sidebar to be updated, please provide the actual markup in wikitext. This is a bunch of extra work to me. You are the one who cares about the German version after all 😅

The source code can be seen here.

MasterKirito (talkcontribs)

Then remove Trans at Mystik-Alchemistin. I'll create the German page soon

Ritsu (talkcontribs)

Done.

MasterKirito (talkcontribs)

Thx! Ah can you help me out with the German pages? I know you don't understand or speak German. That's why I'll do videos of Descriptions, what I upload in Google Drive and link to you, so you just need copy. Would it be ok? The rest what cannot be copied, so is written by self like Tips and Detail etc, I'll translate

Ritsu (talkcontribs)