More actions
starcitizentools>Alistair3149 Sync with upstream |
m 1 revision imported |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- Format link | -- Format link | ||
Line 74: | Line 72: | ||
section = postHash | section = postHash | ||
end | end | ||
return { | return { | ||
link = link, | link = link, | ||
Line 101: | Line 99: | ||
mError = require('Module:Error') | mError = require('Module:Error') | ||
return mError.error{message = | return mError.error{message = | ||
'Error: | 'Error: no link or target specified! ([[' .. target .. '#Errors|help]])' | ||
} | } | ||
end | end | ||
Line 177: | Line 175: | ||
end | end | ||
end | end | ||
-- Format the result as a link | -- Format the result as a link | ||
if parsed.link == display then | if parsed.link == display then |