Template:If lang

is a template that can output specified values based on whether a particular page is a language subpage or not.

Advanced
can be used in more advanced ways by specifying the English and non-English outputs.


 * will generate _de when used on Buildings/de.
 * This example is used in infobox templates to display item name images in the correct language.

Languages supported
recognises only the below language subpages (the same as ):