Cross wiki template refactoring