Module:Accordion: 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.

3 August 2023

  • curprev 16:5416:54, 3 August 2023Admin coral island talk contribs 2,890 bytes +2,890 Created page with "local getArgs = require('Dev:Arguments').getArgs local p = {} function p.main(frame) local args = getArgs(frame) local types = { text = 'text', links = 'links', } local hasTypeMismatch = false local accordionsType = types[args.type] or 'text' local wrapper = mw.html.create('div'):addClass('accordions__wrapper'):attr({ ['data-accordions-type'] = accordionsType, ['data-animation-duration'] = tonumber(args['animation-d..."