Difference between revisions of "Template:Translatable"
From Game Detectives Wiki
[unchecked revision] | [unchecked revision] |
(Created page with "{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}| |{{FULLPAGENAME}} |{{#invoke:String|sub|{{{1|{{FULLPAGENAME}}}}} |1 |{{#expr:{{#invoke:String|len |{{{1|{{FULLPAGENAME}}...") |
m (6 revisions imported) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}| | {{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}| | ||
− | |{{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> | ||
Line 21: | Line 19: | ||
}} | }} | ||
− | [[Category:Internationalization templates{{translation}}]] | + | [[Category:Internationalization templates{{#translation:}}]] |
</noinclude> | </noinclude> |
Latest revision as of 02:45, 18 May 2018
Template:Translatable
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation
Examples
-
{{translatable}}
Template:Translatable
-
{{translatable|Page name}}
Page name
-
{{translatable|Page name/ja}}
Page name
[[Category:Internationalization templates{{#translation:}}]]