Module:Extracted: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
function p.extracted(frame) | function p.extracted(frame) | ||
return frame.args[1] | if frame.args['start'] then | ||
return frame.args['start'] | |||
end | |||
if frame.args['end'] then | |||
return frame.args['end'] | |||
end | |||
return '[[' .. frame.args[1] .. '|1px]]' | |||
end | end | ||
return p | return p |