Module:T-Process: Difference between revisions

// via Wikitext Extension for VSCode
// via Wikitext Extension for VSCode
Tag: Reverted
Line 52: Line 52:
if template.features.navigation then
if template.features.navigation then
     local ElementNavigation = ErrorHandling.safeRequire(errorContext, 'Module:ElementNavigation', false)
     local ElementNavigation = ErrorHandling.safeRequire(errorContext, 'Module:ElementNavigation', false)
     if ElementNavigation and ElementNavigation.elementName then
     if ElementNavigation then
         Blueprint.registerElement(ElementNavigation.elementName, ElementNavigation)
         ElementNavigation.addToTemplate(template, errorContext, {
Blueprint.addElementToTemplate(template, 'navigation')
        template.config.navigation = {
             prevLabel = "← %s",
             prevLabel = "← %s",
             nextLabel = "%s →",
             nextLabel = "%s →",
             prevClass = "process-nav-prev",
             prevClass = "process-nav-prev",
             nextClass = "process-nav-next"
             nextClass = "process-nav-next"
         }
         })
     end
     end
end
end