Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Tales from Chyria
Search
Editing
Module talk:Arguments
(section)
From Tales from Chyria
Namespaces
Module
Discussion
More
More
Page actions
Read
Edit source
New topic
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Implement i18n == Should this module implement [[Internationalization and localization|i18n]]? Eg. by allowing a second parameter (boolean), which will make it try to load a name-map from a sub-module. Eg. Bananas could use args = getArgs(frame, true)['firstname'] and Bananas/i18n_de could contain return { vorname = 'firstname' } (I admit a mapping in the opposit direction is more intuitive, but this allows multiple parameternames to be mapped to the same lua-parameter.) [[User:Poul G|Poul G]] ([[User talk:Poul G|talk]]) 09:40, 1 November 2014 (UTC) : The danger with this idea is that it makes it more difficult to use the module in different languages, unless everyone uses the canonical name anyway. For example, "Spezial:Beobachtungsliste" works if you go to [[:de:Spezial:Beobachtungsliste|dewiki]] but doesn't [[Spezial:Beobachtungsliste|here]] or most other-language wikis, while "Special:Watchlist" will work everywhere. [[User:Anomie|Anomie]][[User talk:Anomie|โ]] 14:38, 1 November 2014 (UTC) :: [[wikt:WTF|WhyTF]] do we have a soft-redirect at [[Spezial:Beobachtungsliste]]? [[User:Anomie|Anomie]][[User talk:Anomie|โ]] 14:45, 1 November 2014 (UTC) :Well, our user-editors in non-english languages should have access to templates in their native language. But at the same time it would be a great advantage to share the logic in the Lua-modules. Which implies that a translation is needed; it could be in the template <code><nowiki>{{#Person:name|firstname={{{vorname|}}}|...}}</nowiki></code> or be hidden in i18n within the modules configuration. (Maybe it was a mistake to open this on the site, where translation isn't needed.) [[User:Poul G|Poul G]] ([[User talk:Poul G|talk]]) 12:45, 3 November 2014 (UTC) Is it possible this module to handle named parameters with Unicode names like: <pre>{{my_template | unnamed_1 | ะฟะฐัะฐะผะตััั = 123 | named_2 = ... etc.}}</pre>--[[User:Pl71|Pl71]] ([[User talk:Pl71|talk]]) 15:32, 24 February 2016 (UTC)
Summary:
Please note that all contributions to Tales from Chyria may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Chyria Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Wiki tools
Wiki tools
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs