Page 3 of 7

Re: Wiki translation

Posted: Fri May 31, 2013 12:39 pm
by Touriste
Maybe before the article then, because it messes up with images sometimes (example biomes)
Like the main page

Re: Wiki translation

Posted: Fri May 31, 2013 12:57 pm
by LFist
The language linking on the Main Pages doesn't use templates, but HTML code. It would be to difficult to do it that way.

And I actually can't see a problem with the current templates at all.

Re: Wiki translation

Posted: Fri May 31, 2013 1:08 pm
by Touriste
If it is translated to 7+ languages, the box will just stack and take a lot of space.
It is just an improvement I think, I will try it on one page, and you will see what I want to do.
http://wiki.reusgame.com/index.php?title=Projects
If you don't like it just undo :>

Re: Wiki translation

Posted: Fri May 31, 2013 1:17 pm
by LFist
I will try something...

Re: Wiki translation

Posted: Fri May 31, 2013 2:45 pm
by LFist
I've created a new multilingual template. You only have to integrate it once per page and it can show all supported languages (already created languages).

The template's syntax is very easy:

Code: Select all

{{MultiLangBar|ENGLISH_PAGENAME|GERMAN_PAGENAME|FRENCH_PAGENAME|PORTUGUESE_PAGENAME|SWEDISH_PAGENAME|DUTCH_PAGENAME}}
Examples:
Integration in "Projects" pages. You can use the same bar on every page:

Code: Select all

{{MultiLangBar|Projects|Projects/de|Projects/fr|||Projects/nl}}
This configuration will show English, German, French and Dutch links on top of the page.

The link to the page, which is opened, won't function on the same page but on other pages.

If there are no translated pages you simply write nothing between two ||:

Code: Select all

{{MultiLangBar|House|House/de|||House/se|}}
This example will show English, German and Swedish links. All other links aren't visible but editable.

Re: Wiki translation

Posted: Fri May 31, 2013 2:49 pm
by Touriste
That is really nice ! Can you change the background colour ? It is flashy blue you used ! :D

Re: Wiki translation

Posted: Fri May 31, 2013 2:51 pm
by LFist
changed to non-flashy brown

Re: Wiki translation

Posted: Fri May 31, 2013 2:55 pm
by Touriste
Same as main page colour is possible ?
Please :>

Re: Wiki translation

Posted: Fri May 31, 2013 3:08 pm
by LFist
Done

Re: Wiki translation

Posted: Fri May 31, 2013 3:09 pm
by Touriste
Love you <3