Revision history of "Module:Tabber"

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 22:54, 15 February 2022Soulgazer talk contribs 823 bytes +823 Created page with "local p = {} -- Access point for other modules -- argument format: {{"tab 1 label", "tab 1 content"}, {"tab 2 label", "tab 2 content"}, {"etc", "..."}} function p.tabber(tabs) preprocess = preprocess == nil and true or preprocess -- if no preprocess defined, set to true local tabber = "" for i, tab in ipairs(tabs) do if i > 1 then tabber = tabber .. "\n|-|\n" end tabber = tabber .. mw.text.trim(tab[1]) .. ' = ' .. tab[2] end return mw.getCurrentFrame():cal..."