Module:Tabber: Revision history

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.

4 May 2024

  • curprev 12:3812:38, 4 May 2024Hefner talk contribs 817 bytes +817 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 .. "|-|" end tabber = tabber .. mw.text.trim(tab[1]) .. '=' .. tab[2] end return mw.getCurrentFrame():callParse..."