Template:NameWithoutLngSuffix

From Lazarus wiki
Jump to navigationJump to search

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