Module:If: Revision history

From Little Tail Wiki
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.

6 February 2025

  • curprev 04:1404:14, 6 February 2025 Meguumin talk contribs 486 bytes +486 Created page with "local p = {} function p.main( frame ) local tArgs = frame:getParent() if not(tArgs.args[1]) then tArgs = frame end local sText = tArgs.args[1] local sTrueAction = tArgs.args[2] or tArgs.args["true"] local sFalseAction = tArgs.args[3] or tArgs.args["false"] if sText == "" then sText = mw.getCurrentFrame():preprocess(sFalseAction) else sText = mw.getCurrentFrame():preprocess(sTrueAction) end return sText e..."