Module:Navbar: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 11: | Line 11: | ||
local p_talk_name = string.format("%s talk:%s", namespace, name) | local p_talk_name = string.format("%s talk:%s", namespace, name) | ||
local p_edit_name = "special:editpage/" .. p_name | local p_edit_name = "special:editpage/" .. p_name | ||
local s | local s = " • " | ||
return "<span style=\"font-size: 0.75em; font-weight: normal; font-style: normal;\">" | return "<span style=\"font-size: 0.75em; font-weight: normal; font-style: normal;\">" | ||
.. text | .. text | ||
.. string.format | .. string.format(mode == "mini" and "[[%s|V]]%s[[%s|T]]%s[[%s|E]]" or "[[%s|View]]%s[[%s|Talk]]%s[[%s|Edit]]", | ||
p_name, s, p_talk_name, s, p_edit_name) | p_name, s, p_talk_name, s, p_edit_name) | ||
.. "</span>" | .. "</span>" |