Module:ExchangeData: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "-- <pre> -- Implements {{ExcgData}} -- local p = {} -- required modules local excg = require( 'Module:Exchange' ) -- -- @param args {table} -- @param baseExcgPage {boolean} Shouldn't be used by any method here, -- only used by Module:ExchangeDefault -- function p._main( args, baseExcgPage ) -- prefer args[1] but that'll break on exchange /data pages due to the data being the first positional arg -- @todo change the order of th...")
 
No edit summary
Tag: Reverted
Line 14:
--
function p._main( args, baseExcgPage )
-- prefer args[1] but that'll break on exchange /data mw.pages due to the data being the first positional arg
-- @todo change the order of these when data is removed fom there
local item = args.name or args[1]
Line 38:
end
 
-- some extra formatting for non exchange mw.pages
local div3 = div2:tag('div'):addClass('GEdatachart')
if baseExcgPage then
Line 197:
--
-- A stripped down version of ExcgData
-- Intended for more general usage and avoiding stuff specific to Exchange /Data mw.pages
--
function p.data( frame )

Navigation menu