Difference between revisions of "Template:Translatable"

Jump to navigation Jump to search
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>
{{ {{TNTN|Documentation}} |content=
{{Documentation|content=


<translate>
== Examples ==
== Examples ==
 
</translate>
* <code><nowiki>{{translatable}}</nowiki></code>
* {{tlx|translatable}}
{{translatable}}
{{translatable}}
* <code><nowiki>{{translatable|Page name}}</nowiki></code>
* {{tlx|translatable|2=<translate>Page name</translate>}}
{{translatable|Page name}}
{{translatable|1=<translate>Page name</translate>}}
* <code><nowiki>{{translatable|Page name/ja}}</nowiki></code>
* {{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}} }} }}


}}
}}
Anonymous user

Navigation menu