Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 05:27, 9 March 2025 by VivaRomania (talk | contribs) (Making the translation link idea less stupid. I forgot that the 2nd param would be absolutely required to provide a translated string, and made the idiot choice to make it optional.)

Welcome to my Sandbox where I work on random stuff. If you think any of these are good enough to use, feel free to take the code and turn them into an actual templates and put them into use.

Translators get to deal with a slight pain in the ass when creating links to other articles, as they have to give every link a custom name and add in the language code to the link. As an example:

[[Weapons/fr|Weapons]]

I imagine that can get tiring after a while. My proposal is as follows. This code has been tested and is perfectly functional:

[[{{{1}}}/{{PAGELANGUAGE}}|{{{2}}}]]

To keep the template name short, Template:t could be used. I initially wanted to use Template:tl for this, but theres already a stock template under that name. Usage would be:

{{t|Weapons|Оружие}}