Template:Title all but last part

From Wikispooks
Jump to navigation Jump to search

Returns the last part of the title of the page on which it is run. So on page 9-11/WTC7/Collapse/Censorship it returns "Censorship". The main purpose is to implement Template:MaybePrev and Template:MaybeNext.
Usage:
{{Title all but last part}}