Template:NameWithoutLngSuffix

From Lazarus wiki

Parameter:
name for processing

Output:
if suffix presented and recognized as suffix for language then returns name without suffix and preceding slash
else - unchanged name

Note:
parameter may contain up to 8 slashes