Civilization Wiki
Advertisement
Civilization Wiki

CleanPageName

(view | edit | purge | history)

Template documentation (the template shown above may sometimes be hidden or invisible)

Uses the CleanPageName function from Module:TemplateUtils to return the current page name without the suffix that is in parenthesis. For example, if you placed this template into the Iron Working (Civ2) page, it would return just "Iron Working".

Uses #titleparts template to fix problems with apostrophes in the page name. For reference, see


The template is currently bugged - it is working incorrectly for pages that have more than 1 pair of parentheses in the page name.

Example:


Advertisement