Template:Pagename2en
Jump to navigation
Jump to search
Documentation The documentation below is transcluded from Template:Pagename2en/doc. (edit | history)
[purge]
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 (Template:Pagename2en/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}}.