Module:Navbar: Difference between revisions
m Add one more to the fractional octave box in either direction so that it can bridge the gap of 3 red links between the 37th and 41st octave pages (and probably other gaps that will emerge higher up in future as more pages are made) |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 7: | Line 7: | ||
text = (text == nil and "" or text .. " ") | text = (text == nil and "" or text .. " ") | ||
namespace = namespace or "Template" | namespace = namespace or "Template" | ||
local p_name = namespace .. ":" .. name | |||
local p_talk_name = namespace .. " talk:" .. name | |||
return "<span style=\"font-size: 0.8em;\">" | return "<span style=\"font-size: 0.8em;\">" | ||
.. text | .. text | ||
.. ((mode == "mini") | .. ((mode == "mini") | ||
and "[[" .. | and "[[" .. p_name .. "|V]] • " .. "[[" .. p_talk_name .. "|T]] • " .. "[[Special:EditPage/" .. p_name .. "|E]]" | ||
or "[[" .. | or "[[" .. p_name .. "|View]] • " .. "[[" .. p_talk_name .. "|Talk]] • " .. "[[Special:EditPage/" .. p_name .. "|Edit]]") | ||
.. "</span>" | .. "</span>" | ||
end | end |