Difference between revisions of "User talk:Thecoshman"
From Kerbal Space Program Wiki
(Created page with "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.<br /> I don't have time now to fix i...") |
Thecoshman (talk | contribs) |
||
Line 4: | Line 4: | ||
You should type not <nowiki>{{Template:Stats Table SAS}}</nowiki>, but <nowiki>{{Template:Stats Table SAS|{{Template:SUBPAGENAME}}}}</nowiki>. You should do it that way for all multilanguage templates. | You should type not <nowiki>{{Template:Stats Table SAS}}</nowiki>, but <nowiki>{{Template:Stats Table SAS|{{Template:SUBPAGENAME}}}}</nowiki>. 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. --[[User:Varden|Varden]] ([[User talk:Varden|talk]]) 00:21, 30 September 2012 (UTC) | Please fix it all. I hope my English is good enough for you to understand me. --[[User:Varden|Varden]] ([[User talk: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. [[User:Thecoshman|Thecoshman]] ([[User talk:Thecoshman|talk]]) 15:38, 30 September 2012 (UTC) |
Revision as of 15:38, 30 September 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)