Template:String: Difference between revisions
Jump to navigation
Jump to search
m (Removed functionality that is no longer needed) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{{{{{>{{{force|{{intlang}}}}}}}}|{{{{{{force|{{intlang}}}}}|{{{{{{default|}}}|{{{en|}}}}}}}}}}}}</onlyinclude></includeonly> | <includeonly><onlyinclude>{{#ifeq:{{{id|}}}|{{{id}}}|<span id="{{anchorencode:{{#if:{{{id|}}}|{{{id}}}|{{{{{{default|}}}|{{{en|}}}}}}}}}}"></span>}}{{{{{{>{{{force|{{intlang}}}}}}}}|{{{{{{force|{{intlang}}}}}|{{{{{{default|}}}|{{{en|}}}}}}}}}}}}</onlyinclude></includeonly> | ||
Alternative version of {{Tl|Autolang}} template. | Alternative version of {{Tl|Autolang}} template. | ||
{{CodeBlock|src=Example|lines=10|<nowiki>{{String | {{CodeBlock|src=Example|lines=10|<nowiki>{{String | ||
| id = // id which will be placed before the string. Useful for headers. if this parameter is left blank, the "default" or "en" value will be used. | |||
| default = es // Allows you to specify which translation is the main one. By default it is equal to "en". | | default = es // Allows you to specify which translation is the main one. By default it is equal to "en". | ||
| force = ru // Causes a string to be loaded in a specific language (if it is translated into it). This parameter is mainly for testing purposes. | | force = ru // Causes a string to be loaded in a specific language (if it is translated into it). This parameter is mainly for testing purposes. |
Revision as of 10:47, 21 June 2024
Alternative version of {{Autolang}}
template.