Difference between revisions of "Template:Translatable"
prepare for translation
>DannyS712 m (Changed protection level for "Template:Translatable": Fully protected via cascading protection, autoconfirmed protection is misleading ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
>Shirayuki (prepare for translation) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}| | <noinclude> | ||
<languages/> | |||
</noinclude>{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}| | |||
|{{{1|{{FULLPAGENAME}}}}} | |{{{1|{{FULLPAGENAME}}}}} | ||
|{{#invoke:String|sub|{{{1|{{FULLPAGENAME}}}}} | |{{#invoke:String|sub|{{{1|{{FULLPAGENAME}}}}} | ||
Line 6: | Line 8: | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
{{ | {{Documentation|content= | ||
<translate> | |||
== Examples == | == Examples == | ||
</translate> | |||
* | * {{tlx|translatable}} | ||
{{translatable}} | {{translatable}} | ||
* | * {{tlx|translatable|2=<translate>Page name</translate>}} | ||
{{translatable|Page name}} | {{translatable|1=<translate>Page name</translate>}} | ||
* | * {{tlx|translatable|2=<translate>Page name</translate>/{{#ifeq:{{pagelang2}}|en|<!--then-->ja|<!--else-->{{pagelang2}} }} }} | ||
{{translatable|Page name/ja}} | {{translatable|1=<translate>Page name</translate>/{{#ifeq:{{pagelang2}}|en|ja|{{pagelang2}} }} }} | ||
}} | }} |