Module:MainPageSkin

From IxWiki
Revision as of 14:04, 1 August 2024 by Heku (talk | contribs) (Created page with "local p = {} function p.getSkin(frame) local skin = frame.args[1] or mw.user.options.get('skin') if skin == 'citizen' then return 'citizen' else return 'vector' end end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:MainPageSkin/doc

local p = {}

function p.getSkin(frame)
  local skin = frame.args[1] or mw.user.options.get('skin')
  
  if skin == 'citizen' then
    return 'citizen'
  else
    return 'vector'
  end
end

return p