Difference between revisions of "Template:Translatable"
Jump to navigation
Jump to search
>Shirayuki (Created page with "{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}| |{{FULLPAGENAME}} |{{#invoke:String|sub|{{{1|{{FULLPAGENAME}}}}} |1 |{{#expr:{{#invoke:String|len |{{{1|{{FULLPAGENAME}}...") |
>Shirayuki |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}| | <noinclude> | ||
|{{FULLPAGENAME}} | <languages/> | ||
</noinclude>{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}| | |||
|{{{1|{{FULLPAGENAME}}}}} | |||
|{{#invoke:String|sub|{{{1|{{FULLPAGENAME}}}}} | |{{#invoke:String|sub|{{{1|{{FULLPAGENAME}}}}} | ||
|1 | |1 | ||
|{{#expr:{{#invoke:String|len | |{{#expr:{{#invoke:String|len|{{{1|{{FULLPAGENAME}}}}}}}-{{#invoke:String|len|{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}}}-1}} | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
{{ {{ | {{Documentation|content= | ||
{{Lua|Module:String}} | |||
== Examples == | <translate> | ||
== Examples == <!--T:1--> | |||
</translate> | |||
* {{tlx|translatable}} | |||
{{translatable}} | {{translatable}} | ||
* < | * {{tlx|translatable|2=<translate><!--T:2--> Page name</translate>}} | ||
{{translatable|Page name}} | {{translatable|1=<translate><!--T:3--> Page name</translate>}} | ||
* < | * {{tlx|translatable|2=<translate><!--T:4--> Page name</translate>/{{#ifeq:{{pagelang2}}|en|<!--then-->ja|<!--else-->{{pagelang2}} }} }} | ||
{{translatable|Page name/ja}} | {{translatable|1=<translate><!--T:5--> Page name</translate>/{{#ifeq:{{pagelang2}}|en|ja|{{pagelang2}} }} }} | ||
}} | }} | ||
[[Category:Internationalization templates{{translation}}]] | [[Category:Internationalization templates{{#translation:}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:33, 26 May 2021
<languages/> Template:Translatable Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.[[Category:Template documentation pages{{#translation:}}]]
[[Category:Internationalization templates{{#translation:}}]]