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') | ||
if ElementNavigation and ElementNavigation.elementName then | |||
Blueprint.registerElement(ElementNavigation.elementName, ElementNavigation) | |||
Blueprint.addElementToTemplate(template, 'navigation', 4) | |||
template.config.navigation = { | |||
prevLabel = "← %s", | |||
nextLabel = "%s →", | |||
prevClass = "process-nav-prev", | |||
nextClass = "process-nav-next" | |||
} | |||
end | |||
end | end | ||