Module:T-Process: Difference between revisions

// via Wikitext Extension for VSCode
Tag: Reverted
// via Wikitext Extension for VSCode
 
(One intermediate revision by the same user not shown)
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 then
     if ElementNavigation and ElementNavigation.elementName then
         ElementNavigation.addToTemplate(template, errorContext, {
         Blueprint.registerElement(ElementNavigation.elementName, ElementNavigation)
Blueprint.addElementToTemplate(template, 'navigation')
        template.config.navigation = {
             prevLabel = "← %s",
             prevLabel = "← %s",
             nextLabel = "%s →",
             nextLabel = "%s →",
             prevClass = "process-nav-prev",
             classPrefix = "process"
            nextClass = "process-nav-next"
         }
         })
     end
     end
end
end