Module:If Preview: Difference between revisions
imported>SunSeeker02 (Created page with "local p = {} local cfg = mw.loadData('Module:If preview/configuration') --main This function returns either the first argument or second argument passed to this module, depending on whether the page is being previewed. function p.main(frame) if cfg.preview then return frame.args[1] or '' else return frame.args[2] or '' end end --[[ pmain This function returns either the first argument or second argument passed to this module's parent (i.e. template usi...") |
imported>SunSeeker02 (Blanked the page) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Latest revision as of 02:15, 1 February 2022
Documentation for this module may be created at Module:If Preview/doc