Module:Card/Set

local cardset = {}

-- Libraries of functions --

-- stands for High Frequency local HF = require('Module:HF') -- Parses invocation and template parameters, trims whitespace, and removes blanks. local getArgs = require('Dev:Arguments').getArgs

- -- Internal functions (used in this and other Modules) -- - -- Create an envelope for existing tables function _cardset_envelope (inv_args) local envelope = mw.html.create('div') :addClass('mw-collapsible'):addClass('mw-collapsed') :attr('data-expandtext','Show'):attr('data-collapsetext','Hide') :wikitext(inv_args[1]):allDone return tostring(envelope) end

-- If card set content passed is only data, build a table around it function _cardset_table end

-- Build table rows for _cardset_table function _cardset_row end

- -- Output (send it back to whatever called it) -- - return cardset