Template:Translatable: Difference between revisions

From Project: Redcap
m (1 revision imported: Updating the languages template to see if it fixes the language support)
MediaWiki>Shirayuki
m (simplify)
Line 1: Line 1:
<noinclude>
<noinclude>
<languages/>
<languages />
</noinclude>{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}|
</noinclude>{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}|
|{{{1|{{FULLPAGENAME}}}}}
|{{{1|{{FULLPAGENAME}}}}}
Line 18: Line 18:
* {{tlx|translatable|2=<translate><!--T:2--> Page name</translate>}}
* {{tlx|translatable|2=<translate><!--T:2--> Page name</translate>}}
{{translatable|1=<translate><!--T:3--> Page name</translate>}}
{{translatable|1=<translate><!--T:3--> Page name</translate>}}
* {{tlx|translatable|2=<translate><!--T:4--> Page name</translate>/{{#ifeq:{{pagelang2}}|en|<!--then-->ja|<!--else-->{{pagelang2}} }} }}
* {{tlx|translatable|2=<translate><!--T:4--> Page name</translate>/{{PAGELANGUAGE}} }}
{{translatable|1=<translate><!--T:5--> Page name</translate>/{{#ifeq:{{pagelang2}}|en|ja|{{pagelang2}} }} }}
{{translatable|1=<translate><!--T:5--> Page name</translate>/{{PAGELANGUAGE}} }}
 
}}
}}


[[Category:Internationalization templates{{#translation:}}]]
[[Category:Internationalization templates{{#translation:}}]]
</noinclude>
</noinclude>

Revision as of 19:53, 6 May 2022

<languages /> Template:Translatable Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.[[Category:Template documentation pages{{#translation:}}]]

[[Category:Internationalization templates{{#translation:}}]]