Module:T-Process: Difference between revisions

// via Wikitext Extension for VSCode
// via Wikitext Extension for VSCode
Line 61: Line 61:


-- ELEMENT:NAVIGATION
-- ELEMENT:NAVIGATION
local ElementNavigation = require('Module:ElementNavigation')
if template.features.navigation then
if ElementNavigation and ElementNavigation.elementName then
    local ElementNavigation = require('Module:ElementNavigation')
    Blueprint.registerElement(ElementNavigation.elementName, ElementNavigation)
    if ElementNavigation and ElementNavigation.elementName then
    Blueprint.addElementToTemplate(template, 'navigation', 4)
        Blueprint.registerElement(ElementNavigation.elementName, ElementNavigation)
    template.config.navigation = {
        Blueprint.addElementToTemplate(template, 'navigation', 4)
        prevLabel = "← %s",
        template.config.navigation = {
        nextLabel = "%s →",
            prevLabel = "← %s",
        prevClass = "process-nav-prev",
            nextLabel = "%s →",
        nextClass = "process-nav-next"
            prevClass = "process-nav-prev",
     }
            nextClass = "process-nav-next"
        }
     end
end
end