User talk:Walkazo/Archive 13: Difference between revisions

→‎Interwiki: new section
(mata raishuu)
(→‎Interwiki: new section)
Line 140: Line 140:
I was thinking that it might be more consistent that if a proposal was withdrawn or deleted by the proposer then in the archives it should be coloured grey instead of pink as the colour of the font used is grey. {{User|Yoshi876}}
I was thinking that it might be more consistent that if a proposal was withdrawn or deleted by the proposer then in the archives it should be coloured grey instead of pink as the colour of the font used is grey. {{User|Yoshi876}}
:Grey is for proposals that are passed but not enacted yet. It sets them apart from the colourful proposals that ''don't'' need attending to, and lets anyone browsing the archives know that there are still tasks that need doing. - [[User:Walkazo|Walkazo]] 15:26, 28 June 2013 (EDT)
:Grey is for proposals that are passed but not enacted yet. It sets them apart from the colourful proposals that ''don't'' need attending to, and lets anyone browsing the archives know that there are still tasks that need doing. - [[User:Walkazo|Walkazo]] 15:26, 28 June 2013 (EDT)
== Interwiki ==
Hello Walkazo. I would like to simplify the interwiki partnership of the three Mario Wikis. Could you add the following to the template [[Template:Foreignname|Foreignname]]:
<nowiki>{{#ifeq: {{{ItA}}} | - | | {{#if: {{{It|}}} | [[it:{{{ItA|{{{It}}}}}}]] }} }}{{#ifeq: {{{GerA}}} | - | | {{#if: {{{Ger|}}} | [[de:{{{GerA|{{{Ger}}}}}}]] }} }}</nowiki>
With this, the template sets the interwiki links to the italien and the german wiki automatically.
The "ItA" and "GerA" is needed, when the name under the "Italien" or "German" section of this template is different from the actual name of the article in the italien or german wiki. For example: The name of the Super Mario World tv series is simply "Super Mario World" so:
|Ger=Super Mario World
But the actual name of the article to this tv series in the german wiki is "Super Mario World (TV-Serie)" so:
|GerA=Super Mario World (TV-Serie)
The template shows "Super Mario World" but sets a interwiki link to the actual article "Super Mario World (TV-Serie)"
The only problem is that the code doesn't support multiple names under the "Italien" and "German" section. What do you think?
Sincerly, [[User:DarkLuigi|DarkLuigi]] ([[User talk:DarkLuigi|talk]]) 06:45, 30 June 2013 (EDT)
203

edits