Module:Bullet and AE
Jump to navigation
Jump to search
This page uses material from the Wikipedia page Module:Bullet and AE, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors). |
local p = {}
function p.bul( frame )
setted = frame.args[1]
if setted == "big" then return "<span style=\"font-size:160%\">•</span>"
elseif setted == "small" then return "∙"
elseif setted == "triangle" then return "‣"
elseif setted == "hollow" then return "◦"
elseif setted == "target" then return "⦿"
elseif setted == "targethollow" then return "⦾"
elseif setted == "middot" then return "·"
else return "•"
end
end
function p.ae( frame )
local ae = frame.args[1]
if ae == "macron" then return "Ǣ"
elseif ae == "acute" then return "Ǽ"
elseif ae == "superscript" then return "ᴭ"
elseif ae == "small" then return "æ"
elseif ae == "smallmacron" then return "ǣ"
elseif ae == "smallacute" then return "ǽ"
elseif ae == "smallsuperscript" then return "<sup><small>æ</small></sup>"
elseif ae == "firstcapital" then return "<span style=\"letter-spacing: {{{3|-3}}}px\">Ae</span> "
elseif ae == "lastcapital" then return "<span style=\"letter-spacing: {{{3|-3}}}px\">aE</span> "
else return "Æ"
end
end
return p