Difference between revisions of "Module:SandboxShortCode"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
function p.greek_letter() | function p.greek_letter() | ||
cf = mw.getCurrentFrame() | cf = mw.getCurrentFrame() | ||
-- aString = "< | -- aString = "<h1>\\" .. mw.allToString(cf.args[1]) .. "</h1>" | ||
str = mw.getCurrentFrame().args[1] | str = mw.getCurrentFrame().args[1] | ||
aString = cf:preprocess("<math>\\"..str.."</math>") | aString = cf:preprocess("<math>\\"..str.."</math>") | ||
return aString | return aString | ||
end | end |
Revision as of 06:51, 11 January 2022
Documentation for this module may be created at Module:SandboxShortCode/doc