Template:Pagename2en/doc

This template translates a page name to its English name, i.e. in the reverse direction of tr. It is solely used by tempaltes, 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 (, e.g. Template:Pagename2en/db-fr for French).

When used on this wiki on a page that is not a translation subpage, it will simply return the page name.

Usage
Name of the page to translate. Defaults to.
 * Unnamed parameter 1

Language of operation, defaults to lang.
 * lang

Examples
de:Template:Pagename2en fr:Template:Pagename2en pl:Template:Pagename2en