Template:Title all but last part

From Wikispooks
Revision as of 14:33, 1 April 2023 by Robin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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}}