Difference between revisions of "User talk:Thecoshman"
(→Sorry about that translation.I did it accidentally.: new section) |
|||
Line 7: | Line 7: | ||
:Where you suggest that I put 'SUBPAGENAME' is that a variable that indicated what language to use, or is it something that stays constant? I do want to help support multi-language, but at the same time, I am sure you can appreciate that English is the dominate language that will get priority. [[User:Thecoshman|Thecoshman]] ([[User talk:Thecoshman|talk]]) 15:38, 30 September 2012 (UTC) | :Where you suggest that I put 'SUBPAGENAME' is that a variable that indicated what language to use, or is it something that stays constant? I do want to help support multi-language, but at the same time, I am sure you can appreciate that English is the dominate language that will get priority. [[User:Thecoshman|Thecoshman]] ([[User talk:Thecoshman|talk]]) 15:38, 30 September 2012 (UTC) | ||
::I've fixed one[http://kspwiki.nexisonline.net/w/index.php?title=Parts%2FCommand_%26_Control&diff=4851&oldid=4614]. I learned about ''switch'' structure in this [[Template:Languages/Title]]. You can try to make support page in English, it would be great. I think some documentation [http://www.mediawiki.org/wiki/Template:Documentation] template should be done to include in every multi language page for preventing breaking that templates by other users. | ::I've fixed one[http://kspwiki.nexisonline.net/w/index.php?title=Parts%2FCommand_%26_Control&diff=4851&oldid=4614]. I learned about ''switch'' structure in this [[Template:Languages/Title]]. You can try to make support page in English, it would be great. I think some documentation [http://www.mediawiki.org/wiki/Template:Documentation] template should be done to include in every multi language page for preventing breaking that templates by other users. | ||
+ | |||
+ | == Sorry about that translation.I did it accidentally. == | ||
+ | |||
+ | By the way I'm making a russian wiki http://ksp-wiki.ru. You don't mind if I'll use information from this wiki? |
Revision as of 12:08, 5 October 2012
Why have you made subtemplates for Parts? Even if it would be better for some reason, you made it wrong, now multilanguage don`t work.
I don't have time now to fix it, but you should send information about language to structures {{#switch:{{{1}}} in template.
Template {{Template:SUBPAGENAME}} get Suffix "ru" from Russian pages and sends it to template, where structure {{#switch:{{{1}}} uses it to choose Russian version of word.
You should type not {{Template:Stats Table SAS}}, but {{Template:Stats Table SAS|{{Template:SUBPAGENAME}}}}. You should do it that way for all multilanguage templates.
Please fix it all. I hope my English is good enough for you to understand me. --Varden (talk) 00:21, 30 September 2012 (UTC)
- The reason I made the sub-templates is so they can be reused in many locations. The work you had done had tied the tables together, so something like a table for RCS thrusters can not be used in isolation from the rest of the command and control. I will try to understand how to make it so that these sub-templates can be used with multi language, but if you could perhaps do the first one, so I can see how it should be used, and of course I will not be able to provide the actual translations.
- Where you suggest that I put 'SUBPAGENAME' is that a variable that indicated what language to use, or is it something that stays constant? I do want to help support multi-language, but at the same time, I am sure you can appreciate that English is the dominate language that will get priority. Thecoshman (talk) 15:38, 30 September 2012 (UTC)
- I've fixed one[1]. I learned about switch structure in this Template:Languages/Title. You can try to make support page in English, it would be great. I think some documentation [2] template should be done to include in every multi language page for preventing breaking that templates by other users.
Sorry about that translation.I did it accidentally.
By the way I'm making a russian wiki http://ksp-wiki.ru. You don't mind if I'll use information from this wiki?