« Modèle:Translatable/en » : différence entre les versions
Updating to match new version of source page |
Updating to match new version of source page |
||
Ligne 1 : | Ligne 1 : | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages /> | ||
</noinclude>{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}| | </noinclude>{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}| | ||
|{{{1|{{FULLPAGENAME}}}}} | |{{{1|{{FULLPAGENAME}}}}} | ||
Ligne 16 : | Ligne 16 : | ||
* {{tlx|translatable|2=Page name}} | * {{tlx|translatable|2=Page name}} | ||
{{translatable|1=Page name}} | {{translatable|1=Page name}} | ||
* {{tlx|translatable|2=Page name/{{#ifeq:{{ | * {{tlx|translatable|2=Page name/{{#ifeq:{{PAGELANGUAGE}}|en|<!--then-->ja|<!--else-->{{PAGELANGUAGE}} }} }} | ||
{{translatable|1=Page name/{{#ifeq:{{ | {{translatable|1=Page name/{{#ifeq:{{PAGELANGUAGE}}|en|ja|{{PAGELANGUAGE}} }} }} | ||
}} | }} |
Version du 30 janvier 2022 à 18:25
<languages /> {{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Modèle:Translatable/en||-1}}|en
|en }}
|en }}| |Modèle:Translatable/en |Modèle:Translatable/en
}}
Examples
{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Modèle:Translatable/en||-1}}|en
|en }}
|en }}| |Modèle:Translatable/en |Modèle:Translatable/en
}}
{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Page name||-1}}|en
| }}
| }}| |Page name |Page name
}}
{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Page name/{{#ifeq:fr|en|ja|fr }}||-1}}|en
| }}
| }}| |Page name/{{#ifeq:fr|en|ja|fr }} |Page name/{{#ifeq:fr|en|ja|fr }}
}}
{{#if:Modèle:Lua
Examples
{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Modèle:Translatable/en||-1}}|en
|en }}
|en }}| |Modèle:Translatable/en |Modèle:Translatable/en
}}
{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Page name||-1}}|en
| }}
| }}| |Page name |Page name
}}
{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Page name/{{#ifeq:fr|en|ja|fr }}||-1}}|en
| }}
| }}| |Page name/{{#ifeq:fr|en|ja|fr }} |Page name/{{#ifeq:fr|en|ja|fr }}
}}| [[Category:Template documentation pages{{#translation:}}]] }}
[[Category:Internationalization templates{{#translation:}}]]