Module:DemoTemplate: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(handle = signs in parameters) |
(use string.format at the end) |
||
Line 23: | Line 23: | ||
end |
end |
||
print('}}') |
print('}}') |
||
return '<code> |
return string.format('<code>%s</code> → %s', mw.text.nowiki(getBuffer()), frame:expandTemplate{title = title, args = frame.args}) |
||
end |
end |
||
end |
end |