Modèle:Pagename2en
Aller à la navigation
Aller à la recherche
Documentation La documentation ci-dessous est transcluse de Modèle:Pagename2en/doc. (modifier | historique)
[purger]
This template translates a page name to its English name, i.e. in the reverse direction of {{tr}}. It is solely used by templates, such as {{item infobox}}, and is not intended to be used in a stand-alone way.
If the page is a translation subpage, like Wood/it, it will simply return the base page name ("Wood", in this case). Otherwise, such as when used in language wikis, it will return the respective entry of the database (Module:Tr/db-<language code>
).
When used on this wiki on a page that is not a translation subpage, it will simply return the page name.
Usage
{{pagename2en | <page name> | lang = <target language> }}
- Unnamed parameter 1
Name of the page to translate. Defaults to {{PAGENAME}}
.
- lang
Language of operation, defaults to {{lang}}.
Examples
Code | Result |
---|---|
{{pagename2en|Pioche en fer}} |
Iron Pickaxe |