Module:Test: Revision history

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump 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.

24 July 2024

  • curprev 14:2814:28, 24 July 2024Lakelimbo talk contribs 2,146 bytes +2,146 Created page with "--This is just a module for showcase! It doesn't do anything useful. local p = {} function p.divisor(frame) -- need to convert dividend to a number because technically -- all forms of wikitext are strings -- also, this "or" here is a fallback value local dividend = tonumber(frame.args[1]) or 1 local list = mw.html.create("div") if dividend == 0 then list:tag("p"):wikitext("0 has no divisors!") else list :tag("p"):wikitext("..."