Template talk:Translation

From Puella Magi Wiki
Jump to navigation Jump to search

If anyone is a coding wizard, please redesign this template so that it looks nicer! --Fallacies 03:11, 28 January 2011 (CST)

Do you mind if I rename this to {{Translation}} instead? I think Template:Card was originally intended for witch cards, but its use is pretty mixed currently. For styling, what do you think if we hide original Japanese text by default and make it expandable only when needed? --0x99 04:06, 28 January 2011 (CST)
I think renaming it or hiding the Japanese and so forth is perfectly fine. --Fallacies 12:02, 28 January 2011 (CST)

German?

This template is being used in a number of places with German instead of Japanese. Unfortunately I don't know how to edit the template to add a new option. Oatmeal 01:59, 3 February 2011 (CST)

I'm not much of a coder, but managed to figure it out. Any tables where German is erroneously labelled Japanese will have to be changed manually. I got the one on Gertrud's page but I'm not aware of any others. Yil 02:45, 3 February 2011 (CST)
What if we change the parameter to original and translation instead? --0x99 03:46, 3 February 2011 (CST)
That would work but I think it's fine like this. Changing it would mean all examples of these tables will be broken until they are edited to use the new parameter, unless you keep the |japanese= and |german= perameters and just change their labels to "Original", which would be a bit cludgy. It would be nice if a list of all pages where x template is referenced were available. Yil 05:14, 3 February 2011 (CST)
I'm not sure if MediaWiki supports fallback to another variable (not sure if something e.g. {{{german}}} will work) but I'll check. You can list all pages that is using this template in Special:WhatLinksHere/Template:Translation, or the "What links here" link in the sidebar on each page. --0x99 06:31, 3 February 2011 (CST)
Amusingly, it looks like this template was set up for the Glossary page, which is using a different one and this has been adopted for random translations instead. Yil 05:14, 3 February 2011 (CST)
Well, I plan to change Template:Card to use for overlaying text over a witch card, so another template is needed for random translation and this one seems to be the most suitable. one ;) --0x99 06:31, 3 February 2011 (CST)