Module:Sandbox/Dat Hack3r: Difference between revisions
Appearance
Dat Hack3r (talk | contribs) m Implemented variable types correctly. |
Dat Hack3r (talk | contribs) "Prepad" and "postpad" should go inside the list. |
||
Line 30: | Line 30: | ||
end | end | ||
end | end | ||
navlist[1] = prepad..navlist[1] | |||
navlist[-1] = navlist[-1]..postpad | |||
local templatestyles = mw.getCurrentFrame():extensionTag{ | local templatestyles = mw.getCurrentFrame():extensionTag{ | ||
Line 35: | Line 37: | ||
args = {src = 'Module:Series navigation/styles.css'} | args = {src = 'Module:Series navigation/styles.css'} | ||
} | } | ||
return templatestyles..'<div class="toccolours seriesNavigation" role="navigation" aria-label="Range">' | return templatestyles..'<div class="toccolours seriesNavigation" role="navigation" aria-label="Range">'..horizontal(navlist)..'</div>' | ||
end | end | ||