Template:If language suffix/doc

Gets the language suffix from the pagename, with a  in front. Returns an empty string for no language suffix (English pages). See Template:Get language code for removing the  in front and getting "en" pages without a language suffix.

Example 1: Page the template is on: "Infobox:Accumulator" -> gives "".

Example 2: Page the template is on: "Accumulator/de" -> gives "/de".

Example 3: Page the template is on: "Infobox:Accumulator/de" -> gives "/de".